@@ -11,41 +11,55 @@
v{{model.version}}
- {{gh-notifications location="settings-about-upgrade" notify="updateNotificationChange"}}
- {{#unless updateNotificationCount}}
- A free, open, simple publishing platform
- {{/unless}}
+ {{gh-notifications location="settings-about-upgrade" notify="updateNotificationChange"}}
+ {{#unless updateNotificationCount}}
+ {{format-message (intl-get "common.slogan")}}
+ {{/unless}}
+
+
+ This is a pluralization sample: {{format-message (intl-get "pluralSample") numPost=8 currentDate=1430700266792 }}
+
- - Version:
+ - {{format-message (intl-get "settings.about.version")}}:
- {{model.version}}
- - Environment:
+ - {{format-message (intl-get "settings.about.environment")}}:
- {{model.environment}}
- - Database:
+ - {{format-message (intl-get "settings.about.database")}}:
- {{model.database}}
- - Mail:
- - {{#if model.mail}}{{model.mail}}{{else}}Native{{/if}}
+ - {{format-message (intl-get "settings.about.mail")}}:
+ - {{#if model.mail}}{{model.mail}}{{else}}{{format-message (intl-get "settings.about.native")}}{{/if}}
- The People Who Made it Possible
+ {{format-message (intl-get "settings.about.thePeople" name="Maurice")}}
- {{partial "contributors"}}
+ {{ partial "contributors" }}
- Ghost is built by an incredible group of contributors from all over the world. Here are just a few of the people who helped create the version you’re using right now.
+
+ {{format-message (intl-get "settings.about.incredibleGroupOfContributors")}}
+
- Find out how you can get involved
+
+ {{format-message (intl-get "settings.about.howToGetInvolved")}}
+
Copyright 2013 - 2015 Ghost Foundation, released under the MIT license.
diff --git a/core/client/app/templates/settings/general.hbs b/core/client/app/templates/settings/general.hbs
index a5e2f7665591..a5a6d2ab9197 100644
--- a/core/client/app/templates/settings/general.hbs
+++ b/core/client/app/templates/settings/general.hbs
@@ -2,7 +2,8 @@
{{#link-to "settings" class="btn btn-default btn-back"}}Back{{/link-to}}
General
diff --git a/core/client/package.json b/core/client/package.json
index 66d19251adfa..1eddadc65d89 100644
--- a/core/client/package.json
+++ b/core/client/package.json
@@ -34,6 +34,7 @@
"ember-cli-uglify": "1.0.1",
"ember-data": "1.0.0-beta.16.1",
"ember-export-application-global": "^1.0.2",
+ "ember-intl": "https://github.com/yahoo/ember-intl.git#2.0",
"fs-extra": "0.16.3",
"glob": "^4.0.5"
},
diff --git a/core/client/translations/en.json b/core/client/translations/en.json
new file mode 100644
index 000000000000..9fbafd61bd14
--- /dev/null
+++ b/core/client/translations/en.json
@@ -0,0 +1,30 @@
+{
+ "common": {
+ "slogan": "A free, open, simple publishing platform",
+ "back": "Back"
+ },
+ "navigation": {
+ "visitBlog": "Visit blog",
+ "content": "Content",
+ "newPost": "New Post",
+ "settings": "Settings",
+ "yourProfile": "Your Profile",
+ "signOut": "Sign Out"
+ },
+ "pluralSample": "As of {currentDate, date, long} there are {numPost, plural, =0 {no posts} =1 {post} other {# posts} } avilable in this blog.",
+ "settings": {
+ "about": {
+ "title": "About",
+ "version": "Version",
+ "environment": "Environment",
+ "database": "Database",
+ "mail": "Mail",
+ "native": "Native",
+ "userDocumentation": "User Documentation",
+ "getHelp": "Get Help With Ghost",
+ "thePeople": "The People Who Made it Possible",
+ "incredibleGroupOfContributors": "Ghost is built by an incredible group of contributors from all over the world. Here are just a few of the people who helped create the version you’re using right now.",
+ "howToGetInvolved": "Find out how you can get involved"
+ }
+ }
+}
diff --git a/package.json b/package.json
index a9bd83ae8ece..1a3c65173176 100644
--- a/package.json
+++ b/package.json
@@ -89,6 +89,7 @@
"grunt-mocha-cli": "~1.13.0",
"grunt-mocha-istanbul": "2.4.0",
"grunt-shell": "~1.1.1",
+ "grunt-transifex-keyvaluejson": "0.0.2",
"grunt-update-submodules": "~0.4.1",
"matchdep": "~0.3.0",
"nock": "0.52.4",