Rename json lang source files to .json extension

This commit is contained in:
Damian Mooyman 2017-05-29 14:30:39 +12:00
parent d2a5d073e2
commit eb06646aa8
85 changed files with 8 additions and 5 deletions

View File

@ -8,7 +8,7 @@ source_lang = en
type = YML type = YML
[silverstripe-cms.master-js] [silverstripe-cms.master-js]
file_filter = client/lang/src/<lang>.js file_filter = client/lang/src/<lang>.json
source_file = client/lang/src/en.js source_file = client/lang/src/en.json
source_lang = en source_lang = en
type = KEYVALUEJSON type = KEYVALUEJSON

View File

@ -11,6 +11,7 @@ if (typeof(ss) === 'undefined' || typeof(ss.i18n) === 'undefined') {
"CMS.ConfirmRestoreFromLive": "Are you sure you want to revert draft to when the page was last published?", "CMS.ConfirmRestoreFromLive": "Are you sure you want to revert draft to when the page was last published?",
"CMS.Duplicate": "Duplicate", "CMS.Duplicate": "Duplicate",
"CMS.EditPage": "Edit", "CMS.EditPage": "Edit",
"CMS.LINKLABEL_PAGE": "Link to page",
"CMS.ONLYSELECTTWO": "You can only compare two versions at this time.", "CMS.ONLYSELECTTWO": "You can only compare two versions at this time.",
"CMS.Restore": "Are you sure you want to restore this page from archive?", "CMS.Restore": "Are you sure you want to restore this page from archive?",
"CMS.RestoreToRoot": "Are you sure you want to restore this page from archive?\n\nBecause the parent page is not available this will be restored to the top level.", "CMS.RestoreToRoot": "Are you sure you want to restore this page from archive?\n\nBecause the parent page is not available this will be restored to the top level.",

View File

@ -4,6 +4,8 @@
"CMS.ConfirmRestoreFromLive": "Are you sure you want to revert draft to when the page was last published?", "CMS.ConfirmRestoreFromLive": "Are you sure you want to revert draft to when the page was last published?",
"CMS.Duplicate": "Duplicate", "CMS.Duplicate": "Duplicate",
"CMS.EditPage": "Edit", "CMS.EditPage": "Edit",
"CMS.LINK_PAGE": "Insert page link",
"CMS.LINKLABEL_PAGE": "Link to page",
"CMS.ONLYSELECTTWO": "You can only compare two versions at this time.", "CMS.ONLYSELECTTWO": "You can only compare two versions at this time.",
"CMS.Restore": "Are you sure you want to restore this page from archive?", "CMS.Restore": "Are you sure you want to restore this page from archive?",
"CMS.RestoreToRoot": "Are you sure you want to restore this page from archive?\n\nBecause the parent page is not available this will be restored to the top level.", "CMS.RestoreToRoot": "Are you sure you want to restore this page from archive?\n\nBecause the parent page is not available this will be restored to the top level.",