Skip to content
Snippets Groups Projects
Commit 055b0b37 authored by Olivier Beddows's avatar Olivier Beddows Committed by Oliver Beddows
Browse files

Configuring rocketchat-theme translations.

Adding initial en.i18n translations.
parent 7da62d74
No related merge requests found
{
"Theme_Description" : "",
"theme-color-blockquote-background" : "Blockquote Background Color",
"theme-color-blockquote-background_Description" : "",
"theme-color-code-background" : "Code Background Color",
"theme-color-code-background_Description" : "",
"theme-color-code-border" : "Code Border Color",
"theme-color-code-border_Description" : "",
"theme-color-code-color" : "Code Color",
"theme-color-code-color_Description" : "",
"theme-color-content-background-color" : "Content Background Color",
"theme-color-content-background-color_Description" : "",
"theme-color-info-active-font-color" : "Active Info Font Color",
"theme-color-info-active-font-color_Description" : "",
"theme-color-info-font-color" : "Info Font Color",
"theme-color-info-font-color_Description" : "",
"theme-color-input-font-color" : "Input Font Color",
"theme-color-input-font-color_Description" : "",
"theme-color-link-font-color" : "Link Font Color",
"theme-color-link-font-color_Description" : "",
"theme-color-primary-background-color" : "Primary Background Color",
"theme-color-primary-background-color_Description" : "",
"theme-color-primary-font-color" : "Primary Font Color",
"theme-color-primary-font-color_Description" : "",
"theme-color-secondary-background-color" : "Secondary Background Color",
"theme-color-secondary-background-color_Description" : "",
"theme-color-secondary-font-color" : "Secondary Font Color",
"theme-color-secondary-font-color_Description" : "",
"theme-color-smallprint-font-color" : "Small Print Font Color",
"theme-color-smallprint-font-color_Description" : "",
"theme-color-smallprint-hover-color" : "Small Print Hover Color",
"theme-color-smallprint-hover-color_Description" : "",
"theme-color-status-away" : "Away Status Color",
"theme-color-status-away_Description" : "",
"theme-color-status-busy" : "Busy Status Color",
"theme-color-status-busy_Description" : "",
"theme-color-status-offline" : "Offline Status Color",
"theme-color-status-offline_Description" : "",
"theme-color-status-online" : "Online Status Color",
"theme-color-status-online_Description" : "",
"theme-color-tertiary-background-color" : "Tertiary Background Color",
"theme-color-tertiary-background-color_Description" : "",
"theme-color-tertiary-font-color" : "Tertiary Font Color",
"theme-color-tertiary-font-color_Description" : ""
}
...@@ -37,6 +37,19 @@ Package.onUse(function(api) { ...@@ -37,6 +37,19 @@ Package.onUse(function(api) {
api.addAssets('assets/stylesheets/fontello.css', 'server'); api.addAssets('assets/stylesheets/fontello.css', 'server');
api.addAssets('assets/stylesheets/rtl.less', 'server'); api.addAssets('assets/stylesheets/rtl.less', 'server');
api.addAssets('assets/stylesheets/swipebox.min.css', 'server'); api.addAssets('assets/stylesheets/swipebox.min.css', 'server');
// TAPi18n
var _ = Npm.require('underscore');
var fs = Npm.require('fs');
api.use('templating', 'client');
tapi18nFiles = _.compact(_.map(fs.readdirSync('packages/rocketchat-theme/i18n'), function(filename) {
if (fs.statSync('packages/rocketchat-theme/i18n/' + filename).size > 16) {
return 'i18n/' + filename;
}
}));
api.use('tap:i18n@1.6.1', ['client', 'server']);
api.imply('tap:i18n');
api.addFiles(tapi18nFiles, ['client', 'server']);
}); });
Npm.depends({ Npm.depends({
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment