diff --git a/inc/other_translated_strings.php b/inc/other_translated_strings.php index b6dd8137..105aa71a 100644 --- a/inc/other_translated_strings.php +++ b/inc/other_translated_strings.php @@ -21,20 +21,16 @@ i18n("Public"); i18n("Resource "); i18n("Resource"); -i18n("Relationship "); - i18n("No. "); i18n("No."); +i18n("No "); +i18n("No"); +i18n("Yes"); + i18n("Id "); 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 "); -?> \ No newline at end of file +// 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'); diff --git a/inc/ui/collection-edit.php b/inc/ui/collection-edit.php index 61f66e32..714e4c25 100644 --- a/inc/ui/collection-edit.php +++ b/inc/ui/collection-edit.php @@ -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' ); diff --git a/inc/ui/principal-edit.php b/inc/ui/principal-edit.php index cce418fb..cc6ef904 100644 --- a/inc/ui/principal-edit.php +++ b/inc/ui/principal-edit.php @@ -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' );