Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#959] extra 18n directory, rename interface names
Add config options 'ckan.i18n.extra_directory' 'ckan.i18n.extra_gettext_domain' 'ckan.i18n.extra_locales' 'ckan.i18n.extra_directory' should be a fully qualified path 'ckan.i18n.extra_gettext_domain' should be the filename of mo files 'ckan.i18n.extra_locales' should be a list for each locale handled Rename the interfaces method names to reduce the risk of clashing 'domain' and 'directory' are too generic and might be used by other plugins in the future and there is no indication as a plugin writer that these methods are related to the ITranslation interface. So they have been changed to 'i18n_domain' etc.
- Loading branch information
Showing
3 changed files
with
34 additions
and
25 deletions.
There are no files selected for viewing
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
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
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