commit
bf2ac9f113
@ -0,0 +1,6 @@ |
||||
<?php $TRANSLATIONS = array( |
||||
"Encryption" => "التشفير", |
||||
"Exclude the following file types from encryption" => "استبعد أنواع الملفات التالية من التشفير", |
||||
"None" => "لا شيء", |
||||
"Enable Encryption" => "تفعيل التشفير" |
||||
); |
@ -0,0 +1,37 @@ |
||||
<?php $TRANSLATIONS = array( |
||||
"Host" => "Host", |
||||
"You can omit the protocol, except you require SSL. Then start with ldaps://" => "Je kunt het protocol weglaten, tenzij je SSL vereist. Start in dat geval met ldaps://", |
||||
"Base DN" => "Basis DN", |
||||
"You can specify Base DN for users and groups in the Advanced tab" => "Je kunt het standaard DN voor gebruikers en groepen specificeren in het tab Geavanceerd.", |
||||
"User DN" => "Gebruikers DN", |
||||
"The DN of the client user with which the bind shall be done, e.g. uid=agent,dc=example,dc=com. For anonymous access, leave DN and Password empty." => "De DN van de client gebruiker waarmee de verbinding zal worden gemaakt, bijv. uid=agent,dc=example,dc=com. Voor anonieme toegang laat je het DN en het wachtwoord leeg.", |
||||
"Password" => "Wachtwoord", |
||||
"For anonymous access, leave DN and Password empty." => "Voor anonieme toegang, laat de DN en het wachtwoord leeg.", |
||||
"User Login Filter" => "Gebruikers Login Filter", |
||||
"Defines the filter to apply, when login is attempted. %%uid replaces the username in the login action." => "Definiëerd de toe te passen filter indien er geprobeerd wordt in te loggen. %%uid vervangt de gebruikersnaam in de login actie.", |
||||
"use %%uid placeholder, e.g. \"uid=%%uid\"" => "gebruik %%uid placeholder, bijv. \"uid=%%uid\"", |
||||
"User List Filter" => "Gebruikers Lijst Filter", |
||||
"Defines the filter to apply, when retrieving users." => "Definiëerd de toe te passen filter voor het ophalen van gebruikers.", |
||||
"without any placeholder, e.g. \"objectClass=person\"." => "zonder een placeholder, bijv. \"objectClass=person\"", |
||||
"Group Filter" => "Groep Filter", |
||||
"Defines the filter to apply, when retrieving groups." => "Definiëerd de toe te passen filter voor het ophalen van groepen.", |
||||
"without any placeholder, e.g. \"objectClass=posixGroup\"." => "zonder een placeholder, bijv. \"objectClass=posixGroup\"", |
||||
"Port" => "Poort", |
||||
"Base User Tree" => "Basis Gebruikers Structuur", |
||||
"Base Group Tree" => "Basis Groupen Structuur", |
||||
"Group-Member association" => "Groepslid associatie", |
||||
"Use TLS" => "Gebruik TLS", |
||||
"Do not use it for SSL connections, it will fail." => "Gebruik niet voor SSL connecties, deze mislukken.", |
||||
"Case insensitve LDAP server (Windows)" => "Niet-hoofdlettergevoelige LDAP server (Windows)", |
||||
"Turn off SSL certificate validation." => "Schakel SSL certificaat validatie uit.", |
||||
"If connection only works with this option, import the LDAP server's SSL certificate in your ownCloud server." => "Als de connectie alleen werkt met deze optie, importeer dan het LDAP server SSL certificaat naar je ownCloud server.", |
||||
"Not recommended, use for testing only." => "Niet aangeraden, gebruik alleen voor test doeleinden.", |
||||
"User Display Name Field" => "Gebruikers Schermnaam Veld", |
||||
"The LDAP attribute to use to generate the user`s ownCloud name." => "Het te gebruiken LDAP attribuut voor het genereren van de ownCloud naam voor de gebruikers.", |
||||
"Group Display Name Field" => "Groep Schermnaam Veld", |
||||
"The LDAP attribute to use to generate the groups`s ownCloud name." => "Het te gebruiken LDAP attribuut voor het genereren van de ownCloud naam voor de groepen.", |
||||
"in bytes" => "in bytes", |
||||
"in seconds. A change empties the cache." => "in seconden. Een verandering maakt de cache leeg.", |
||||
"Leave empty for user name (default). Otherwise, specify an LDAP/AD attribute." => "Laat leeg voor de gebruikersnaam (standaard). Of, specificeer een LDAP/AD attribuut.", |
||||
"Help" => "Help" |
||||
); |
@ -1,13 +1,37 @@ |
||||
<?php $TRANSLATIONS = array( |
||||
"Host" => "Máy chủ", |
||||
"You can omit the protocol, except you require SSL. Then start with ldaps://" => "Bạn có thể bỏ qua các giao thức, ngoại trừ SSL. Sau đó bắt đầu với ldaps://", |
||||
"Base DN" => "DN cơ bản", |
||||
"You can specify Base DN for users and groups in the Advanced tab" => "Bạn có thể chỉ định DN cơ bản cho người dùng và các nhóm trong tab Advanced", |
||||
"User DN" => "Người dùng DN", |
||||
"The DN of the client user with which the bind shall be done, e.g. uid=agent,dc=example,dc=com. For anonymous access, leave DN and Password empty." => "Các DN của người sử dụng đã được thực hiện, ví dụ như uid =agent , dc = example, dc = com. Để truy cập nặc danh ,DN và mật khẩu trống.", |
||||
"Password" => "Mật khẩu", |
||||
"For anonymous access, leave DN and Password empty." => "Cho phép truy cập nặc danh , DN và mật khẩu trống.", |
||||
"User Login Filter" => "Lọc người dùng đăng nhập", |
||||
"Defines the filter to apply, when login is attempted. %%uid replaces the username in the login action." => "Xác định các bộ lọc để áp dụng, khi đăng nhập . uid%% thay thế tên người dùng trong các lần đăng nhập.", |
||||
"use %%uid placeholder, e.g. \"uid=%%uid\"" => "use %%uid placeholder, e.g. \"uid=%%uid\"", |
||||
"User List Filter" => "Lọc danh sách thành viên", |
||||
"Defines the filter to apply, when retrieving users." => "Xác định các bộ lọc để áp dụng, khi người dụng sử dụng.", |
||||
"without any placeholder, e.g. \"objectClass=person\"." => "mà không giữ chỗ nào, ví dụ như \"objectClass = person\".", |
||||
"Group Filter" => "Bộ lọc nhóm", |
||||
"Defines the filter to apply, when retrieving groups." => "Xác định các bộ lọc để áp dụng, khi nhóm sử dụng.", |
||||
"without any placeholder, e.g. \"objectClass=posixGroup\"." => "mà không giữ chỗ nào, ví dụ như \"objectClass = osixGroup\".", |
||||
"Port" => "Cổng", |
||||
"Base User Tree" => "Cây người dùng cơ bản", |
||||
"Base Group Tree" => "Cây nhóm cơ bản", |
||||
"Group-Member association" => "Nhóm thành viên Cộng đồng", |
||||
"Use TLS" => "Sử dụng TLS", |
||||
"Do not use it for SSL connections, it will fail." => "Kết nối SSL bị lỗi. ", |
||||
"Case insensitve LDAP server (Windows)" => "Trường hợp insensitve LDAP máy chủ (Windows)", |
||||
"Turn off SSL certificate validation." => "Tắt xác thực chứng nhận SSL", |
||||
"If connection only works with this option, import the LDAP server's SSL certificate in your ownCloud server." => "Nếu kết nối chỉ hoạt động với tùy chọn này, vui lòng import LDAP certificate SSL trong máy chủ ownCloud của bạn.", |
||||
"Not recommended, use for testing only." => "Không khuyến khích, Chỉ sử dụng để thử nghiệm.", |
||||
"User Display Name Field" => "Hiển thị tên người sử dụng", |
||||
"The LDAP attribute to use to generate the user`s ownCloud name." => "Các thuộc tính LDAP sử dụng để tạo tên người dùng ownCloud.", |
||||
"Group Display Name Field" => "Hiển thị tên nhóm", |
||||
"The LDAP attribute to use to generate the groups`s ownCloud name." => "Các thuộc tính LDAP sử dụng để tạo các nhóm ownCloud.", |
||||
"in bytes" => "Theo Byte", |
||||
"in seconds. A change empties the cache." => "trong vài giây. Một sự thay đổi bộ nhớ cache.", |
||||
"Leave empty for user name (default). Otherwise, specify an LDAP/AD attribute." => "Để trống tên người dùng (mặc định). Nếu không chỉ định thuộc tính LDAP/AD", |
||||
"Help" => "Giúp đỡ" |
||||
); |
||||
|
@ -0,0 +1,3 @@ |
||||
<?php $TRANSLATIONS = array( |
||||
"WebDAV URL: http://" => "WebDAV URL: http://" |
||||
); |
@ -0,0 +1,3 @@ |
||||
<?php $TRANSLATIONS = array( |
||||
"WebDAV URL: http://" => "Adreça WebDAV: http://" |
||||
); |
@ -0,0 +1,3 @@ |
||||
<?php $TRANSLATIONS = array( |
||||
"WebDAV URL: http://" => "URL WebDAV: http://" |
||||
); |
@ -0,0 +1,3 @@ |
||||
<?php $TRANSLATIONS = array( |
||||
"WebDAV URL: http://" => "WebDAV URL: http://" |
||||
); |
@ -0,0 +1,3 @@ |
||||
<?php $TRANSLATIONS = array( |
||||
"WebDAV URL: http://" => "WebDAV URL: http://" |
||||
); |
@ -0,0 +1,3 @@ |
||||
<?php $TRANSLATIONS = array( |
||||
"WebDAV URL: http://" => "WebDAV URL: http://" |
||||
); |
@ -0,0 +1,3 @@ |
||||
<?php $TRANSLATIONS = array( |
||||
"WebDAV URL: http://" => "WebDAV URL: http://" |
||||
); |
@ -0,0 +1,3 @@ |
||||
<?php $TRANSLATIONS = array( |
||||
"WebDAV URL: http://" => "URL de WebDAV: http://" |
||||
); |
@ -0,0 +1,3 @@ |
||||
<?php $TRANSLATIONS = array( |
||||
"WebDAV URL: http://" => "WebDAV-osoite: http://" |
||||
); |
@ -0,0 +1,3 @@ |
||||
<?php $TRANSLATIONS = array( |
||||
"WebDAV URL: http://" => "URL WebDAV: http://" |
||||
); |
@ -0,0 +1,3 @@ |
||||
<?php $TRANSLATIONS = array( |
||||
"WebDAV URL: http://" => "WebDAV URL: http://" |
||||
); |
@ -0,0 +1,3 @@ |
||||
<?php $TRANSLATIONS = array( |
||||
"WebDAV URL: http://" => "WebDAV URL: http://" |
||||
); |
@ -0,0 +1,3 @@ |
||||
<?php $TRANSLATIONS = array( |
||||
"WebDAV URL: http://" => "WebDAV URL: http://" |
||||
); |
@ -0,0 +1,3 @@ |
||||
<?php $TRANSLATIONS = array( |
||||
"WebDAV URL: http://" => "URL do WebDAV: http://" |
||||
); |
@ -0,0 +1,3 @@ |
||||
<?php $TRANSLATIONS = array( |
||||
"WebDAV URL: http://" => "Endereço WebDAV: http://" |
||||
); |
@ -0,0 +1,3 @@ |
||||
<?php $TRANSLATIONS = array( |
||||
"WebDAV URL: http://" => "WebDAV URL: http://" |
||||
); |
@ -0,0 +1,3 @@ |
||||
<?php $TRANSLATIONS = array( |
||||
"WebDAV URL: http://" => "WebDAV URL: http://" |
||||
); |
@ -0,0 +1,3 @@ |
||||
<?php $TRANSLATIONS = array( |
||||
"WebDAV URL: http://" => "WebDAV URL: http://" |
||||
); |
@ -0,0 +1,3 @@ |
||||
<?php $TRANSLATIONS = array( |
||||
"WebDAV URL: http://" => "WebDAV URL: http://" |
||||
); |
@ -0,0 +1,38 @@ |
||||
<?php |
||||
/** |
||||
* Copyright (c) 2012 Thomas Tanghus <thomas@tanghus.net> |
||||
* This file is licensed under the Affero General Public License version 3 or |
||||
* later. |
||||
* See the COPYING-README file. |
||||
*/ |
||||
function bailOut($msg) { |
||||
OC_JSON::error(array('data' => array('message' => $msg))); |
||||
OC_Log::write('core', 'ajax/vcategories/addToFavorites.php: '.$msg, OC_Log::DEBUG); |
||||
exit(); |
||||
} |
||||
function debug($msg) { |
||||
OC_Log::write('core', 'ajax/vcategories/addToFavorites.php: '.$msg, OC_Log::DEBUG); |
||||
} |
||||
|
||||
OCP\JSON::checkLoggedIn(); |
||||
OCP\JSON::callCheck(); |
||||
|
||||
$l = OC_L10N::get('core'); |
||||
|
||||
$id = isset($_POST['id']) ? strip_tags($_POST['id']) : null; |
||||
$type = isset($_POST['type']) ? $_POST['type'] : null; |
||||
|
||||
if(is_null($type)) { |
||||
bailOut($l->t('Object type not provided.')); |
||||
} |
||||
|
||||
if(is_null($id)) { |
||||
bailOut($l->t('%s ID not provided.', $type)); |
||||
} |
||||
|
||||
$categories = new OC_VCategories($type); |
||||
if(!$categories->addToFavorites($id, $type)) { |
||||
bailOut($l->t('Error adding %s to favorites.', $id)); |
||||
} |
||||
|
||||
OC_JSON::success(); |
@ -0,0 +1,30 @@ |
||||
<?php |
||||
/** |
||||
* Copyright (c) 2012 Thomas Tanghus <thomas@tanghus.net> |
||||
* This file is licensed under the Affero General Public License version 3 or |
||||
* later. |
||||
* See the COPYING-README file. |
||||
*/ |
||||
function bailOut($msg) { |
||||
OC_JSON::error(array('data' => array('message' => $msg))); |
||||
OC_Log::write('core', 'ajax/vcategories/addToFavorites.php: '.$msg, OC_Log::DEBUG); |
||||
exit(); |
||||
} |
||||
function debug($msg) { |
||||
OC_Log::write('core', 'ajax/vcategories/addToFavorites.php: '.$msg, OC_Log::DEBUG); |
||||
} |
||||
|
||||
OCP\JSON::checkLoggedIn(); |
||||
OCP\JSON::callCheck(); |
||||
|
||||
$type = isset($_GET['type']) ? $_GET['type'] : null; |
||||
|
||||
if(is_null($type)) { |
||||
$l = OC_L10N::get('core'); |
||||
bailOut($l->t('Object type not provided.')); |
||||
} |
||||
|
||||
$categories = new OC_VCategories($type); |
||||
$ids = $categories->getFavorites($type); |
||||
|
||||
OC_JSON::success(array('ids' => $ids)); |
@ -0,0 +1,38 @@ |
||||
<?php |
||||
/** |
||||
* Copyright (c) 2012 Thomas Tanghus <thomas@tanghus.net> |
||||
* This file is licensed under the Affero General Public License version 3 or |
||||
* later. |
||||
* See the COPYING-README file. |
||||
*/ |
||||
function bailOut($msg) { |
||||
OC_JSON::error(array('data' => array('message' => $msg))); |
||||
OC_Log::write('core', 'ajax/vcategories/removeFromFavorites.php: '.$msg, OC_Log::DEBUG); |
||||
exit(); |
||||
} |
||||
function debug($msg) { |
||||
OC_Log::write('core', 'ajax/vcategories/removeFromFavorites.php: '.$msg, OC_Log::DEBUG); |
||||
} |
||||
|
||||
OCP\JSON::checkLoggedIn(); |
||||
OCP\JSON::callCheck(); |
||||
|
||||
$l = OC_L10N::get('core'); |
||||
|
||||
$id = isset($_POST['id']) ? strip_tags($_POST['id']) : null; |
||||
$type = isset($_POST['type']) ? $_POST['type'] : null; |
||||
|
||||
if(is_null($type)) { |
||||
bailOut($l->t('Object type not provided.')); |
||||
} |
||||
|
||||
if(is_null($id)) { |
||||
bailOut($l->t('%s ID not provided.', $type)); |
||||
} |
||||
|
||||
$categories = new OC_VCategories($type); |
||||
if(!$categories->removeFromFavorites($id, $type)) { |
||||
bailOut($l->t('Error removing %s from favorites.', $id)); |
||||
} |
||||
|
||||
OC_JSON::success(); |
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue