Skip to content

Commit

Permalink
Moving localization strings to a separate repository
Browse files Browse the repository at this point in the history
  • Loading branch information
minhducsun2002 committed Apr 18, 2019
1 parent 2b81d3d commit 078fa99
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 298 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "src/strings/hestia-l10n"]
path = src/strings/hestia-l10n
url = https://github.com/vnma0/hestia-l10n
2 changes: 1 addition & 1 deletion src/app/globalStatusBar/userSetting/userSettingDialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import PasswordChangeDialog from './passwordChange/passwordChangeDialog.js';
import LocaleChange from './localeChange/localeChange.js';
import { fade } from '../lib/libTransition.js';

import { supportedLanguages } from '../../../l10n-loader.js';
import { supportedLanguages } from '../../../strings/hestia-l10n/l10n-loader.js';

import LocalizedMessage from 'react-l10n';

Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { BrowserRouter as Router, Route } from 'react-router-dom';
import { LocalizationProvider } from 'react-l10n';
import * as Cookies from 'js-cookie';

import { translations } from './l10n-loader.js';
import { translations } from './strings/hestia-l10n/l10n-loader.js';

import GlobalStatusBar from './app/globalStatusBar/globalStatusBar.js';
import Sidenav from './app/sidenav/sidenav.js';
Expand Down
20 changes: 0 additions & 20 deletions src/l10n-loader.js

This file was deleted.

138 changes: 0 additions & 138 deletions src/strings/global/en-US.json

This file was deleted.

138 changes: 0 additions & 138 deletions src/strings/global/vi-VN.json

This file was deleted.

1 change: 1 addition & 0 deletions src/strings/hestia-l10n
Submodule hestia-l10n added at e93a8f

0 comments on commit 078fa99

Please sign in to comment.