diff options
author | Adam Young <ayoung@redhat.com> | 2010-09-24 20:48:23 -0400 |
---|---|---|
committer | Adam Young <ayoung@redhat.com> | 2010-09-27 13:30:55 -0400 |
commit | c187702bfe2c2dbc9614175db5cfa060936159bf (patch) | |
tree | e6e8bdf9de5bae7c58ad403d18e18ec2df3a7366 /install/static/test | |
parent | 65b455edf97742a922e51a5d81001ce106ec0043 (diff) | |
download | freeipa.git-c187702bfe2c2dbc9614175db5cfa060936159bf.tar.gz freeipa.git-c187702bfe2c2dbc9614175db5cfa060936159bf.tar.xz freeipa.git-c187702bfe2c2dbc9614175db5cfa060936159bf.zip |
I18N for web
Performing I18N completely on the server, to leverage the
existing gettext architecture.
Also, the browser does not have access to the Language header.
Added the additional po files for a set of required languages
conflict with install/static/ipa.js was resolved.
Note that the addition of the .po files in this patch is necessary.
In order to get Transifex support, we need to update the LINGUAS
file with the languages for which we want support. If we don't
add the .po files in, they get automatically generated by the rpmbuild
process. Our implementation of gettext has a bug in it (It might
be F13 thing) where the the Plurals line is not getting correctly
transformed, which causes a build failure. However, since the
RPM would have the .po files anyway, we should revision control
the ones we have, even if they are empty.
Fixed the Bug reporting url to the original value.
Corrected the Chartype encoding for UK
Diffstat (limited to 'install/static/test')
-rw-r--r-- | install/static/test/data/json_metadata.json | 137 |
1 files changed, 133 insertions, 4 deletions
diff --git a/install/static/test/data/json_metadata.json b/install/static/test/data/json_metadata.json index 07acb3e4..ef8c77bc 100644 --- a/install/static/test/data/json_metadata.json +++ b/install/static/test/data/json_metadata.json @@ -1,8 +1,33 @@ { "error": null, - "id": 0, + "id": 6, "result": { - "result": { + "messages": { + "button": { + "add": "Add", + "enroll": "Enroll", + "find": "Find", + "reset": "Reset", + "update": "Update" + }, + "search":{ + "quick_links":"Quick Links" + }, + "details": { + "account": "Account Details", + "contact": "Contact Details", + "employee": " Employee Information", + "identity": "Identity Details", + "mailing": "Mailing Address", + "misc": "Misc. Information", + "to_top": "Back to Top" + }, + + "login": { + "header": "Logged In As" + } + }, + "metadata": { "aci": { "__base64__": "" }, @@ -46,6 +71,7 @@ "doc": "Automount key name", "exclude": null, "flags": [], + "hint": null, "include": null, "label": "Key", "length": null, @@ -70,6 +96,7 @@ "doc": "Mount information", "exclude": null, "flags": [], + "hint": null, "include": null, "label": "Mount information", "length": null, @@ -94,6 +121,7 @@ "doc": "description", "exclude": null, "flags": [], + "hint": null, "include": null, "label": "description", "length": null, @@ -149,6 +177,7 @@ "doc": "Automount location name", "exclude": null, "flags": [], + "hint": null, "include": null, "label": "Location", "length": null, @@ -206,6 +235,7 @@ "doc": "Automount map name", "exclude": null, "flags": [], + "hint": null, "include": null, "label": "Map", "length": null, @@ -230,6 +260,7 @@ "doc": "Description", "exclude": null, "flags": [], + "hint": null, "include": null, "label": "Description", "length": null, @@ -267,7 +298,7 @@ "objectclass", "aci" ], - "label": "<config.label>", + "label": "Configuration", "methods": [ "mod", "show" @@ -289,6 +320,7 @@ "doc": "Max username length", "exclude": null, "flags": [], + "hint": null, "include": null, "label": "Max username length", "maxvalue": null, @@ -310,6 +342,7 @@ "doc": "Default location of home directories", "exclude": null, "flags": [], + "hint": null, "include": null, "label": "Home directory base", "length": null, @@ -334,6 +367,7 @@ "doc": "Default shell for new users", "exclude": null, "flags": [], + "hint": null, "include": null, "label": "Default shell", "length": null, @@ -358,6 +392,7 @@ "doc": "Default group for new users", "exclude": null, "flags": [], + "hint": null, "include": null, "label": "Default users group", "length": null, @@ -382,6 +417,7 @@ "doc": "Default e-mail domain new users", "exclude": null, "flags": [], + "hint": null, "include": null, "label": "Default e-mail domain", "length": null, @@ -406,6 +442,7 @@ "doc": "Max. amount of time (sec.) for a search (-1 is unlimited)", "exclude": null, "flags": [], + "hint": null, "include": null, "label": "Search time limit", "maxvalue": null, @@ -427,6 +464,7 @@ "doc": "Max. number of records to search (-1 is unlimited)", "exclude": null, "flags": [], + "hint": null, "include": null, "label": "Search size limit", "maxvalue": null, @@ -448,6 +486,7 @@ "doc": "A comma-separated list of fields to search when searching for users", "exclude": null, "flags": [], + "hint": null, "include": null, "label": "User search fields", "length": null, @@ -472,6 +511,7 @@ "doc": "A comma-separated list of fields to search when searching for groups", "exclude": null, "flags": [], + "hint": null, "include": null, "label": "Group search fields", "length": null, @@ -501,6 +541,7 @@ "false" ], "flags": [], + "hint": null, "include": null, "label": "Migration mode", "multivalue": false, @@ -522,9 +563,10 @@ "cli_name": "subject", "cli_short_name": null, "default": null, - "doc": "base for certificate subjects (OU=Test,O=Example)", + "doc": "Base for certificate subjects (OU=Test,O=Example)", "exclude": null, "flags": [], + "hint": null, "include": null, "label": "Certificate Subject base", "length": null, @@ -585,6 +627,7 @@ "doc": "<cn>", "exclude": null, "flags": [], + "hint": null, "include": null, "label": "<cn>", "length": null, @@ -609,6 +652,7 @@ "doc": "<krbpwdpolicyreference>", "exclude": null, "flags": [], + "hint": null, "include": null, "label": "<krbpwdpolicyreference>", "length": null, @@ -633,6 +677,7 @@ "doc": "<cospriority>", "exclude": null, "flags": [], + "hint": null, "include": null, "label": "<cospriority>", "maxvalue": null, @@ -706,6 +751,7 @@ "doc": "Group name", "exclude": null, "flags": [], + "hint": null, "include": null, "label": "Group name", "length": null, @@ -730,6 +776,7 @@ "doc": "Group description", "exclude": null, "flags": [], + "hint": null, "include": null, "label": "Description", "length": null, @@ -754,6 +801,7 @@ "doc": "GID (use this option to set it manually)", "exclude": null, "flags": [], + "hint": null, "include": null, "label": "GID", "maxvalue": null, @@ -779,6 +827,7 @@ "no_create", "no_search" ], + "hint": null, "include": null, "label": "Member groups", "length": null, @@ -807,6 +856,7 @@ "no_create", "no_search" ], + "hint": null, "include": null, "label": "Member users", "length": null, @@ -906,6 +956,7 @@ "doc": "Rule name", "exclude": null, "flags": [], + "hint": null, "include": null, "label": "Rule name", "length": null, @@ -930,6 +981,7 @@ "doc": "Rule type (allow or deny)", "exclude": null, "flags": [], + "hint": null, "include": null, "label": "Rule type", "multivalue": false, @@ -953,6 +1005,7 @@ "doc": "User category the rule applies to", "exclude": null, "flags": [], + "hint": null, "include": null, "label": "User category", "multivalue": false, @@ -975,6 +1028,7 @@ "doc": "Host category the rule applies to", "exclude": null, "flags": [], + "hint": null, "include": null, "label": "Host category", "multivalue": false, @@ -997,6 +1051,7 @@ "doc": "Source host category the rule applies to", "exclude": null, "flags": [], + "hint": null, "include": null, "label": "Source host category", "multivalue": false, @@ -1019,6 +1074,7 @@ "doc": "Service category the rule applies to", "exclude": null, "flags": [], + "hint": null, "include": null, "label": "Service category", "multivalue": false, @@ -1041,6 +1097,7 @@ "doc": "Access time", "exclude": null, "flags": [], + "hint": null, "include": null, "label": "Access time", "length": null, @@ -1065,6 +1122,7 @@ "doc": "Description", "exclude": null, "flags": [], + "hint": null, "include": null, "label": "Description", "length": null, @@ -1098,6 +1156,7 @@ "no_create", "no_search" ], + "hint": null, "include": null, "label": "Enabled", "multivalue": false, @@ -1126,6 +1185,7 @@ "no_create", "no_search" ], + "hint": null, "include": null, "label": "Users", "length": null, @@ -1154,6 +1214,7 @@ "no_create", "no_search" ], + "hint": null, "include": null, "label": "Hosts", "length": null, @@ -1182,6 +1243,7 @@ "no_create", "no_search" ], + "hint": null, "include": null, "label": "Host Groups", "length": null, @@ -1210,6 +1272,7 @@ "no_create", "no_search" ], + "hint": null, "include": null, "label": "Source hosts", "length": null, @@ -1238,6 +1301,7 @@ "no_create", "no_search" ], + "hint": null, "include": null, "label": "Services", "length": null, @@ -1266,6 +1330,7 @@ "no_create", "no_search" ], + "hint": null, "include": null, "label": "Service Groups", "length": null, @@ -1323,6 +1388,7 @@ "doc": "HBAC Service", "exclude": null, "flags": [], + "hint": null, "include": null, "label": "Service name", "length": null, @@ -1347,6 +1413,7 @@ "doc": "Description of service", "exclude": null, "flags": [], + "hint": null, "include": null, "label": "Description", "length": null, @@ -1416,6 +1483,7 @@ "doc": "Service group name", "exclude": null, "flags": [], + "hint": null, "include": null, "label": "Service group name", "length": null, @@ -1440,6 +1508,7 @@ "doc": "HBAC service group description", "exclude": null, "flags": [], + "hint": null, "include": null, "label": "Description", "length": null, @@ -1468,6 +1537,7 @@ "no_create", "no_search" ], + "hint": null, "include": null, "label": "Member services", "length": null, @@ -1496,6 +1566,7 @@ "no_create", "no_search" ], + "hint": null, "include": null, "label": "Member service groups", "length": null, @@ -1524,6 +1595,7 @@ "no_create", "no_search" ], + "hint": null, "include": null, "label": "Member of service groups", "length": null, @@ -1602,6 +1674,7 @@ "doc": "Host name", "exclude": null, "flags": [], + "hint": null, "include": null, "label": "Host name", "length": null, @@ -1626,6 +1699,7 @@ "doc": "A description of this host", "exclude": null, "flags": [], + "hint": null, "include": null, "label": "Description", "length": null, @@ -1650,6 +1724,7 @@ "doc": "Host locality (e.g. \"Baltimore, MD\")", "exclude": null, "flags": [], + "hint": null, "include": null, "label": "Locality", "length": null, @@ -1674,6 +1749,7 @@ "doc": "Host location (e.g. \"Lab 2\")", "exclude": null, "flags": [], + "hint": null, "include": null, "label": "Location", "length": null, @@ -1698,6 +1774,7 @@ "doc": "Host hardware platform (e.g. \"Lenovo T61\")", "exclude": null, "flags": [], + "hint": null, "include": null, "label": "Platform", "length": null, @@ -1722,6 +1799,7 @@ "doc": "Host operating system and version (e.g. \"Fedora 9\")", "exclude": null, "flags": [], + "hint": null, "include": null, "label": "Operating system", "length": null, @@ -1746,6 +1824,7 @@ "doc": "Password used in bulk enrollment", "exclude": null, "flags": [], + "hint": null, "include": null, "label": "User password", "length": null, @@ -1770,6 +1849,7 @@ "doc": "Base-64 encoded server certificate", "exclude": null, "flags": [], + "hint": null, "include": null, "label": "Certificate", "length": null, @@ -1798,6 +1878,7 @@ "no_create", "no_search" ], + "hint": null, "include": null, "label": "Principal name", "length": null, @@ -1826,6 +1907,7 @@ "no_create", "no_search" ], + "hint": null, "include": null, "label": "Member of host-groups", "length": null, @@ -1854,6 +1936,7 @@ "no_create", "no_search" ], + "hint": null, "include": null, "label": "Member of net-groups", "length": null, @@ -1882,6 +1965,7 @@ "no_create", "no_search" ], + "hint": null, "include": null, "label": "Member of role-groups", "length": null, @@ -1951,6 +2035,7 @@ "doc": "Name of host-group", "exclude": null, "flags": [], + "hint": null, "include": null, "label": "Host-group", "length": null, @@ -1975,6 +2060,7 @@ "doc": "A description of this host-group", "exclude": null, "flags": [], + "hint": null, "include": null, "label": "Description", "length": null, @@ -2003,6 +2089,7 @@ "no_create", "no_search" ], + "hint": null, "include": null, "label": "Member hosts", "length": null, @@ -2031,6 +2118,7 @@ "no_create", "no_search" ], + "hint": null, "include": null, "label": "Member host-groups", "length": null, @@ -2059,6 +2147,7 @@ "no_create", "no_search" ], + "hint": null, "include": null, "label": "Member of host-groups", "length": null, @@ -2111,6 +2200,7 @@ "doc": "Manage ticket policy for specific user", "exclude": null, "flags": [], + "hint": null, "include": null, "label": "User name", "length": null, @@ -2135,6 +2225,7 @@ "doc": "Maximum ticket life (seconds)", "exclude": null, "flags": [], + "hint": null, "include": null, "label": "Max life", "maxvalue": null, @@ -2156,6 +2247,7 @@ "doc": "Maximum renewable age (seconds)", "exclude": null, "flags": [], + "hint": null, "include": null, "label": "Max renew", "maxvalue": null, @@ -2230,6 +2322,7 @@ "doc": "Netgroup name", "exclude": null, "flags": [], + "hint": null, "include": null, "label": "Netgroup name", "length": null, @@ -2254,6 +2347,7 @@ "doc": "Netgroup description", "exclude": null, "flags": [], + "hint": null, "include": null, "label": "Description", "length": null, @@ -2278,6 +2372,7 @@ "doc": "NIS domain name", "exclude": null, "flags": [], + "hint": null, "include": null, "label": "NIS domain name", "length": null, @@ -2305,6 +2400,7 @@ "no_update", "no_create" ], + "hint": null, "include": null, "label": "IPA unique ID", "length": null, @@ -2368,6 +2464,7 @@ "doc": "Manage password policy for specific group", "exclude": null, "flags": [], + "hint": null, "include": null, "label": "Group", "length": null, @@ -2392,6 +2489,7 @@ "doc": "Maximum password lifetime (in days)", "exclude": null, "flags": [], + "hint": null, "include": null, "label": "Max lifetime (days)", "maxvalue": null, @@ -2413,6 +2511,7 @@ "doc": "Minimum password lifetime (in hours)", "exclude": null, "flags": [], + "hint": null, "include": null, "label": "Min lifetime (hours)", "maxvalue": null, @@ -2434,6 +2533,7 @@ "doc": "Password history size", "exclude": null, "flags": [], + "hint": null, "include": null, "label": "History size", "maxvalue": null, @@ -2455,6 +2555,7 @@ "doc": "Minimum number of character classes", "exclude": null, "flags": [], + "hint": null, "include": null, "label": "Character classes", "maxvalue": 5, @@ -2476,6 +2577,7 @@ "doc": "Minimum length of password", "exclude": null, "flags": [], + "hint": null, "include": null, "label": "Min length", "maxvalue": null, @@ -2497,6 +2599,7 @@ "doc": "Priority of the policy (higher number means lower priority", "exclude": null, "flags": [], + "hint": null, "include": null, "label": "Priority", "maxvalue": null, @@ -2565,6 +2668,7 @@ "doc": "Role-group name", "exclude": null, "flags": [], + "hint": null, "include": null, "label": "Role-group name", "length": null, @@ -2589,6 +2693,7 @@ "doc": "A description of this role-group", "exclude": null, "flags": [], + "hint": null, "include": null, "label": "Description", "length": null, @@ -2617,6 +2722,7 @@ "no_create", "no_search" ], + "hint": null, "include": null, "label": "Member groups", "length": null, @@ -2645,6 +2751,7 @@ "no_create", "no_search" ], + "hint": null, "include": null, "label": "Member users", "length": null, @@ -2673,6 +2780,7 @@ "no_create", "no_search" ], + "hint": null, "include": null, "label": "Member of task-groups", "length": null, @@ -2743,6 +2851,7 @@ "doc": "Service principal", "exclude": null, "flags": [], + "hint": null, "include": null, "label": "Principal", "length": null, @@ -2809,6 +2918,7 @@ "doc": "Task-group name", "exclude": null, "flags": [], + "hint": null, "include": null, "label": "Task-group name", "length": null, @@ -2833,6 +2943,7 @@ "doc": "Task-group description", "exclude": null, "flags": [], + "hint": null, "include": null, "label": "Description", "length": null, @@ -2861,6 +2972,7 @@ "no_create", "no_search" ], + "hint": null, "include": null, "label": "Member groups", "length": null, @@ -2889,6 +3001,7 @@ "no_create", "no_search" ], + "hint": null, "include": null, "label": "Member users", "length": null, @@ -2917,6 +3030,7 @@ "no_create", "no_search" ], + "hint": null, "include": null, "label": "Member role-groups", "length": null, @@ -2989,6 +3103,7 @@ "doc": "User login", "exclude": null, "flags": [], + "hint": null, "include": null, "label": "User login", "length": null, @@ -3013,6 +3128,7 @@ "doc": "First name", "exclude": null, "flags": [], + "hint": null, "include": null, "label": "First name", "length": null, @@ -3037,6 +3153,7 @@ "doc": "Last name", "exclude": null, "flags": [], + "hint": null, "include": null, "label": "Last name", "length": null, @@ -3061,6 +3178,7 @@ "doc": "Home directory", "exclude": null, "flags": [], + "hint": null, "include": null, "label": "Home directory", "length": null, @@ -3085,6 +3203,7 @@ "doc": "GECOS field", "exclude": null, "flags": [], + "hint": null, "include": null, "label": "GECOS field", "length": null, @@ -3109,6 +3228,7 @@ "doc": "Login shell", "exclude": null, "flags": [], + "hint": null, "include": null, "label": "Login shell", "length": null, @@ -3133,6 +3253,7 @@ "doc": "Kerberos principal", "exclude": null, "flags": [], + "hint": null, "include": null, "label": "Kerberos principal", "length": null, @@ -3157,6 +3278,7 @@ "doc": "Email address", "exclude": null, "flags": [], + "hint": null, "include": null, "label": "Email address", "length": null, @@ -3183,6 +3305,7 @@ "webui" ], "flags": [], + "hint": null, "include": null, "label": "Password", "length": null, @@ -3207,6 +3330,7 @@ "doc": "User ID Number (system will assign one if not provided)", "exclude": null, "flags": [], + "hint": null, "include": null, "label": "UID", "maxvalue": null, @@ -3228,6 +3352,7 @@ "doc": "Street address", "exclude": null, "flags": [], + "hint": null, "include": null, "label": "Street address", "length": null, @@ -3256,6 +3381,7 @@ "no_create", "no_search" ], + "hint": null, "include": null, "label": "Groups", "length": null, @@ -3284,6 +3410,7 @@ "no_create", "no_search" ], + "hint": null, "include": null, "label": "Netgroups", "length": null, @@ -3312,6 +3439,7 @@ "no_create", "no_search" ], + "hint": null, "include": null, "label": "Rolegroups", "length": null, @@ -3340,6 +3468,7 @@ "no_create", "no_search" ], + "hint": null, "include": null, "label": "Taskgroups", "length": null, |