Move text into translation files
This commit is contained in:
parent
941a200f35
commit
f028795483
@ -621,6 +621,7 @@ unsetUserBanner: "Unset banner"
|
||||
unsetUserBannerConfirm: "Are you sure you want to unset the banner?"
|
||||
deleteAllFiles: "Delete all files"
|
||||
deleteAllFilesConfirm: "Are you sure that you want to delete all files?"
|
||||
deleteAllFilesQueued: "Deletion of all files queued"
|
||||
removeAllFollowing: "Unfollow all followed users"
|
||||
removeAllFollowingDescription: "Executing this unfollows all accounts from {host}. Please run this if the instance e.g. no longer exists."
|
||||
userSuspended: "This user has been suspended."
|
||||
@ -1331,7 +1332,9 @@ sensitiveMediaRevealConfirm: "This media might be sensitive. Are you sure you wa
|
||||
createdLists: "Created lists"
|
||||
createdAntennas: "Created antennas"
|
||||
severAllFollowRelations: "Break following relationships"
|
||||
severAllFollowRelationsConfirm: "Really break all follow relationships? This is irreversible!"
|
||||
severAllFollowRelationsConfirm: "Really break all follow relationships? This is irreversible! This will break {followingCount} following and {followersCount} follower relations on {instanceName}!"
|
||||
severAllFollowRelationsQueued: "Severing all follow relations with {host} queued."
|
||||
|
||||
_delivery:
|
||||
status: "Delivery status"
|
||||
stop: "Suspend delivery"
|
||||
|
12
locales/index.d.ts
vendored
12
locales/index.d.ts
vendored
@ -2500,6 +2500,10 @@ export interface Locale extends ILocale {
|
||||
* すべてのファイルを削除しますか?
|
||||
*/
|
||||
"deleteAllFilesConfirm": string;
|
||||
/**
|
||||
* キューに入れられたすべてのファイルの削除
|
||||
*/
|
||||
"deleteAllFilesQueued": string;
|
||||
/**
|
||||
* フォローを全解除
|
||||
*/
|
||||
@ -5342,9 +5346,13 @@ export interface Locale extends ILocale {
|
||||
*/
|
||||
"severAllFollowRelations": string;
|
||||
/**
|
||||
* 本当にすべての関係を断ち切りたいのですか?これは不可逆的だ。
|
||||
* すべての人間関係を壊す?これは不可逆です!これは{instanceName}の{followingCount}フォローと{followersCount}フォロワーの関係を壊す!
|
||||
*/
|
||||
"severAllFollowRelationsConfirm": string;
|
||||
"severAllFollowRelationsConfirm": ParameterizedString<"instanceName" | "followingCount" | "followersCount">;
|
||||
/**
|
||||
* キューに入れられた{host}とのすべてのフォロー関係を切断する。
|
||||
*/
|
||||
"severAllFollowRelationsQueued": ParameterizedString<"host">;
|
||||
"_delivery": {
|
||||
/**
|
||||
* 配信状態
|
||||
|
@ -621,6 +621,7 @@ unsetUserBanner: "バナーを解除"
|
||||
unsetUserBannerConfirm: "バナーを解除しますか?"
|
||||
deleteAllFiles: "すべてのファイルを削除"
|
||||
deleteAllFilesConfirm: "すべてのファイルを削除しますか?"
|
||||
deleteAllFilesQueued: "キューに入れられたすべてのファイルの削除"
|
||||
removeAllFollowing: "フォローを全解除"
|
||||
removeAllFollowingDescription: "{host}からのフォローをすべて解除します。そのサーバーがもう存在しなくなった場合などに実行してください。"
|
||||
userSuspended: "このユーザーは凍結されています。"
|
||||
@ -1331,7 +1332,8 @@ sensitiveMediaRevealConfirm: "センシティブなメディアです。表示
|
||||
createdLists: "作成したリスト"
|
||||
createdAntennas: "作成したアンテナ"
|
||||
severAllFollowRelations: "以下の関係をすべて断ち切る"
|
||||
severAllFollowRelationsConfirm: "本当にすべての関係を断ち切りたいのですか?これは不可逆的だ。"
|
||||
severAllFollowRelationsConfirm: "すべての人間関係を壊す?これは不可逆です!これは{instanceName}の{followingCount}フォローと{followersCount}フォロワーの関係を壊す!"
|
||||
severAllFollowRelationsQueued: "キューに入れられた{host}とのすべてのフォロー関係を切断する。"
|
||||
|
||||
_delivery:
|
||||
status: "配信状態"
|
||||
|
@ -286,7 +286,7 @@ async function deleteAllFiles(): void {
|
||||
host: instance.value.host,
|
||||
});
|
||||
await os.alert({
|
||||
text: 'Deletion of all files queued',
|
||||
text: i18n.ts.deleteAllFilesQueued,
|
||||
});
|
||||
}
|
||||
|
||||
@ -295,7 +295,11 @@ async function severAllFollowRelations(): void {
|
||||
|
||||
const confirm = await os.confirm({
|
||||
type: 'danger',
|
||||
text: `${i18n.ts.severAllFollowRelationsConfirm} This will break ${instance.value.followingCount} following and ${instance.value.followersCount} follower relations on ${meta.value.name}.`,
|
||||
text: i18n.tsx.severAllFollowRelationsConfirm({
|
||||
instanceName: meta.value.shortName ?? meta.value.name,
|
||||
followingCount: instance.value.followingCount,
|
||||
followersCount: instance.value.followersCount,
|
||||
}),
|
||||
});
|
||||
if (confirm.canceled) return;
|
||||
|
||||
@ -303,7 +307,7 @@ async function severAllFollowRelations(): void {
|
||||
host: instance.value.host,
|
||||
});
|
||||
await os.alert({
|
||||
text: 'Severing all follow relations queued',
|
||||
text: i18n.tsx.severAllFollowRelationsQueued({ host: instance.value.host }),
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user