Commit Graph
674 Commits
Author SHA1 Message Date
pralor 776cc69ca0 New translations query-log.json (Greek)
Signed-off-by: pralor <pralor-bot@pi-hole.net>
2019-02-14 06:10:21 -06:00
pralor a5f51f1fcc New translations settings.json (Greek)
Signed-off-by: pralor <pralor-bot@pi-hole.net>
2019-02-14 06:10:20 -06:00
pralor 56fb68f0a0 New translations common.json (Romanian)
Signed-off-by: pralor <pralor-bot@pi-hole.net>
2019-02-14 06:10:19 -06:00
pralor b796bbb9a8 New translations api-errors.json (Greek)
Signed-off-by: pralor <pralor-bot@pi-hole.net>
2019-02-14 06:10:18 -06:00
pralor 3e34d7ff99 New translations common.json (Catalan)
Signed-off-by: pralor <pralor-bot@pi-hole.net>
2019-02-14 06:10:17 -06:00
pralor 1b8468027c New translations login.json (Danish)
Signed-off-by: pralor <pralor-bot@pi-hole.net>
2019-02-14 06:10:16 -06:00
pralor 3c7088ff78 New translations lists.json (Danish)
Signed-off-by: pralor <pralor-bot@pi-hole.net>
2019-02-14 06:10:15 -06:00
pralor 2f89fb59c9 New translations footer.json (Catalan)
Signed-off-by: pralor <pralor-bot@pi-hole.net>
2019-02-14 06:10:14 -06:00
pralor 130a66ef8d New translations lists.json (Catalan)
Signed-off-by: pralor <pralor-bot@pi-hole.net>
2019-02-14 06:10:13 -06:00
pralor c6aadddd3c New translations location.json (Catalan)
Signed-off-by: pralor <pralor-bot@pi-hole.net>
2019-02-14 06:10:11 -06:00
pralor 95ed01f840 New translations preferences.json (Catalan)
Signed-off-by: pralor <pralor-bot@pi-hole.net>
2019-02-14 06:10:09 -06:00
pralor 72381b3681 New translations query-log.json (Catalan)
Signed-off-by: pralor <pralor-bot@pi-hole.net>
2019-02-14 06:10:08 -06:00
pralor aadceb94bf New translations settings.json (Catalan)
Signed-off-by: pralor <pralor-bot@pi-hole.net>
2019-02-14 06:10:07 -06:00
pralor ec53539af2 New translations api-errors.json (Czech)
Signed-off-by: pralor <pralor-bot@pi-hole.net>
2019-02-14 06:10:06 -06:00
pralor 673b4b7508 New translations common.json (Czech)
Signed-off-by: pralor <pralor-bot@pi-hole.net>
2019-02-14 06:10:05 -06:00
pralor 6e773bef87 New translations dashboard.json (Czech)
Signed-off-by: pralor <pralor-bot@pi-hole.net>
2019-02-14 06:10:04 -06:00
pralor 6551e30708 New translations location.json (Danish)
Signed-off-by: pralor <pralor-bot@pi-hole.net>
2019-02-14 06:10:03 -06:00
pralor 6e2b6c6450 New translations footer.json (Czech)
Signed-off-by: pralor <pralor-bot@pi-hole.net>
2019-02-14 06:10:02 -06:00
pralor 9584675a48 New translations location.json (Czech)
Signed-off-by: pralor <pralor-bot@pi-hole.net>
2019-02-14 06:10:01 -06:00
pralor 885d2e919d New translations login.json (Czech)
Signed-off-by: pralor <pralor-bot@pi-hole.net>
2019-02-14 06:10:00 -06:00
pralor 8e00f8e1eb New translations preferences.json (Czech)
Signed-off-by: pralor <pralor-bot@pi-hole.net>
2019-02-14 06:09:59 -06:00
pralor 4b259a922a New translations query-log.json (Czech)
Signed-off-by: pralor <pralor-bot@pi-hole.net>
2019-02-14 06:09:58 -06:00
pralor a181c4b7ef New translations settings.json (Czech)
Signed-off-by: pralor <pralor-bot@pi-hole.net>
2019-02-14 06:09:57 -06:00
pralor 183eaa3dbe New translations api-errors.json (Danish)
Signed-off-by: pralor <pralor-bot@pi-hole.net>
2019-02-14 06:09:56 -06:00
pralor f7f43ad901 New translations common.json (Danish)
Signed-off-by: pralor <pralor-bot@pi-hole.net>
2019-02-14 06:09:55 -06:00
pralor 02af5e2390 New translations dashboard.json (Danish)
Signed-off-by: pralor <pralor-bot@pi-hole.net>
2019-02-14 06:09:54 -06:00
pralor 55a7cf0073 New translations footer.json (Danish)
Signed-off-by: pralor <pralor-bot@pi-hole.net>
2019-02-14 06:09:53 -06:00
pralor ed4d4685f4 New translations lists.json (Czech)
Signed-off-by: pralor <pralor-bot@pi-hole.net>
2019-02-14 06:09:53 -06:00
pralor 09b30d4b86 New translations api-errors.json (Romanian)
Signed-off-by: pralor <pralor-bot@pi-hole.net>
2019-02-14 06:09:51 -06:00
Mark Drobnak 70b95b5920 Merge pull request #144 from pi-hole/feature/crowdin
Add Crowdin support
2019-02-13 22:55:57 -05:00
Mcat12 48d4312ddb Add Crowdin support
This adds the crowdin.yml config file, and supports their export format.
Specifically, if a string is not translated, Crowdin exports it as an
empty string. The `returnEmptyString` i18next config option handles this
case.

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2019-02-13 18:10:15 -08:00
Mark Drobnak 1d38f01587 Merge pull request #142 from pi-hole/feature/typescript
Convert to TypeScript
2019-01-25 00:19:25 -05:00
Mcat12 1a6bc0ae51 Fix language.json import
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2019-01-24 21:15:59 -08:00
Mcat12 7323c4d618 Merge branch 'development' into feature/typescript 2019-01-24 21:12:47 -08:00
Mcat12 e304eae619 Move API type definitions to new api.d.ts file
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2019-01-24 21:08:59 -08:00
Mcat12 3134c8101d Convert dashboard components to TypeScript
Also fixed the format check to use TypeScript files.

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2019-01-24 20:57:51 -08:00
Mcat12 0af3e21ab2 Convert settings components to TypeScript
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2019-01-23 22:06:38 -08:00
Mcat12 dbfd6b6c28 Convert ForgotPassword to Typescript
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2019-01-23 21:01:34 -08:00
Mcat12 35e0c3af7e Convert the query log to TypeScript
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2019-01-23 20:59:13 -08:00
Mcat12 f9270074a4 Convert the list components to TypeScript
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2019-01-23 20:33:06 -08:00
Mcat12 5e7539bf83 Convert the rest of the common components to TypeScript
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2019-01-23 19:53:13 -08:00
Mcat12 383b6cddbe Convert some common components to TypeScript
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2019-01-21 18:19:29 -08:00
Mcat12 64a0dd4f60 Convert the Full.js container component
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2019-01-21 17:50:47 -08:00
Mcat12 f2841ff1ab Convert the util files to TypeScript
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2019-01-21 17:30:32 -08:00
Mark Drobnak 923daa36cf Merge pull request #140 from pi-hole/tweak/language-list-gen
Move language list generation out of update-translations.js
2019-01-21 19:23:37 -05:00
Mcat12 37c9e6a487 Move language list generation out of update-translations.js
Also moved the scripts into a new scripts folder.

The language list generation is independent of the parsing we do for
POEditor. This also makes it easier to move to a different translation
service while keeping the languages.json generation.

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2019-01-21 16:21:14 -08:00
Mark Drobnak 9b5ed25e74 Merge pull request #139 from pi-hole/tweak/i18n-language-whitelist
Use the generated list of languages to avoid 404 errors
2019-01-21 19:07:45 -05:00
Mcat12 a21eadea1a Use the generated list of languages to avoid 404 errors
If the user's language is detected to be a language not supported (for
example, en-US), then previously it would try to load the translation
files for that language, and fail with 404s. Now it will only use the
language if it is supported (instead of en-US, it will use en because
that is in the list).

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2019-01-21 15:55:41 -08:00
Mark Drobnak 31dee2dd82 Merge pull request #138 from pi-hole/fix/missing-web-endpoint
Add web preferences endpoint to fake data
2019-01-21 18:53:38 -05:00
Mcat12 ad1a37d985 Add web preferences endpoint to fake data
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2019-01-21 15:51:33 -08:00