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