mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-07-08 09:51:16 +00:00
Making things more localisable.
This commit is contained in:
parent
a2f2e4b342
commit
39aec8c91c
@ -21,20 +21,16 @@ i18n("Public");
|
||||
i18n("Resource <!-- a thing which might be booked: a room, a carpark, a projector... -->");
|
||||
i18n("Resource");
|
||||
|
||||
i18n("Relationship <!-- in the sense of a work relationship between people -->");
|
||||
|
||||
i18n("No. <!-- short for 'Number' -->");
|
||||
i18n("No.");
|
||||
|
||||
i18n("No <!-- not 'Yes' -->");
|
||||
i18n("No");
|
||||
i18n("Yes");
|
||||
|
||||
i18n("Id <!-- short for 'Identifier' -->");
|
||||
i18n("Id");
|
||||
|
||||
// The standard relationship names
|
||||
i18n('Administers');
|
||||
i18n('is Assistant to');
|
||||
i18n('Can read from');
|
||||
i18n('Can see free/busy time of');
|
||||
|
||||
i18n('View this user record');
|
||||
i18n('Edit this user record');
|
||||
i18n('You are viewing');
|
||||
@ -42,4 +38,16 @@ i18n('You are editing');
|
||||
|
||||
i18n("forget me not <!-- this is a colloquial phrase in english (the name of a flower) and is an option allowing people to log in automatically in future -->");
|
||||
|
||||
?>
|
||||
// Date format types
|
||||
i18n('European');
|
||||
i18n('US Format');
|
||||
i18n('ISO Format');
|
||||
|
||||
// Calendar schedule transparency
|
||||
i18n('Opaque');
|
||||
i18n('Transparent');
|
||||
|
||||
// Unspecified timezone value
|
||||
i18n('*** Unknown ***');
|
||||
|
||||
i18n('Person');
|
||||
|
||||
@ -7,7 +7,7 @@ param_to_global('user_no', 'int' );
|
||||
param_to_global('collection_name', '{^[^\\\\/]+$}' );
|
||||
if ( isset($user_no) ) $usr = GetUserByID($user_no);
|
||||
$editor->SetLookup( 'timezone', 'SELECT \'\', \'*** Unknown ***\' UNION SELECT tz_id, tz_locn FROM time_zone WHERE tz_id = tz_locn AND length(tz_spec) > 100 ORDER BY 1' );
|
||||
$editor->SetLookup( 'schedule_transp', sprintf('SELECT \'opaque\', \'%s\' UNION SELECT \'transp\', \'%s\'', translate('Opaque'), translate('Transparent') ) );
|
||||
$editor->SetLookup( 'schedule_transp', 'SELECT \'opaque\', \'Opaque\' UNION SELECT \'transp\', \'Transparent\'' );
|
||||
|
||||
|
||||
$editor->AddAttribute('timezone', 'id', 'fld_timezone' );
|
||||
|
||||
@ -2,6 +2,7 @@
|
||||
|
||||
// Editor component for company records
|
||||
$editor = new Editor(translate('Principal'), 'dav_principal');
|
||||
|
||||
$editor->SetLookup( 'date_format_type', "SELECT 'E', 'European' UNION SELECT 'U', 'US Format' UNION SELECT 'I', 'ISO Format'" );
|
||||
$editor->SetLookup( 'type_id', 'SELECT principal_type_id, principal_type_desc FROM principal_type ORDER BY principal_type_id' );
|
||||
$editor->SetLookup( 'locale', 'SELECT \'\', \''.translate("*** Default Locale ***").'\' UNION SELECT locale, locale_name_locale FROM supported_locales ORDER BY 1 ASC' );
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user