* API: new data-minimizing account display options "Firstname Inital" and "Firstname [ID]"

This commit is contained in:
Ralf Becker 2020-05-04 09:25:32 +02:00
parent 474d63a79b
commit c50fd8e6bf
35 changed files with 64 additions and 0 deletions

View File

@ -798,3 +798,4 @@ update a single entry by passing the fields. common bg Актуализация
view this linked entry in its application common bg показва свързания запис в съотв. приложение
wk common bg Седм.
you can respond by visiting: common bg За преглед посетете:
id common bg Документ за самоличност / ID

View File

@ -1045,3 +1045,5 @@ writes a 'etemplates.inc.php' file (for application in name) in the setup-dir of
xml-file to import common ca fichero xml a importar
xslt template common ca Plantilla XSLT
year common ca Año
initial common ca Inicial
id common ca id

View File

@ -1466,3 +1466,5 @@ your settings have been updated common cs Vaše nastavení byla zaktualizována
zambia common cs ZAMBIE
zimbabwe common cs ZIMBABWE
zoom common cs Lupa
initial common cs Počáteční
id common cs ID

View File

@ -699,3 +699,4 @@ update a single entry by passing the fields. common da opdater et enkelt element
upload common da Upload
view this linked entry in its application common da se det linkede emne i dets program
wk common da Uge
id common da ID

View File

@ -1546,3 +1546,5 @@ your settings have been updated common de Ihre Einstellungen wurden aktualisiert
zambia common de ZAMBIA
zimbabwe common de ZIMBABWE
zoom common de Zoomen
initial common de Anfangsbuchstabe
id common de ID

View File

@ -763,3 +763,5 @@ update a single entry by passing the fields. common el Ενημέρωση συγ
view this linked entry in its application common el εμφάνιση αυτής της συνδεδεμένης καταχώρησης στην αίτησή της
wk common el Εβδ
you can respond by visiting: common el Για να το δείτε επισκεφθείτε:
initial common el Αρχικό
id common el Id

View File

@ -1551,3 +1551,5 @@ your settings have been updated common en Your settings have been updated.
zambia common en ZAMBIA
zimbabwe common en ZIMBABWE
zoom common en Zoom
initial common en Initial
id common en ID

View File

@ -1527,3 +1527,5 @@ your settings have been updated common es-es Sus preferencias fueron actualizada
zambia common es-es ZAMBIA
zimbabwe common es-es ZIMBAWE
zoom common es-es Escala
initial common es-es Inicial
id common es-es ID

View File

@ -597,3 +597,4 @@ write langfile common et Kirjuta Keel
write tables common et Kirjuta Tabelid
year common et Aasta
you can respond by visiting: common et Sa saad vastata külastates:
id common et ID

View File

@ -838,3 +838,4 @@ update a single entry by passing the fields. common eu Eguneratu sarrera bakarra
upload common eu Kargatu
view this linked entry in its application common eu zure aplikazioarekin lotura duen sarrera hau ikusi
wk common eu Astea
id common eu Id

View File

@ -928,3 +928,4 @@ writes a 'etemplates.inc.php' file (for application in name) in the setup-dir of
xml-file to import common fa پرونده xml برای ورود
xslt template common fa فرم XSLT
year common fa سال
id common fa کد

View File

@ -1277,3 +1277,5 @@ you are not allowed to export more than %1 entries! common fi Sinulla ei ole rii
you can respond by visiting: common fi Voit vastata vierailemalla:
you need to select a file first! common fi Valitse tiedosto!
your code is incorrect !!! common fi Virheellinen koodi!
initial common fi Alkukirjain
id common fi Tunniste

View File

@ -1509,3 +1509,5 @@ your settings have been updated common fr Vos préférences ont été mises à j
zambia common fr ZAMBIE
zimbabwe common fr ZIMBABWE
zoom common fr Agrandissement
initial common fr Initial
id common fr ID

View File

@ -923,3 +923,4 @@ writes a 'etemplates.inc.php' file (for application in name) in the setup-dir of
xml-file to import common hr xml-file to import
xslt template common hr XSLT Template
year common hr Year
id common hr identitet

View File

@ -885,3 +885,5 @@ wk common hu hét
working days common hu munkanapok
year common hu Év
you can respond by visiting: common hu Megtekintéshez látogasson el ide:
initial common hu Kezdeti
id common hu Azonosító

View File

@ -902,3 +902,5 @@ xml-file to import common id berkas xml untuk impor
xslt template common id Templat XSLT
year common id Tahun
you can respond by visiting: common id Untuk melihatnya, kunjungi:
initial common id Initial
id common id ID

View File

@ -1476,3 +1476,5 @@ your settings have been updated common it Le tue impostazioni sono state aggiorn
zambia common it ZAMBIA
zimbabwe common it ZIMBABWE
zoom common it Zoom
initial common it Iniziale
id common it ID

View File

@ -690,3 +690,4 @@ write tables common iw כתוב טבלאות
xml-file to import common iw ליבוא xml קובץ
xslt template common iw XSLT תבנית
year common iw שנה
id common iw זיהוי

View File

@ -1508,3 +1508,5 @@ your settings have been updated common ja 設定が更新されました。
zambia common ja ザンビア
zimbabwe common ja ジンバブエ
zoom common ja ズーム
initial common ja 初期
id common ja ID

View File

