* Split translations between EW and shared components Uses update module API with global TranslationKey type that can be overridden. WIP. * Removed the wrong script (for now) * Add the type files * Add shared components i18n file * More i18n strings * Add i18n check for shared conmponents * Needs a different name * rerun i18n for merge from develop, fix test * Move translated strings to shared components file NB. there are lots of removed strings for a few languages where we seem to have hit a localazy bug or something where the key/value for plurals got switched, making the translations invalid. They've been missing for a while so I'm removing them rather than trying to restore them, * Add shared components files to localazy * Merge element web & shared component translations for the built app * Use right translations for shared component tests and fix missign en_EN strings * Pull shared components translations too * Fix/disable warnings * We can now remove the build:res call ...right? (right?) * Remove webpack import for languages index ..and just load it using a relative path which we do for the individual language files and also did anyway for the index because even in non-test it was an object, not a string, so we always usesd the 'test' code path. * Make the storybook language selector work ...without referring to the parent app's files * Revert unnecessary yarn lock change * Typo Co-authored-by: Michael Telatynski <7t3chguy@gmail.com> * Add comment on why we use merge * Fix localazy download config to actually put the translations in the right place * Better typescript syntax Co-authored-by: Michael Telatynski <7t3chguy@gmail.com> * Watch both translations files --------- Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
36 lines
1.2 KiB
JSON
36 lines
1.2 KiB
JSON
{
|
|
"action": {
|
|
"delete": "刪除",
|
|
"dismiss": "關閉",
|
|
"explore_rooms": "探索聊天室",
|
|
"pause": "暫停",
|
|
"play": "播放",
|
|
"search": "搜尋"
|
|
},
|
|
"left_panel": {
|
|
"open_dial_pad": "開啟撥號鍵盤"
|
|
},
|
|
"time": {
|
|
"about_day_ago": "大約一天前",
|
|
"about_hour_ago": "大約一小時前",
|
|
"about_minute_ago": "大約一分鐘前",
|
|
"few_seconds_ago": "數秒前",
|
|
"in_about_day": "從現在開始大約一天",
|
|
"in_about_hour": "從現在開始大約一小時",
|
|
"in_about_minute": "從現在開始大約一分鐘",
|
|
"in_few_seconds": "從現在開始數秒鐘",
|
|
"in_n_days": "從現在開始 %(num)s 天",
|
|
"in_n_hours": "從現在開始 %(num)s 小時",
|
|
"in_n_minutes": "從現在開始 %(num)s 分鐘",
|
|
"n_days_ago": "%(num)s 天前",
|
|
"n_hours_ago": "%(num)s 小時前",
|
|
"n_minutes_ago": "%(num)s 分鐘前"
|
|
},
|
|
"timeline": {
|
|
"m.audio": {
|
|
"error_downloading_audio": "下載音訊時發生錯誤",
|
|
"unnamed_audio": "未命名的音訊"
|
|
}
|
|
}
|
|
}
|