minor adjustments

This commit is contained in:
Aine
2025-06-17 16:26:51 +03:00
parent ddb84fc9cc
commit 26519b9482
4 changed files with 34 additions and 9 deletions

View File

@@ -113,9 +113,10 @@ The following changes are already implemented:
* 🗂️ [Add Users' Account Data tab](https://github.com/etkecc/synapse-admin/pull/276) * 🗂️ [Add Users' Account Data tab](https://github.com/etkecc/synapse-admin/pull/276)
* 🧾 [Make bulk registration CSV import more user-friendly](https://github.com/etkecc/synapse-admin/pull/411) * 🧾 [Make bulk registration CSV import more user-friendly](https://github.com/etkecc/synapse-admin/pull/411)
* 🌐 [Configurable CORS Credentials](https://github.com/etkecc/synapse-admin/pull/456) * 🌐 [Configurable CORS Credentials](https://github.com/etkecc/synapse-admin/pull/456)
* [Do not check homeserver URL during typing in the login form](https://github.com/etkecc/synapse-admin/pull/585) * 🧪 [Do not check homeserver URL during typing in the login form](https://github.com/etkecc/synapse-admin/pull/585)
* [Improve user account status toggles](https://github.com/etkecc/synapse-admin/pull/608) * 🔧 [Improve user account status toggles](https://github.com/etkecc/synapse-admin/pull/608)
* [Validate that password is entered upon reactivation of account](https://github.com/etkecc/synapse-admin/pull/609) * 🛡️ [Validate that password is entered upon reactivation of account](https://github.com/etkecc/synapse-admin/pull/609)
* 🌏 [Add Japanese localization](https://github.com/etkecc/synapse-admin/pull/631)
#### exclusive for [etke.cc](https://etke.cc) customers #### exclusive for [etke.cc](https://etke.cc) customers

View File

@@ -49,9 +49,9 @@ const i18nProvider = polyglotI18nProvider(
{ locale: "fr", name: "Français" }, { locale: "fr", name: "Français" },
{ locale: "it", name: "Italiano" }, { locale: "it", name: "Italiano" },
{ locale: "ja", name: "日本語" }, { locale: "ja", name: "日本語" },
{ locale: "fa", name: "Persian(فارسی)" }, { locale: "fa", name: "Persian (فارسی)" },
{ locale: "ru", name: "Russian(Русский)" }, { locale: "ru", name: "Russian (Русский)" },
{ locale: "zh", name: "简体中文" }, { locale: "zh", name: "Japanese (简体中文)" },
] ]
); );

View File

@@ -61,7 +61,8 @@ const ja: SynapseTranslationMessages = {
at_entry: "エントリー %{entry}: %{message}", at_entry: "エントリー %{entry}: %{message}",
error: "エラー", error: "エラー",
required_field: "必須のフィールド「%{field}」がありません", required_field: "必須のフィールド「%{field}」がありません",
invalid_value: "%{row}行目に不正な値があります。「%{field}」のフィールドには「true」または「false」を指定してください", invalid_value:
"%{row}行目に不正な値があります。「%{field}」のフィールドには「true」または「false」を指定してください",
unreasonably_big: "ファイルは%{size}メガバイトで大きすぎるため、読み込みを行いませんでした", unreasonably_big: "ファイルは%{size}メガバイトで大きすぎるため、読み込みを行いませんでした",
already_in_progress: "インポートを実行しています", already_in_progress: "インポートを実行しています",
id_exits: "ID %{id} は既に存在しています", id_exits: "ID %{id} は既に存在しています",
@@ -347,7 +348,7 @@ const ja: SynapseTranslationMessages = {
action: { action: {
erase: { erase: {
title: "%{id}を削除", title: "%{id}を削除",
content: '「%{name}」を削除してよろしいですか?', content: "「%{name}」を削除してよろしいですか?",
success: "端末を削除しました。", success: "端末を削除しました。",
failure: "エラーが発生しました。", failure: "エラーが発生しました。",
}, },
@@ -414,7 +415,7 @@ const ja: SynapseTranslationMessages = {
send_failure: "エラーが発生しました。", send_failure: "エラーが発生しました。",
}, },
helper: { helper: {
send: 'サーバーの告知を指定したユーザーに送信。「サーバーの告知」機能がサーバーで有効になっている必要があります。', send: "サーバーの告知を指定したユーザーに送信。「サーバーの告知」機能がサーバーで有効になっている必要があります。",
}, },
}, },
user_media_statistics: { user_media_statistics: {

View File

@@ -388,6 +388,13 @@
resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39"
integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==
"@bicstone/ra-language-japanese@^5.6.3":
version "5.6.3"
resolved "https://registry.yarnpkg.com/@bicstone/ra-language-japanese/-/ra-language-japanese-5.6.3.tgz#2ef703ee1453cbf795b4375df70f37c9c4e24359"
integrity sha512-2DMVF0qTzsDy517ls23udvM3eYpO5OiHmokXeXhmg0yYUlF95YgtZ8mwdhp2lP1qukY+xWx1DJCsRoAj0Ife1A==
dependencies:
ra-core ">=4.0.0-alpha.2"
"@cspotcode/source-map-support@^0.8.0": "@cspotcode/source-map-support@^0.8.0":
version "0.8.1" version "0.8.1"
resolved "https://registry.yarnpkg.com/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz#00629c35a688e05a88b1cda684fb9d5e73f000a1" resolved "https://registry.yarnpkg.com/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz#00629c35a688e05a88b1cda684fb9d5e73f000a1"
@@ -4630,6 +4637,22 @@ queue-microtask@^1.2.2:
resolved "https://registry.yarnpkg.com/queue-microtask/-/queue-microtask-1.2.3.tgz#4929228bbc724dfac43e0efb058caf7b6cfb6243" resolved "https://registry.yarnpkg.com/queue-microtask/-/queue-microtask-1.2.3.tgz#4929228bbc724dfac43e0efb058caf7b6cfb6243"
integrity sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A== integrity sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==
ra-core@>=4.0.0-alpha.2:
version "5.8.4"
resolved "https://registry.yarnpkg.com/ra-core/-/ra-core-5.8.4.tgz#1790ca083ed488da63f2f5c973412145dff8eae0"
integrity sha512-UdlhZj9oeGGQDt1dtpDSZ51dXHmZgtooQuhSALLpuCk57Pm/frkF0/JEFIudZGA+2MqVIGAXxaCXNLgeo+d7ZQ==
dependencies:
"@tanstack/react-query" "^5.21.7"
clsx "^2.1.1"
date-fns "^3.6.0"
eventemitter3 "^5.0.1"
inflection "^3.0.0"
jsonexport "^3.2.0"
lodash "^4.17.21"
query-string "^7.1.3"
react-error-boundary "^4.0.13"
react-is "^18.2.0 || ^19.0.0"
ra-core@^4.11.2, ra-core@^4.16.2: ra-core@^4.11.2, ra-core@^4.16.2:
version "4.16.20" version "4.16.20"
resolved "https://registry.yarnpkg.com/ra-core/-/ra-core-4.16.20.tgz#ad11785c706f8256ec0e9d371be2e13c8ca40e80" resolved "https://registry.yarnpkg.com/ra-core/-/ra-core-4.16.20.tgz#ad11785c706f8256ec0e9d371be2e13c8ca40e80"