-
-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e503553
commit 2e13ca8
Showing
10 changed files
with
552 additions
and
323 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
{ | ||
"&File": "&File", | ||
"Force &Reload": "Force &Reload", | ||
"&Quit": "&Quit", | ||
"&Edit": "&Edit", | ||
"Undo": "Undo", | ||
"Redo": "Redo", | ||
"Cut": "Cut", | ||
"Copy": "Copy", | ||
"Paste": "Paste", | ||
"Select All": "Select All", | ||
"Language": "Language", | ||
"en": "English (en)", | ||
"hi": "हिंदी (hi)", | ||
"Tab": "Tab", | ||
"Add New Tab": "Add New Tab", | ||
"Edit Active Tab": "Edit Active Tab", | ||
"Close Active Tab": "Close Active Tab", | ||
"Open Tab DevTools": "Open Tab DevTools", | ||
"Restore Tab": "Restore Tab", | ||
"Go to Next Tab": "Go to Next Tab", | ||
"Go to Previous Tab": "Go to Previous Tab", | ||
"Go to First Tab": "Go to First Tab", | ||
"Go to Last Tab": "Go to Last Tab", | ||
"&View": "&View", | ||
"Toggle Fullscreen": "Toggle Fullscreen", | ||
"Toggle Tab Bar": "Toggle Tab Bar", | ||
"Themes": "Themes", | ||
"Theme Manager": "Theme Manager", | ||
"&Settings": "&Settings", | ||
"&Help": "&Help", | ||
"&About": "&About", | ||
"Donate": "Donate", | ||
"Check For &Updates": "Check For &Updates", | ||
"Links": "Links", | ||
"Report Bugs/Issues": "Report Bugs/Issues", | ||
"Website": "Website", | ||
"Repository": "Repository", | ||
"Open &DevTools": "Open &DevTools" | ||
} |
Empty file.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
{ | ||
"&File": "फ़ाइल", | ||
"Force &Reload": "रीलोड करें", | ||
"&Quit": "बंद करे", | ||
"&Edit": "बदल", | ||
"Undo": "पूर्ववत् करें", | ||
"Redo": "फिर से करें", | ||
"Cut": "कट करें", | ||
"Copy": "कापी करें", | ||
"Paste": "पेस्ट करें", | ||
"Select All": "सभी का चयन करे", | ||
"Language": "भाषा", | ||
"en": "English (en)", | ||
"hi": "हिंदी (hi)", | ||
"Tab": "Tab", | ||
"Add New Tab": "नया टैब खोलें", | ||
"Edit Active Tab": "मौजूदा टैब बदलें", | ||
"Close Active Tab": "मौजूदा टैब बंद करें", | ||
"Open Tab DevTools": "टैब DevTools खोलें", | ||
"Restore Tab": "पिछला टैब पुनः खोलें", | ||
"Go to Next Tab": "अगले टैब पर जाएँ", | ||
"Go to Previous Tab": "पिछले टैब पर जाएँ", | ||
"Go to First Tab": "पहले टैब पर जाएँ", | ||
"Go to Last Tab": "आखरी टैब पर जाएँ", | ||
"&View": "दृश्य", | ||
"Toggle Fullscreen": "Toggle Fullscreen", | ||
"Toggle Tab Bar": "Toggle Tab Bar", | ||
"Themes": "दिखावट", | ||
"Theme Manager": "Theme Manager", | ||
"&Settings": "सेटिंग्स", | ||
"&Help": "मदद", | ||
"&About": "Altus के बारे में", | ||
"Donate": "योगदान करें", | ||
"Check For &Updates": "अपडेट के लिये जांचें", | ||
"Links": "लिंक", | ||
"Report Bugs/Issues": "समस्या की सूचना दें", | ||
"Website": "वेबसाइट", | ||
"Repository": "GitHub", | ||
"Open &DevTools": "DevTools खोलें" | ||
} |
Empty file.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
const i18n = require("i18next"); | ||
const backend = require("i18next-node-fs-backend"); | ||
const langConf = require("./lang.conf"); | ||
|
||
const i18nOptions = { | ||
backend: { | ||
loadPath: "./locales/{{lng}}/{{ns}}.json", | ||
addPath: "./locales/{{lng}}/{{ns}}.missing.json", | ||
jsonIndent: 2, | ||
}, | ||
interpolation: { | ||
espaceValue: true, | ||
}, | ||
saveMissing: true, | ||
fallbackLng: langConf.fallbackLang, | ||
whitelist: langConf.languages, | ||
react: { | ||
wait: false, | ||
}, | ||
}; | ||
|
||
i18n.use(backend); | ||
|
||
module.exports = { i18n, i18nOptions }; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
module.exports = { | ||
languages: ["en", "hi"], | ||
fallbackLang: "en", | ||
namespace: "translation", | ||
}; |
Oops, something went wrong.