Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
Rocket.Chat
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RocketChat
Rocket.Chat
Commits
055b0b37
Commit
055b0b37
authored
9 years ago
by
Olivier Beddows
Committed by
Oliver Beddows
9 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Configuring rocketchat-theme translations.
Adding initial en.i18n translations.
parent
7da62d74
Loading
Loading
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
packages/rocketchat-theme/i18n/en.i18n.json
+45
-0
45 additions, 0 deletions
packages/rocketchat-theme/i18n/en.i18n.json
packages/rocketchat-theme/package.js
+13
-0
13 additions, 0 deletions
packages/rocketchat-theme/package.js
with
58 additions
and
0 deletions
packages/rocketchat-theme/i18n/en.i18n.json
0 → 100644
+
45
−
0
View file @
055b0b37
{
"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"
:
""
}
This diff is collapsed.
Click to expand it.
packages/rocketchat-theme/package.js
+
13
−
0
View file @
055b0b37
...
@@ -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
({
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment