mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 04:29:28 +01:00
* API: new data-minimizing account display options "Firstname Inital" and "Firstname [ID]"
This commit is contained in:
parent
474d63a79b
commit
c50fd8e6bf
@ -798,3 +798,4 @@ update a single entry by passing the fields. common bg Актуализация
|
|||||||
view this linked entry in its application common bg показва свързания запис в съотв. приложение
|
view this linked entry in its application common bg показва свързания запис в съотв. приложение
|
||||||
wk common bg Седм.
|
wk common bg Седм.
|
||||||
you can respond by visiting: common bg За преглед посетете:
|
you can respond by visiting: common bg За преглед посетете:
|
||||||
|
id common bg Документ за самоличност / ID
|
||||||
|
@ -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
|
xml-file to import common ca fichero xml a importar
|
||||||
xslt template common ca Plantilla XSLT
|
xslt template common ca Plantilla XSLT
|
||||||
year common ca Año
|
year common ca Año
|
||||||
|
initial common ca Inicial
|
||||||
|
id common ca id
|
||||||
|
@ -1466,3 +1466,5 @@ your settings have been updated common cs Vaše nastavení byla zaktualizována
|
|||||||
zambia common cs ZAMBIE
|
zambia common cs ZAMBIE
|
||||||
zimbabwe common cs ZIMBABWE
|
zimbabwe common cs ZIMBABWE
|
||||||
zoom common cs Lupa
|
zoom common cs Lupa
|
||||||
|
initial common cs Počáteční
|
||||||
|
id common cs ID
|
||||||
|
@ -699,3 +699,4 @@ update a single entry by passing the fields. common da opdater et enkelt element
|
|||||||
upload common da Upload
|
upload common da Upload
|
||||||
view this linked entry in its application common da se det linkede emne i dets program
|
view this linked entry in its application common da se det linkede emne i dets program
|
||||||
wk common da Uge
|
wk common da Uge
|
||||||
|
id common da ID
|
||||||
|
@ -1546,3 +1546,5 @@ your settings have been updated common de Ihre Einstellungen wurden aktualisiert
|
|||||||
zambia common de ZAMBIA
|
zambia common de ZAMBIA
|
||||||
zimbabwe common de ZIMBABWE
|
zimbabwe common de ZIMBABWE
|
||||||
zoom common de Zoomen
|
zoom common de Zoomen
|
||||||
|
initial common de Anfangsbuchstabe
|
||||||
|
id common de ID
|
||||||
|
@ -763,3 +763,5 @@ update a single entry by passing the fields. common el Ενημέρωση συγ
|
|||||||
view this linked entry in its application common el εμφάνιση αυτής της συνδεδεμένης καταχώρησης στην αίτησή της
|
view this linked entry in its application common el εμφάνιση αυτής της συνδεδεμένης καταχώρησης στην αίτησή της
|
||||||
wk common el Εβδ
|
wk common el Εβδ
|
||||||
you can respond by visiting: common el Για να το δείτε επισκεφθείτε:
|
you can respond by visiting: common el Για να το δείτε επισκεφθείτε:
|
||||||
|
initial common el Αρχικό
|
||||||
|
id common el Id
|
||||||
|
@ -1551,3 +1551,5 @@ your settings have been updated common en Your settings have been updated.
|
|||||||
zambia common en ZAMBIA
|
zambia common en ZAMBIA
|
||||||
zimbabwe common en ZIMBABWE
|
zimbabwe common en ZIMBABWE
|
||||||
zoom common en Zoom
|
zoom common en Zoom
|
||||||
|
initial common en Initial
|
||||||
|
id common en ID
|
||||||
|
@ -1527,3 +1527,5 @@ your settings have been updated common es-es Sus preferencias fueron actualizada
|
|||||||
zambia common es-es ZAMBIA
|
zambia common es-es ZAMBIA
|
||||||
zimbabwe common es-es ZIMBAWE
|
zimbabwe common es-es ZIMBAWE
|
||||||
zoom common es-es Escala
|
zoom common es-es Escala
|
||||||
|
initial common es-es Inicial
|
||||||
|
id common es-es ID
|
||||||
|
@ -597,3 +597,4 @@ write langfile common et Kirjuta Keel
|
|||||||
write tables common et Kirjuta Tabelid
|
write tables common et Kirjuta Tabelid
|
||||||
year common et Aasta
|
year common et Aasta
|
||||||
you can respond by visiting: common et Sa saad vastata külastates:
|
you can respond by visiting: common et Sa saad vastata külastates:
|
||||||
|
id common et ID
|
||||||
|
@ -838,3 +838,4 @@ update a single entry by passing the fields. common eu Eguneratu sarrera bakarra
|
|||||||
upload common eu Kargatu
|
upload common eu Kargatu
|
||||||
view this linked entry in its application common eu zure aplikazioarekin lotura duen sarrera hau ikusi
|
view this linked entry in its application common eu zure aplikazioarekin lotura duen sarrera hau ikusi
|
||||||
wk common eu Astea
|
wk common eu Astea
|
||||||
|
id common eu Id
|
||||||
|
@ -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 برای ورود
|
xml-file to import common fa پرونده xml برای ورود
|
||||||
xslt template common fa فرم XSLT
|
xslt template common fa فرم XSLT
|
||||||
year common fa سال
|
year common fa سال
|
||||||
|
id common fa کد
|
||||||
|
@ -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 can respond by visiting: common fi Voit vastata vierailemalla:
|
||||||
you need to select a file first! common fi Valitse tiedosto!
|
you need to select a file first! common fi Valitse tiedosto!
|
||||||
your code is incorrect !!! common fi Virheellinen koodi!
|
your code is incorrect !!! common fi Virheellinen koodi!
|
||||||
|
initial common fi Alkukirjain
|
||||||
|
id common fi Tunniste
|
||||||
|
@ -1509,3 +1509,5 @@ your settings have been updated common fr Vos préférences ont été mises à j
|
|||||||
zambia common fr ZAMBIE
|
zambia common fr ZAMBIE
|
||||||
zimbabwe common fr ZIMBABWE
|
zimbabwe common fr ZIMBABWE
|
||||||
zoom common fr Agrandissement
|
zoom common fr Agrandissement
|
||||||
|
initial common fr Initial
|
||||||
|
id common fr ID
|
||||||
|
@ -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
|
xml-file to import common hr xml-file to import
|
||||||
xslt template common hr XSLT Template
|
xslt template common hr XSLT Template
|
||||||
year common hr Year
|
year common hr Year
|
||||||
|
id common hr identitet
|
||||||
|
@ -885,3 +885,5 @@ wk common hu hét
|
|||||||
working days common hu munkanapok
|
working days common hu munkanapok
|
||||||
year common hu Év
|
year common hu Év
|
||||||
you can respond by visiting: common hu Megtekintéshez látogasson el ide:
|
you can respond by visiting: common hu Megtekintéshez látogasson el ide:
|
||||||
|
initial common hu Kezdeti
|
||||||
|
id common hu Azonosító
|
||||||
|
@ -902,3 +902,5 @@ xml-file to import common id berkas xml untuk impor
|
|||||||
xslt template common id Templat XSLT
|
xslt template common id Templat XSLT
|
||||||
year common id Tahun
|
year common id Tahun
|
||||||
you can respond by visiting: common id Untuk melihatnya, kunjungi:
|
you can respond by visiting: common id Untuk melihatnya, kunjungi:
|
||||||
|
initial common id Initial
|
||||||
|
id common id ID
|
||||||
|
@ -1476,3 +1476,5 @@ your settings have been updated common it Le tue impostazioni sono state aggiorn
|
|||||||
zambia common it ZAMBIA
|
zambia common it ZAMBIA
|
||||||
zimbabwe common it ZIMBABWE
|
zimbabwe common it ZIMBABWE
|
||||||
zoom common it Zoom
|
zoom common it Zoom
|
||||||
|
initial common it Iniziale
|
||||||
|
id common it ID
|
||||||
|
@ -690,3 +690,4 @@ write tables common iw כתוב טבלאות
|
|||||||
xml-file to import common iw ליבוא xml קובץ
|
xml-file to import common iw ליבוא xml קובץ
|
||||||
xslt template common iw XSLT תבנית
|
xslt template common iw XSLT תבנית
|
||||||
year common iw שנה
|
year common iw שנה
|
||||||
|
id common iw זיהוי
|
||||||
|
@ -1508,3 +1508,5 @@ your settings have been updated common ja 設定が更新されました。
|
|||||||
zambia common ja ザンビア
|
zambia common ja ザンビア
|
||||||
zimbabwe common ja ジンバブエ
|
zimbabwe common ja ジンバブエ
|
||||||
zoom common ja ズーム
|
zoom common ja ズーム
|
||||||
|
initial common ja 初期
|
||||||
|
id common ja ID
|
||||||
|
@ -790,3 +790,5 @@ select a category common lo ເລືອກໝວດໝູ່
|
|||||||
selectbox common lo ຊ່ອງສໍາລັບເລືອກ
|
selectbox common lo ຊ່ອງສໍາລັບເລືອກ
|
||||||
show common lo ສະແດງ
|
show common lo ສະແດງ
|
||||||
wk common lo ອາທິດໜຶ່ງ
|
wk common lo ອາທິດໜຶ່ງ
|
||||||
|
initial common lo ເບືອງຕົ້ນ
|
||||||
|
id common lo ລະຫັດ
|
||||||
|
@ -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
|
xml-file to import common lv xml datne importēšanai
|
||||||
xslt template common lv XSLT veidne
|
xslt template common lv XSLT veidne
|
||||||
year common lv Gads
|
year common lv Gads
|
||||||
|
id common lv ID
|
||||||
|
@ -1356,3 +1356,5 @@ xslt template common nl XSLT Template
|
|||||||
year common nl Jaar
|
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 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:
|
you can respond by visiting: common nl Ju kunt reageren via:
|
||||||
|
initial common nl Initiaal
|
||||||
|
id common nl ID
|
||||||
|
@ -948,3 +948,4 @@ write tables common no Lagre tabeller
|
|||||||
xml-file to import common no xml-fil som skal importeres
|
xml-file to import common no xml-fil som skal importeres
|
||||||
xslt template common no XSLT Mal
|
xslt template common no XSLT Mal
|
||||||
year common no År
|
year common no År
|
||||||
|
id common no Id
|
||||||
|
@ -1207,3 +1207,5 @@ your settings have been updated common pl Twoje ustawienia zostały uaktualnione
|
|||||||
zambia common pl ZAMBIA
|
zambia common pl ZAMBIA
|
||||||
zimbabwe common pl ZIMBABWE
|
zimbabwe common pl ZIMBABWE
|
||||||
zoom common pl Powiększenie
|
zoom common pl Powiększenie
|
||||||
|
initial common pl Początkowe
|
||||||
|
id common pl ID
|
||||||
|
@ -1299,3 +1299,5 @@ xslt template common pt-br Modelo XSLT
|
|||||||
year common pt-br Ano
|
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 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:
|
you can respond by visiting: common pt-br Você pode responder acessando:
|
||||||
|
initial common pt-br Inicial
|
||||||
|
id common pt-br ID
|
||||||
|
@ -1209,3 +1209,4 @@ year common pt Ano
|
|||||||
you can respond by visiting: common pt Você pode responder, visitando
|
you can respond by visiting: common pt Você pode responder, visitando
|
||||||
you need to select a file first! common pt Selecione um arquivo primeiro!
|
you need to select a file first! common pt Selecione um arquivo primeiro!
|
||||||
your code is incorrect !!! common pt Código é incorreto!
|
your code is incorrect !!! common pt Código é incorreto!
|
||||||
|
id common pt ID
|
||||||
|
@ -1338,3 +1338,5 @@ you are not allowed to export more than %1 entries! common ru Вам не раз
|
|||||||
you can respond by visiting: common ru Вы можете отозваться посетив:
|
you can respond by visiting: common ru Вы можете отозваться посетив:
|
||||||
you need to select a file first! common ru Сначала выберите файл!
|
you need to select a file first! common ru Сначала выберите файл!
|
||||||
your code is incorrect !!! common ru Код неправильный!
|
your code is incorrect !!! common ru Код неправильный!
|
||||||
|
initial common ru Первоначальный
|
||||||
|
id common ru Идентификатор
|
||||||
|
@ -1475,3 +1475,5 @@ your settings have been updated common sk Vaše nastavenia boli upravené
|
|||||||
zambia common sk ZAMBIA
|
zambia common sk ZAMBIA
|
||||||
zimbabwe common sk ZIMBABWE
|
zimbabwe common sk ZIMBABWE
|
||||||
zoom common sk Lupa
|
zoom common sk Lupa
|
||||||
|
initial common sk Počiatočné
|
||||||
|
id common sk ID
|
||||||
|
@ -1475,3 +1475,5 @@ your settings have been updated common sl Vaše nastavitve so bile posodobljene
|
|||||||
zambia common sl ZAMBIJA
|
zambia common sl ZAMBIJA
|
||||||
zimbabwe common sl ZIMBABVE
|
zimbabwe common sl ZIMBABVE
|
||||||
zoom common sl Zoom
|
zoom common sl Zoom
|
||||||
|
initial common sl Začetno
|
||||||
|
id common sl ID
|
||||||
|
@ -1121,3 +1121,5 @@ xml-file to import common sv Importera XML fil
|
|||||||
xslt template common sv XSLT mall
|
xslt template common sv XSLT mall
|
||||||
year common sv År
|
year common sv År
|
||||||
you can respond by visiting: common sv Du kan svara genom att besöka:
|
you can respond by visiting: common sv Du kan svara genom att besöka:
|
||||||
|
initial common sv Inledande
|
||||||
|
id common sv ID
|
||||||
|
@ -502,3 +502,4 @@ type common uk Тип
|
|||||||
unlink common uk Викинути
|
unlink common uk Викинути
|
||||||
update a single entry by passing the fields. common uk Змінити один запис шляхом заповнення полів.
|
update a single entry by passing the fields. common uk Змінити один запис шляхом заповнення полів.
|
||||||
view this linked entry in its application common uk переглянути посилання в відповідному приложенні
|
view this linked entry in its application common uk переглянути посилання в відповідному приложенні
|
||||||
|
id common uk Id
|
||||||
|
@ -1154,3 +1154,5 @@ xml-file to import common zh-tw 要匯入的XML檔案
|
|||||||
xslt template common zh-tw XSLT樣版
|
xslt template common zh-tw XSLT樣版
|
||||||
year common zh-tw 年
|
year common zh-tw 年
|
||||||
you can respond by visiting: common zh-tw 檢視網址:
|
you can respond by visiting: common zh-tw 檢視網址:
|
||||||
|
initial common zh-tw 初始的
|
||||||
|
id common zh-tw 編號
|
||||||
|
@ -1175,3 +1175,5 @@ xml-file to import common zh 要导入的 XML-文件
|
|||||||
xslt template common zh XSLT 模板
|
xslt template common zh XSLT 模板
|
||||||
year common zh 年
|
year common zh 年
|
||||||
you can respond by visiting: common zh 查看访问:
|
you can respond by visiting: common zh 查看访问:
|
||||||
|
initial common zh 初始的
|
||||||
|
id common zh 编号
|
||||||
|
@ -454,6 +454,7 @@ class Accounts
|
|||||||
$lid = $GLOBALS['egw_info']['user']['account_lid'];
|
$lid = $GLOBALS['egw_info']['user']['account_lid'];
|
||||||
$firstname = $GLOBALS['egw_info']['user']['account_firstname'];
|
$firstname = $GLOBALS['egw_info']['user']['account_firstname'];
|
||||||
$lastname = $GLOBALS['egw_info']['user']['account_lastname'];
|
$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';
|
$is_group = $GLOBALS['egw']->accounts->get_type($accountid ? $accountid : $lid) == 'g';
|
||||||
|
|
||||||
@ -502,6 +503,12 @@ class Accounts
|
|||||||
$group = Accounts::id2name($lid, 'account_primary_group');
|
$group = Accounts::id2name($lid, 'account_primary_group');
|
||||||
$name = $lastname . $delimiter . $firstname . ($is_group ? '' : ' ('.Accounts::id2name($group).')');
|
$name = $lastname . $delimiter . $firstname . ($is_group ? '' : ' ('.Accounts::id2name($group).')');
|
||||||
break;
|
break;
|
||||||
|
case 'firstinital':
|
||||||
|
$name = $firstname.' '.mb_substr($lastname, 0, 1).'.';
|
||||||
|
break;
|
||||||
|
case 'firstid':
|
||||||
|
$name = $firstname.' ['.$accountid.']';
|
||||||
|
break;
|
||||||
case 'all':
|
case 'all':
|
||||||
/* fall through */
|
/* fall through */
|
||||||
default:
|
default:
|
||||||
|
@ -82,6 +82,8 @@ class preferences_hooks
|
|||||||
'all' => '['.lang('username').'] '.lang('Lastname').','.lang('Firstname'),
|
'all' => '['.lang('username').'] '.lang('Lastname').','.lang('Firstname'),
|
||||||
'firstgroup'=> lang('Firstname').' '.lang('Lastname').' ('.lang('primary group').')',
|
'firstgroup'=> lang('Firstname').' '.lang('Lastname').' ('.lang('primary group').')',
|
||||||
'lastgroup' => lang('Lastname').', '.lang('Firstname').' ('.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
|
if ($hook_data['setup']) // called via setup
|
||||||
|
Loading…
Reference in New Issue
Block a user