Skip to content

Commit

Permalink
Merge pull request #229 from mashpie/revert-221-editCatalog
Browse files Browse the repository at this point in the history
Revert "setCatalog - allow your app to write updated translations back to file"
  • Loading branch information
mashpie committed Apr 20, 2016
2 parents 0a48e2d + 07f463d commit f2b8434
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions i18n.js
Expand Up @@ -37,7 +37,6 @@ module.exports = (function() {
'__mf': '__mf',
'getLocale': 'getLocale',
'setLocale': 'setLocale',
'setCatalog': 'setCatalog',
'getCatalog': 'getCatalog',
'getLocales': 'getLocales',
'addLocale': 'addLocale',
Expand Down Expand Up @@ -457,11 +456,6 @@ module.exports = (function() {
return this.locale || defaultLocale;
};

// Write back to the catalog with updated translations.
i18n.setCatalog = function i18nSetCatalog(locale) {
write(locale);
};

i18n.getCatalog = function i18nGetCatalog(object, locale) {
var targetLocale;

Expand Down

0 comments on commit f2b8434

Please sign in to comment.