-
-
Notifications
You must be signed in to change notification settings - Fork 491
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add transifex configuration and commandline tool
- Loading branch information
Jesse Eichar
committed
Jun 6, 2014
1 parent
e1191e9
commit d99748c
Showing
12 changed files
with
2,025 additions
and
2,116 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"KEYVALUEJSON":[{ | ||
"dir" : "web-ui/src/main/resources/catalog/locales/", | ||
"filename" : "core", | ||
"name" : "Angular UI Common Strings", | ||
"slug" : "core", | ||
"priority" : "0", | ||
"categories" : ["Angular_UI"] | ||
},{ | ||
"dir" : "web-ui/src/main/resources/catalog/locales/", | ||
"filename" : "admin", | ||
"name" : "Angular UI Admin Strings", | ||
"slug" : "admin", | ||
"priority" : "0", | ||
"categories" : ["Angular_UI", "admin"] | ||
},{ | ||
"dir" : "web-ui/src/main/resources/catalog/locales/", | ||
"filename" : "editor", | ||
"name" : "Angular UI Editor Strings", | ||
"slug" : "editor", | ||
"priority" : "0", | ||
"categories" : ["Angular_UI", "editor"] | ||
}] | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
The binaries in this folder are from the https://github.com/jesseeichar/golang-transifex project. | ||
|
||
Upload | ||
------ | ||
|
||
Upload all the 'source language' (default english) files defined in the ../transifex-localization-files.json configuration file. | ||
Optionally also upload translations. | ||
|
||
Transifex has the concept of "resources". Each resource represents a set of translation files for all languages. There is a source language which contains all strings that need to be translated. This file is not editable. There are also any number of "translations" for a "resource". Each translation are all strings in a particular language that have been translated. | ||
|
||
Running the upload command will: | ||
|
||
1. Create all resources in the configuration file that are not currently in transifex | ||
2. Upload the contents of the 'source language' translations file. | ||
3. If a resource was created all translations will be uploaded | ||
|
||
|
||
Download | ||
-------- | ||
|
||
All translations will be downloaded and written to the appropriate files. This will overwrite the previous files on disk without warning but if there is a problem git can be used to roll back the changes. |
Binary file not shown.
Binary file not shown.
1,537 changes: 735 additions & 802 deletions
1,537
web-ui/src/main/resources/catalog/locales/en-admin.json
Large diffs are not rendered by default.
Oops, something went wrong.
234 changes: 110 additions & 124 deletions
234
web-ui/src/main/resources/catalog/locales/en-core.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,151 +1,137 @@ | ||
{ | ||
"catalog": "catalog", | ||
"poweredBy": "Powered by GeoNetwork opensource", | ||
"username": "User name", | ||
"password": "Password", | ||
"rememberMe": "Remember me", | ||
"signIn": "Sign in", | ||
"signedInAs": " ", | ||
"needHelp": "Need help", | ||
"docNotFound": "<strong>Warning !</strong> Page <a href='{{page}}'>{{page}}</a> not found in documentation.", | ||
|
||
"BadParameterEx": "Wrong parameter", | ||
"Editor": "Editor", | ||
"Keywords": "Keywords", | ||
"METADATA": "Metadata", | ||
"TEMPLATE": "Template", | ||
"RegisteredUser": "Registered user", | ||
"Reviewer": "Reviewer", | ||
"SUB_TEMPLATE": "Directory entry", | ||
|
||
"eng": "English", | ||
"fre": "Français", | ||
"TEMPLATE": "Template", | ||
"UserAdmin": "User administrator", | ||
"_cat": "Category", | ||
"_groupOwner": "Group", | ||
"_groupPublished": "Published in that group", | ||
"_indexingError": "Indexing error", | ||
"_source": "Catalog", | ||
"add": "Add", | ||
"address": "Address", | ||
"adminConsole": "Admin console", | ||
"any": "Full text", | ||
"anyPlaceHolder": "Search ...", | ||
"ara": "عربي", | ||
"by": "by", | ||
"cat": "Català", | ||
"catalog": "catalog", | ||
"chi": "中文", | ||
"city": "City", | ||
"comments": "Comment", | ||
"contactDetailsSentTo": "An email has been sent to ", | ||
"country": "Country", | ||
"createAnAccount": "Create an account", | ||
"createDateYear": "Creation year", | ||
"createDateYears": "Years", | ||
"dataset": "Dataset", | ||
"day": "Day", | ||
"denominators": "Scale denominators", | ||
"docNotFound": "<strong>Warning !</strong> Page <a href='{{page}}'>{{page}}</a> not found in documentation.", | ||
"dut": "Nederlands", | ||
"east": "East", | ||
"editorBoard": "Add new record", | ||
"email": "Email", | ||
"eng": "English", | ||
"errorEmailAddressAlreadyRegistered": "Email address already registered.", | ||
"errorIs": "Error is ", | ||
"featureCatalog": "Feature catalog", | ||
"feebackSent": "Your message has been sent to the catalog manager.", | ||
"feedbackNotEnable": "Feedback is not enabled.", | ||
"filter": "Filter", | ||
"filterSearch": "Display search options", | ||
"fin": "Suomeksi", | ||
"forgetDetails": "Forgotten your details?", | ||
"forgetDetailsInfo": "Use password recovery to reset it.", | ||
"fre": "Français", | ||
"from": "From", | ||
"ger": "Deutsch", | ||
"ita": "Italiano", | ||
"nor": "Norsk", | ||
"por": "Рortuguês", | ||
"rus": "Русский", | ||
"spa": "Español", | ||
"tur": "Türkçe", | ||
"pol": "Polski", | ||
|
||
"title": "Title", | ||
|
||
"east": "East", | ||
"west": "West", | ||
"north": "North", | ||
"south": "South", | ||
|
||
"groupOwners": "Groups", | ||
"hour": "Hour", | ||
"day": "Day", | ||
"inspireThemes": "INSPIRE themes", | ||
"ita": "Italiano", | ||
"keyword": "Keyword", | ||
"keywordFilter": "Filter keyword", | ||
"keywords": "Keywords", | ||
"map": "Map", | ||
"metadataPOCs": "Contact for the metadata", | ||
"month": "Month", | ||
"year": "Year", | ||
|
||
"add": "Add", | ||
"save": "Save", | ||
|
||
"adminConsole": "Admin console", | ||
"editorBoard": "Add new record", | ||
"msgNoCatalogInfo": "Could not retrieved catalog information.", | ||
"msgNoUserInfo": "Could not retrieve user details.", | ||
"msgUserAuthenticated": "User {{username}} authenticated.", | ||
"name": "Name", | ||
"needAnAccount": "Need an account ?", | ||
"needAnAccountInfo": "Then sign right up, it only takes a minute.", | ||
"createAnAccount": "Create an account", | ||
"forgetDetails": "Forgotten your details?", | ||
"forgetDetailsInfo": "Use password recovery to reset it.", | ||
"recoverPassword": "Forgot your password", | ||
"userPreferences": "User preferences", | ||
"userDetails": "User details", | ||
"notifications": "Notifications", | ||
"signout": "Sign out", | ||
|
||
"name": "Name", | ||
"surname": "Surname", | ||
"requestedProfile": "Requested profile", | ||
"contactDetailsSentTo": "An email has been sent to ", | ||
"errorEmailAddressAlreadyRegistered": "Email address already registered.", | ||
"needHelp": "Need help", | ||
"newAccountInfo": "When you request an account an email will be sent to you with your user details. If an advanced user profile is requested, the catalog administrator will analyze your request and get back to you.", | ||
"usernameHelp": "Name to use when sign in", | ||
"email": "Email", | ||
"next": "Next", | ||
"noRecordFound": "No record found.", | ||
"nor": "Norsk", | ||
"north": "North", | ||
"notifications": "Notifications", | ||
"orgName": "Contact for the resource", | ||
"orgNames": "Contact for the resource", | ||
"organisation": "Organisation", | ||
"address": "Address", | ||
"zip": "ZIP", | ||
"state": "State", | ||
"city": "City", | ||
"country": "Country", | ||
"register": "Register", | ||
"passwordRepeat": "Repeat password", | ||
"passwordNotMatching": "The password does not match!", | ||
"organization": "Organization", | ||
"owner": "Owner", | ||
"password": "Password", | ||
"passwordMinlength": "Password must contain at least 6 characters!", | ||
"updatePassword": "Update", | ||
"passwordNotMatching": "The password does not match!", | ||
"passwordReminderError": "Error getting password information", | ||
"passwordRepeat": "Repeat password", | ||
"passwordUpdateError": "Error when updating password", | ||
"passwordUpdated": "Password successfully updated.", | ||
"pol": "Polski", | ||
"por": "Рortuguês", | ||
"poweredBy": "Powered by GeoNetwork opensource", | ||
"previous": "Previous", | ||
"profile": "User profile", | ||
"recoverPassword": "Forgot your password", | ||
"register": "Register", | ||
"rememberMe": "Remember me", | ||
"requestedProfile": "Requested profile", | ||
"resetPassword": "Reset password", | ||
"resetPasswordTitle": "Reset {{user}} password.", | ||
"from": "From", | ||
"to": "To", | ||
"until": "Until", | ||
"by": "by", | ||
"previous": "Previous", | ||
"next": "Next", | ||
"passwordReminderError": "Error getting password information", | ||
"sendPasswordLinkToMyEmail": "Send password link to my email", | ||
"noRecordFound": "No record found.", | ||
|
||
"filterSearch": "Display search options", | ||
"anyPlaceHolder": "Search ...", | ||
"any": "Full text", | ||
"orgName": "Contact for the resource", | ||
"createDateYear": "Creation year", | ||
"_indexingError": "Indexing error", | ||
"_cat": "Category", | ||
"keyword": "Keyword", | ||
"keywords": "Keywords", | ||
"keywordFilter": "Filter keyword", | ||
"filter": "Filter", | ||
"_groupPublished": "Published in that group", | ||
"_source": "Catalog", | ||
"_groupOwner": "Group", | ||
"groupOwners": "Groups", | ||
"owner": "Owner", | ||
"rus": "Русский", | ||
"save": "Save", | ||
"scrollTop": "Scroll to top", | ||
"selectAll": "All", | ||
"selectNone": "None", | ||
"createDateYears": "Years", | ||
"denominators": "Scale denominators", | ||
"inspireThemes": "INSPIRE themes", | ||
"Keywords": "Keywords", | ||
"metadataPOCs": "Contact for the metadata", | ||
"orgNames": "Contact for the resource", | ||
"send": "Send", | ||
"sendAComment": "Send us a comment", | ||
"sendPasswordLinkToMyEmail": "Send password link to my email", | ||
"service": "Service", | ||
"serviceTypes": "Type of services", | ||
"signIn": "Sign in", | ||
"signedInAs": " ", | ||
"signout": "Sign out", | ||
"somethingWrong": "Something went wrong!", | ||
"south": "South", | ||
"spa": "Español", | ||
"spatialRepresentationTypes": "Spatial types", | ||
"types": "Data types", | ||
|
||
|
||
"profile": "User profile", | ||
"RegisteredUser": "Registered user", | ||
"Editor": "Editor", | ||
"Reviewer": "Reviewer", | ||
"UserAdmin": "User administrator", | ||
|
||
"dataset": "Dataset", | ||
"map": "Map", | ||
"service": "Service", | ||
"state": "State", | ||
"staticMap": "Static map", | ||
"featureCatalog": "Feature catalog", | ||
|
||
"errorIs": "Error is ", | ||
|
||
"somethingWrong": "Something went wrong!", | ||
"msgUserAuthenticated": "User {{username}} authenticated.", | ||
"msgNoCatalogInfo": "Could not retrieved catalog information.", | ||
"msgNoUserInfo": "Could not retrieve user details.", | ||
"surname": "Surname", | ||
"title": "Title", | ||
"to": "To", | ||
"toggleScrollSpy": "Toggle scrolling navigation", | ||
"scrollTop": "Scroll to top", | ||
"passwordUpdateError": "Error when updating password", | ||
"BadParameterEx": "Wrong parameter", | ||
"send": "Send", | ||
"organization": "Organization", | ||
"comments": "Comment", | ||
"sendAComment": "Send us a comment", | ||
"feedbackNotEnable": "Feedback is not enabled.", | ||
"feebackSent": "Your message has been sent to the catalog manager.", | ||
"tur": "Türkçe", | ||
"types": "Data types", | ||
"until": "Until", | ||
"updatePassword": "Update", | ||
"upload": "Upload", | ||
"url": "URL", | ||
"upload": "Upload" | ||
"userDetails": "User details", | ||
"userPreferences": "User preferences", | ||
"username": "User name", | ||
"usernameHelp": "Name to use when sign in", | ||
"west": "West", | ||
"year": "Year", | ||
"zip": "ZIP" | ||
} |
Oops, something went wrong.