@ -790,3 +790,5 @@ select a category common lo ເລືອກໝວດໝູ່
selectbox common lo ຊ່ອງສໍາລັບເລືອກ
show common lo ສະແດງ
wk common lo ອາທິດໜຶ່ງ
initial common lo ເບືອງຕົ້ນ
id common lo ລະຫັດ

View File

@ -913,3 +913,4 @@ writes a 'etemplates.inc.php' file (for application in name) in the setup-dir of
xml-file to import common lv xml datne importēšanai
xslt template common lv XSLT veidne
year common lv Gads
id common lv ID

View File

@ -1356,3 +1356,5 @@ xslt template common nl XSLT Template
year common nl Jaar
you are not allowed to export more than %1 entries! common nl Je mag niet meer dan %1 items exporteren!
you can respond by visiting: common nl Ju kunt reageren via:
initial common nl Initiaal
id common nl ID

View File

@ -948,3 +948,4 @@ write tables common no Lagre tabeller
xml-file to import common no xml-fil som skal importeres
xslt template common no XSLT Mal
year common no År
id common no Id

View File

@ -1207,3 +1207,5 @@ your settings have been updated common pl Twoje ustawienia zostały uaktualnione
zambia common pl ZAMBIA
zimbabwe common pl ZIMBABWE
zoom common pl Powiększenie
initial common pl Początkowe
id common pl ID

View File

@ -1299,3 +1299,5 @@ xslt template common pt-br Modelo XSLT
year common pt-br Ano
you are not allowed to export more than %1 entries! common pt-br Você não tem permissão para exportar mais de %1 registros!
you can respond by visiting: common pt-br Você pode responder acessando:
initial common pt-br Inicial
id common pt-br ID

View File

@ -1209,3 +1209,4 @@ year common pt Ano
you can respond by visiting: common pt Você pode responder, visitando
you need to select a file first! common pt Selecione um arquivo primeiro!
your code is incorrect !!! common pt Código é incorreto!
id common pt ID

View File

@ -1338,3 +1338,5 @@ you are not allowed to export more than %1 entries! common ru Вам не раз
you can respond by visiting: common ru Вы можете отозваться посетив:
you need to select a file first! common ru Сначала выберите файл!
your code is incorrect !!! common ru Код неправильный!
initial common ru Первоначальный
id common ru Идентификатор

View File

@ -1475,3 +1475,5 @@ your settings have been updated common sk Vaše nastavenia boli upravené
zambia common sk ZAMBIA
zimbabwe common sk ZIMBABWE
zoom common sk Lupa
initial common sk Počiatočné
id common sk ID

View File

@ -1475,3 +1475,5 @@ your settings have been updated common sl Vaše nastavitve so bile posodobljene
zambia common sl ZAMBIJA
zimbabwe common sl ZIMBABVE
zoom common sl Zoom
initial common sl Začetno
id common sl ID

View File

@ -1121,3 +1121,5 @@ xml-file to import common sv Importera XML fil
xslt template common sv XSLT mall
year common sv År
you can respond by visiting: common sv Du kan svara genom att besöka:
initial common sv Inledande
id common sv ID

View File

@ -502,3 +502,4 @@ type common uk Тип
unlink common uk Викинути
update a single entry by passing the fields. common uk Змінити один запис шляхом заповнення полів.
view this linked entry in its application common uk переглянути посилання в відповідному приложенні
id common uk Id

View File

@ -1154,3 +1154,5 @@ xml-file to import common zh-tw 要匯入的XML檔案
xslt template common zh-tw XSLT樣版
year common zh-tw 年
you can respond by visiting: common zh-tw 檢視網址:
initial common zh-tw 初始的
id common zh-tw 編號

View File

@ -1175,3 +1175,5 @@ xml-file to import common zh 要导入的 XML-文件
xslt template common zh XSLT 模板
year common zh 年
you can respond by visiting: common zh 查看访问:
initial common zh 初始的
id common zh 编号

View File

@ -454,6 +454,7 @@ class Accounts
$lid = $GLOBALS['egw_info']['user']['account_lid'];
$firstname = $GLOBALS['egw_info']['user']['account_firstname'];
$lastname = $GLOBALS['egw_info']['user']['account_lastname'];
$accountid = $GLOBALS['egw_info']['user']['account_id'];
}
$is_group = $GLOBALS['egw']->accounts->get_type($accountid ? $accountid : $lid) == 'g';
@ -502,6 +503,12 @@ class Accounts
$group = Accounts::id2name($lid, 'account_primary_group');
$name = $lastname . $delimiter . $firstname . ($is_group ? '' : ' ('.Accounts::id2name($group).')');
break;
case 'firstinital':
$name = $firstname.' '.mb_substr($lastname, 0, 1).'.';
break;
case 'firstid':
$name = $firstname.' ['.$accountid.']';
break;
case 'all':
/* fall through */
default:

View File

@ -82,6 +82,8 @@ class preferences_hooks
'all' => '['.lang('username').'] '.lang('Lastname').','.lang('Firstname'),
'firstgroup'=> lang('Firstname').' '.lang('Lastname').' ('.lang('primary group').')',
'lastgroup' => lang('Lastname').', '.lang('Firstname').' ('.lang('primary group').')',
'firstinital' => lang('Firstname').' '.lang('Initial'),
'firstid' => lang('Firstname').' ['.lang('ID').']',
);
if ($hook_data['setup']) // called via setup