diff --git a/app/js/common/time.js b/app/js/common/time.js index 2a163083..2516e6e3 100644 --- a/app/js/common/time.js +++ b/app/js/common/time.js @@ -37,7 +37,6 @@ } }; var $t = $.timeago; - $.extend($.timeago, { settings: { refreshMillis: 60000, @@ -47,22 +46,22 @@ cutoff: 0, autoDispose: true, strings: { - prefixAgo: null, - prefixFromNow: "今から", - suffixAgo: "", - suffixFromNow: "", - inPast: '', - seconds: "%d秒前", - minute: "1分前", - minutes: "%d分前", - hour: "1時間前", - hours: "%d時間前", - day: "昨日", - days: "%d日前", - month: "昨月", - months: "%dヶ月前", - year: "去年", - years: "%d年前", + prefixAgo: lang.lang_time_prefixAgo, + prefixFromNow: lang.lang_time_prefixFromNow, + suffixAgo: lang.lang_time_suffixAgo, + suffixFromNow: lang.lang_time_suffixFromNow, + inPast: lang.lang_time_inPast, + seconds: lang.lang_time_seconds, + minute: lang.lang_time_minute, + minutes: lang.lang_time_minutes, + hour: lang.lang_time_hour, + hours: lang.lang_time_hours, + day: lang.lang_time_day, + days: lang.lang_time_days, + month: lang.lang_time_month, + months: lang.lang_time_months, + year: lang.lang_time_year, + years: lang.lang_time_years, wordSeparator: " ", numbers: [] } diff --git a/app/js/lang/lang.bg.js b/app/js/lang/lang.bg.js index 4c05e547..34c4357e 100644 --- a/app/js/lang/lang.bg.js +++ b/app/js/lang/lang.bg.js @@ -16,6 +16,22 @@ var lang={ "lang_back": "Назад", "lang_set": "Задай", "lang_langadd": "Преведете TheDesk на други езици или проверете TheDesk на GitHub . TheDesk се нуждае от вашата помощ.", + "lang_time_prefixAgo": null, + "lang_time_prefixFromNow": null, + "lang_time_suffixAgo": null, + "lang_time_suffixFromNow": null, + "lang_time_inPast": null, + "lang_time_seconds": "%d s", + "lang_time_minute": "1 m", + "lang_time_minutes": "%d m", + "lang_time_hour": "1 h", + "lang_time_hours": "%d h", + "lang_time_day": "1 d", + "lang_time_days": "%d d", + "lang_time_month": "1 month", + "lang_time_months": "%d months", + "lang_time_year": "y", + "lang_time_years": "%d y", "lang_version_usever": "Не е намерена актуализация({{ver}})", "lang_version_skipver": "Актуализацията бе игнорирана.", "lang_version_platform": "Искате ли автоматични актуализации? (За потребителите инсталирали от Microsoft Store, изберете „Не“)", @@ -60,6 +76,8 @@ var lang={ "lang_status_unemphas": "'s toots are not emphasized. Please reload after this action.", "lang_status_unendorse": "Not feature on profile", "lang_status_endorse": "Feature on profile", + "lang_status_followers": "Followers", + "lang_status_active": "Last status", "lang_suggest_nodata": "Please get emojis list in order to show suggestion.", "lang_usetxtbox_reply": "Reply Mode. Ctrl+Shift+C to clear.", "lang_cards_check": " check", diff --git a/app/js/lang/lang.cs.js b/app/js/lang/lang.cs.js index 7f235237..b2932067 100644 --- a/app/js/lang/lang.cs.js +++ b/app/js/lang/lang.cs.js @@ -16,6 +16,22 @@ var lang={ "lang_back": "Zpět", "lang_set": "Nastavit", "lang_langadd": "Přeložte TheDesk do jiných jazyků nebo opravte existující překlad na GitHubu nebo Crowdinu. TheDesk potřebuje vaši pomoc.", + "lang_time_prefixAgo": null, + "lang_time_prefixFromNow": null, + "lang_time_suffixAgo": null, + "lang_time_suffixFromNow": null, + "lang_time_inPast": null, + "lang_time_seconds": "%d s", + "lang_time_minute": "1 m", + "lang_time_minutes": "%d m", + "lang_time_hour": "1 h", + "lang_time_hours": "%d h", + "lang_time_day": "1 d", + "lang_time_days": "%d d", + "lang_time_month": "1 month", + "lang_time_months": "%d months", + "lang_time_year": "y", + "lang_time_years": "%d y", "lang_version_usever": "Nebyla nalezena žádná aktualizace ({{ver}})", "lang_version_skipver": "Aktualizace byla ignorována.", "lang_version_platform": "Do you want auto-updates?(users installed on Microsoft Store select 'No')", @@ -60,6 +76,8 @@ var lang={ "lang_status_unemphas": ": tooty tohoto uživatele nejsou zdůrazněny. Po této akci prosím obnovte stránku.", "lang_status_unendorse": "Nepředstavit na profilu", "lang_status_endorse": "Představit na profilu", + "lang_status_followers": "Followers", + "lang_status_active": "Last status", "lang_suggest_nodata": "Pro zobrazení návrhu prosím získejte seznam emoji.", "lang_usetxtbox_reply": "Režim odpovězení. Pro vymazání stiskněte Ctrl+Shift+C.", "lang_cards_check": " kontrolovat", diff --git a/app/js/lang/lang.de.js b/app/js/lang/lang.de.js index 80c53724..a7e22455 100644 --- a/app/js/lang/lang.de.js +++ b/app/js/lang/lang.de.js @@ -16,6 +16,22 @@ var lang={ "lang_back": "Zurück", "lang_set": "Setzen", "lang_langadd": "Übersetzen oder korrigieren Sie TheDesk in andere Sprachen auf GitHub. TheDesk benötigt Ihre Hilfe.", + "lang_time_prefixAgo": null, + "lang_time_prefixFromNow": null, + "lang_time_suffixAgo": null, + "lang_time_suffixFromNow": null, + "lang_time_inPast": null, + "lang_time_seconds": "%d s", + "lang_time_minute": "1 m", + "lang_time_minutes": "%d m", + "lang_time_hour": "1 h", + "lang_time_hours": "%d h", + "lang_time_day": "1 d", + "lang_time_days": "%d d", + "lang_time_month": "1 month", + "lang_time_months": "%d months", + "lang_time_year": "y", + "lang_time_years": "%d y", "lang_version_usever": "Keine Aktualisierung gefunden({{ver}})", "lang_version_skipver": "Update wurde ignoriert.", "lang_version_platform": "Möchten Sie automatische Updates?(Benutzer im Microsoft Store wählen 'Nein')", @@ -60,6 +76,8 @@ var lang={ "lang_status_unemphas": "'s Tröts werden nicht hervorgehoben. Bitte laden Sie nach dieser Aktion neu.", "lang_status_unendorse": "Nicht auf dem Profil zeigen", "lang_status_endorse": "Auf dem Profil zeigen", + "lang_status_followers": "Followers", + "lang_status_active": "Last status", "lang_suggest_nodata": "Please get emojis list in order to show suggestion.", "lang_usetxtbox_reply": "Antwortmodus. Strg+Umschalt+C zum Löschen.", "lang_cards_check": " überprüfen", diff --git a/app/js/lang/lang.en.js b/app/js/lang/lang.en.js index 1433d82b..ef4ceec7 100644 --- a/app/js/lang/lang.en.js +++ b/app/js/lang/lang.en.js @@ -18,6 +18,23 @@ var lang = { "lang_back": "Back", "lang_set": "Set", "lang_langadd": "Translate TheDesk to other languages or proofread TheDesk on GitHub. TheDesk needs your help.", + //common/time.js + "lang_time_prefixAgo": null, + "lang_time_prefixFromNow": null, + "lang_time_suffixAgo": null, + "lang_time_suffixFromNow": null, + "lang_time_inPast": null, + "lang_time_seconds": "%d s", + "lang_time_minute": "1 m", + "lang_time_minutes": "%d m", + "lang_time_hour": "1 h", + "lang_time_hours": "%d h", + "lang_time_day": "1 d", + "lang_time_days": "%d d", + "lang_time_month": "1 month", + "lang_time_months": "%d months", + "lang_time_year": "y", + "lang_time_years": "%d y", //common/version.js "lang_version_usever": "No update is found({{ver}})", "lang_version_skipver": "Update was ignored.", @@ -72,6 +89,8 @@ var lang = { "lang_status_unemphas": "'s toots are not emphasized. Please reload after this action.", "lang_status_unendorse": "Not feature on profile", "lang_status_endorse": "Feature on profile", + "lang_status_followers": "Followers", + "lang_status_active": "Last status", //post/suggest.js "lang_suggest_nodata": "Please get emojis list in order to show suggestion.", //post/use-txtbox.js @@ -132,8 +151,8 @@ var lang = { "lang_layout_excludingbt": "Show BT mode(OFF/Exclude BT/Only BT)", "lang_layout_leftFold": "Stack to the left", "lang_layout_leftUnfold": "Dock on the right", - "lang_layout_deleteColumn":"Delete this column", - "lang_layout_deleteColumnDesc":"Delete this column", + "lang_layout_deleteColumn": "Delete this column", + "lang_layout_deleteColumnDesc": "Delete this column", //ui/sort.js "lang_sort_gothis": "Go to this column", "lang_sort_remthis": "Delete this column", @@ -202,7 +221,7 @@ var lang = { "lang_parse_thread": "Show thread", "lang_parse_unknown": "Attached file", "lang_parse_nsfw": "sensitive media", - "lang_parse_notffilter":"Show this user's notifications", + "lang_parse_notffilter": "Show this user's notifications", //misskey "lang_misskeyparse_renote": "Repost", "lang_misskeyparse_renoteqt": "Renote", diff --git a/app/js/lang/lang.ja.js b/app/js/lang/lang.ja.js index 326a282f..c799f0d7 100644 --- a/app/js/lang/lang.ja.js +++ b/app/js/lang/lang.ja.js @@ -18,6 +18,23 @@ var lang = { "lang_back": "戻る", "lang_set": "設定", "lang_langadd": "GitHubから翻訳に参加できます。英語の校正(緊急)や他言語に翻訳していただける方を募集しております。", + //common/time.js + "lang_time_prefixAgo": null, + "lang_time_prefixFromNow": "今から", + "lang_time_suffixAgo": "", + "lang_time_suffixFromNow": "", + "lang_time_inPast": '', + "lang_time_seconds": "%d秒前", + "lang_time_minute": "1分前", + "lang_time_minutes": "%d分前", + "lang_time_hour": "1時間前", + "lang_time_hours": "%d時間前", + "lang_time_day": "昨日", + "lang_time_days": "%d日前", + "lang_time_month": "昨月", + "lang_time_months": "%dヶ月前", + "lang_time_year": "去年", + "lang_time_years": "%d年前", //common/version.js "lang_version_usever": "お使いのバージョン{{ver}}は最新です。", "lang_version_skipver": "アップデートはスキップされました。", @@ -72,6 +89,8 @@ var lang = { "lang_status_unemphas": "を強調解除します。リロードしてください。", "lang_status_unendorse": "紹介解除", "lang_status_endorse": "プロフで紹介する", + "lang_status_followers": "フォロワー", + "lang_status_active": "最新トゥート", //post/suggest.js "lang_suggest_nodata": "サジェストのために絵文字リストを取得してください。", //post/use-txtbox.js