mirror of
https://github.com/tooot-app/app
synced 2025-04-04 13:42:00 +02:00
Added Japanese
This commit is contained in:
parent
29b39ea5ac
commit
535268c680
@ -4,12 +4,19 @@
|
|||||||
|
|
||||||
  
|
  
|
||||||
|
|
||||||
|
## Contribute to translation
|
||||||
|
|
||||||
|
Please **do not** create a pull request to update translation. tooot's translation is managed through [https://crowdin.tooot.app/](https://crowdin.tooot.app/) and Crowdin struggles to properly sync two ways. If there is a minor update and you do not want to register an account on Crowdin, please open an issue.
|
||||||
|
|
||||||
|
|
||||||
## Special thanks
|
## Special thanks
|
||||||
|
|
||||||
[@forenta](https://github.com/forenta) for German translation
|
[@forenta](https://github.com/forenta) for German translation
|
||||||
|
|
||||||
[@andrigamerita](https://github.com/andrigamerita) for Italian translation
|
[@andrigamerita](https://github.com/andrigamerita) for Italian translation
|
||||||
|
|
||||||
|
[@Hikaru](https://github.com/Hikali-47041) and [@la_la](https://mstdn.jp/@la_la_la) for Japanese translation
|
||||||
|
|
||||||
[@hellojaccc](https://github.com/hellojaccc) for Korean translation
|
[@hellojaccc](https://github.com/hellojaccc) for Korean translation
|
||||||
|
|
||||||
[@luizpicolo](https://github.com/luizpicolo) for Brazilian Portuguese
|
[@luizpicolo](https://github.com/luizpicolo) for Brazilian Portuguese
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
languages(['zh-Hans', 'vi', 'ko', 'en-US', 'de-DE'])
|
languages(['de-DE', 'en-US', 'it', 'ko', 'pt-BR', 'vi', 'zh-Hans'])
|
||||||
|
|
||||||
name({
|
name({
|
||||||
'default' => "tooot"
|
'default' => "tooot"
|
||||||
|
@ -4,6 +4,7 @@ import { initReactI18next } from 'react-i18next'
|
|||||||
import de from '@root/i18n/de/_all'
|
import de from '@root/i18n/de/_all'
|
||||||
import en from '@root/i18n/en/_all'
|
import en from '@root/i18n/en/_all'
|
||||||
import it from '@root/i18n/it/_all'
|
import it from '@root/i18n/it/_all'
|
||||||
|
import ja from '@root/i18n/ja/_all'
|
||||||
import ko from '@root/i18n/ko/_all'
|
import ko from '@root/i18n/ko/_all'
|
||||||
import pt_BR from '@root/i18n/pt_BR/_all'
|
import pt_BR from '@root/i18n/pt_BR/_all'
|
||||||
import vi from '@root/i18n/vi/_all'
|
import vi from '@root/i18n/vi/_all'
|
||||||
@ -16,6 +17,7 @@ import '@formatjs/intl-pluralrules/polyfill'
|
|||||||
import '@formatjs/intl-pluralrules/locale-data/de'
|
import '@formatjs/intl-pluralrules/locale-data/de'
|
||||||
import '@formatjs/intl-pluralrules/locale-data/en'
|
import '@formatjs/intl-pluralrules/locale-data/en'
|
||||||
import '@formatjs/intl-pluralrules/locale-data/it'
|
import '@formatjs/intl-pluralrules/locale-data/it'
|
||||||
|
import '@formatjs/intl-pluralrules/locale-data/ja'
|
||||||
import '@formatjs/intl-pluralrules/locale-data/ko'
|
import '@formatjs/intl-pluralrules/locale-data/ko'
|
||||||
import '@formatjs/intl-pluralrules/locale-data/pt'
|
import '@formatjs/intl-pluralrules/locale-data/pt'
|
||||||
import '@formatjs/intl-pluralrules/locale-data/vi'
|
import '@formatjs/intl-pluralrules/locale-data/vi'
|
||||||
@ -25,6 +27,7 @@ import '@formatjs/intl-numberformat/polyfill'
|
|||||||
import '@formatjs/intl-numberformat/locale-data/de'
|
import '@formatjs/intl-numberformat/locale-data/de'
|
||||||
import '@formatjs/intl-numberformat/locale-data/en'
|
import '@formatjs/intl-numberformat/locale-data/en'
|
||||||
import '@formatjs/intl-numberformat/locale-data/it'
|
import '@formatjs/intl-numberformat/locale-data/it'
|
||||||
|
import '@formatjs/intl-numberformat/locale-data/ja'
|
||||||
import '@formatjs/intl-numberformat/locale-data/ko'
|
import '@formatjs/intl-numberformat/locale-data/ko'
|
||||||
import '@formatjs/intl-numberformat/locale-data/pt'
|
import '@formatjs/intl-numberformat/locale-data/pt'
|
||||||
import '@formatjs/intl-numberformat/locale-data/vi'
|
import '@formatjs/intl-numberformat/locale-data/vi'
|
||||||
@ -34,6 +37,7 @@ import '@formatjs/intl-datetimeformat/polyfill'
|
|||||||
import '@formatjs/intl-datetimeformat/locale-data/de'
|
import '@formatjs/intl-datetimeformat/locale-data/de'
|
||||||
import '@formatjs/intl-datetimeformat/locale-data/en'
|
import '@formatjs/intl-datetimeformat/locale-data/en'
|
||||||
import '@formatjs/intl-datetimeformat/locale-data/it'
|
import '@formatjs/intl-datetimeformat/locale-data/it'
|
||||||
|
import '@formatjs/intl-datetimeformat/locale-data/ja'
|
||||||
import '@formatjs/intl-datetimeformat/locale-data/ko'
|
import '@formatjs/intl-datetimeformat/locale-data/ko'
|
||||||
import '@formatjs/intl-datetimeformat/locale-data/pt'
|
import '@formatjs/intl-datetimeformat/locale-data/pt'
|
||||||
import '@formatjs/intl-datetimeformat/locale-data/vi'
|
import '@formatjs/intl-datetimeformat/locale-data/vi'
|
||||||
@ -44,6 +48,7 @@ import '@formatjs/intl-relativetimeformat/polyfill'
|
|||||||
import '@formatjs/intl-relativetimeformat/locale-data/de'
|
import '@formatjs/intl-relativetimeformat/locale-data/de'
|
||||||
import '@formatjs/intl-relativetimeformat/locale-data/en'
|
import '@formatjs/intl-relativetimeformat/locale-data/en'
|
||||||
import '@formatjs/intl-relativetimeformat/locale-data/it'
|
import '@formatjs/intl-relativetimeformat/locale-data/it'
|
||||||
|
import '@formatjs/intl-relativetimeformat/locale-data/ja'
|
||||||
import '@formatjs/intl-relativetimeformat/locale-data/ko'
|
import '@formatjs/intl-relativetimeformat/locale-data/ko'
|
||||||
import '@formatjs/intl-relativetimeformat/locale-data/pt'
|
import '@formatjs/intl-relativetimeformat/locale-data/pt'
|
||||||
import '@formatjs/intl-relativetimeformat/locale-data/vi'
|
import '@formatjs/intl-relativetimeformat/locale-data/vi'
|
||||||
@ -56,7 +61,7 @@ i18n.use(initReactI18next).init({
|
|||||||
ns: ['common'],
|
ns: ['common'],
|
||||||
defaultNS: 'common',
|
defaultNS: 'common',
|
||||||
|
|
||||||
resources: { 'zh-Hans': zh_Hans, vi, 'pt-BR': pt_BR, ko, it, en, de },
|
resources: { de, en, it, ja, ko, 'pt-BR': pt_BR, vi, 'zh-Hans': zh_Hans },
|
||||||
returnEmptyString: false,
|
returnEmptyString: false,
|
||||||
|
|
||||||
saveMissing: true,
|
saveMissing: true,
|
||||||
|
18
src/i18n/ja/_all.ts
Normal file
18
src/i18n/ja/_all.ts
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
export default {
|
||||||
|
common: require('./common'),
|
||||||
|
|
||||||
|
screens: require('./screens'),
|
||||||
|
screenActions: require('./screens/actions'),
|
||||||
|
screenAnnouncements: require('./screens/announcements'),
|
||||||
|
screenCompose: require('./screens/compose'),
|
||||||
|
screenImageViewer: require('./screens/imageViewer'),
|
||||||
|
screenTabs: require('./screens/tabs'),
|
||||||
|
|
||||||
|
componentContextMenu: require('./components/contextMenu'),
|
||||||
|
componentEmojis: require('./components/emojis'),
|
||||||
|
componentInstance: require('./components/instance'),
|
||||||
|
componentMediaSelector: require('./components/mediaSelector'),
|
||||||
|
componentParse: require('./components/parse'),
|
||||||
|
componentRelationship: require('./components/relationship'),
|
||||||
|
componentTimeline: require('./components/timeline')
|
||||||
|
}
|
@ -2,6 +2,7 @@ const LOCALES = {
|
|||||||
de: 'Deutsch',
|
de: 'Deutsch',
|
||||||
en: 'English',
|
en: 'English',
|
||||||
it: 'Italiano',
|
it: 'Italiano',
|
||||||
|
ja: '日本語',
|
||||||
ko: '한국어',
|
ko: '한국어',
|
||||||
'pt-BR': 'Português (Brasil)',
|
'pt-BR': 'Português (Brasil)',
|
||||||
vi: 'Tiếng Việt',
|
vi: 'Tiếng Việt',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user