Merge branch 'main' into chore/chinese-translation

This commit is contained in:
Rainer Simon 2022-07-23 16:30:54 +02:00 committed by GitHub
commit c4ef4de984
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 20 additions and 6 deletions

View File

@ -12,6 +12,7 @@ import messages_fr from './messages_fr.json';
import messages_gl from './messages_gl.json';
import messages_hi from './messages_hi.json';
import messages_it from './messages_it.json';
import messages_ja from './messages_ja.json';
import messages_ko from './messages_ko.json';
import messages_nl from './messages_nl.json';
import messages_pt from './messages_pt.json';
@ -34,6 +35,7 @@ const MESSAGES = {
gl: messages_gl,
hi: messages_hi,
it: messages_it,
ja: messages_ja,
ko: messages_ko,
nl: messages_nl,
pt: messages_pt,
@ -73,6 +75,7 @@ import fr from 'timeago.js/lib/lang/fr';
import gl from 'timeago.js/lib/lang/gl';
import hi from 'timeago.js/lib/lang/hi_IN';
import it from 'timeago.js/lib/lang/it';
import ja from 'timeago.js/lib/lang/ja';
import ko from 'timeago.js/lib/lang/ko';
import nl from 'timeago.js/lib/lang/nl';
import pt from 'timeago.js/lib/lang/pt_BR';
@ -80,9 +83,9 @@ import ru from 'timeago.js/lib/lang/ru';
import sv from 'timeago.js/lib/lang/sv';
import th from 'timeago.js/lib/lang/th';
import tr from 'timeago.js/lib/lang/tr';
// import ur from 'timeago.js/lib/lang/ur'; // Not currently supported by TimeAgo
import zh_CN from 'timeago.js/lib/lang/zh_CN';
import zh_TW from 'timeago.js/lib/lang/zh_TW';
// import ur from 'timeago.js/lib/lang/ur'; // Not currently supported by TimeAgo
timeago.register('ar', ar);
timeago.register('cs', cs);
@ -94,6 +97,7 @@ timeago.register('fr', fr);
timeago.register('gl', gl);
timeago.register('hi', hi);
timeago.register('it', it);
timeago.register('ja', ja);
timeago.register('ko', ko);
timeago.register('nl', nl);
timeago.register('pt', pt);

10
src/i18n/messages_ja.json Normal file
View File

@ -0,0 +1,10 @@
{
"Add a comment...": "コメントを追加する...",
"Add a reply...": "返信する...",
"Add tag...": "タグを追加する...",
"Cancel": "キャンセル",
"Close": "閉じる",
"Edit": "編集",
"Delete": "削除",
"Ok": "Ok"
}