Fix: Updated EN and RU translations to use correct keywords

This commit is contained in:
Moyasee
2025-09-17 12:35:46 +03:00
parent 291935a1bc
commit af1b3d4535
4 changed files with 20 additions and 20 deletions

View File

@@ -198,13 +198,13 @@
"download_error_gofile_quota_exceeded": "You have exceeded your Gofile monthly quota. Please await the quota to reset.",
"download_error_real_debrid_account_not_authorized": "Your Real-Debrid account is not authorized to make new downloads. Please check your account settings and try again.",
"download_error_not_cached_on_real_debrid": "This download is not available on Real-Debrid and polling download status from Real-Debrid is not yet available.",
"change_playtime_title": "Change playtime",
"change_playtime_description": "Manually update the playtime for {{game}}",
"change_playtime": "Change playtime",
"change_playtime_success": "Playtime updated successfully",
"change_playtime_error": "Failed to update playtime",
"change_game_playtime": "Change game playtime",
"manual_playtime_warning": "Your hours will be marked as manually changed, and this cannot be undone.",
"update_playtime_title": "Update playtime",
"update_playtime_description": "Manually update the playtime for {{game}}",
"update_playtime": "Update playtime",
"update_playtime_success": "Playtime updated successfully",
"update_playtime_error": "Failed to update playtime",
"update_game_playtime": "Update game playtime",
"manual_playtime_warning": "Your hours will be marked as manually updated, and this cannot be undone.",
"download_error_not_cached_on_torbox": "This download is not available on TorBox and polling download status from TorBox is not yet available.",
"download_error_not_cached_on_hydra": "This download is not available on Nimbus.",
"game_removed_from_favorites": "Game removed from favorites",

View File

@@ -195,10 +195,10 @@
"download_error_gofile_quota_exceeded": "Вы превысили месячную квоту Gofile. Пожалуйста, подождите, пока квота не будет восстановлена.",
"download_error_real_debrid_account_not_authorized": "Ваш аккаунт Real-Debrid не авторизован для осуществления новых загрузок. Пожалуйста, проверьте настройки учетной записи и повторите попытку.",
"download_error_not_cached_on_real_debrid": "Эта загрузка недоступна на Real-Debrid, и получение статуса загрузки с Real-Debrid пока недоступно.",
"change_playtime_title": "Изменить время игры",
"change_playtime_description": "Вручную обновите время игры для {{game}}",
"change_playtime": "Изменить время игры",
"change_game_playtime": "Изменить время игры",
"update_playtime_title": "Обновить время игры",
"update_playtime_description": "Вручную обновите время игры для {{game}}",
"update_playtime": "Обновить время игры",
"update_game_playtime": "Обновить время игры",
"download_error_not_cached_on_torbox": "Эта загрузка недоступна на TorBox, и получить статус загрузки с TorBox пока невозможно.",
"game_added_to_favorites": "Игра добавлена в избранное",
"game_removed_from_favorites": "Игра удалена из избранного",

View File

@@ -69,11 +69,11 @@ export function ChangeGamePlaytimeModal({
setIsSubmitting(true);
try {
await changePlaytime(totalSeconds);
onSuccess?.(t("change_playtime_success"));
onSuccess?.(t("update_playtime_success"));
onClose();
} catch (error) {
onError?.(t("change_playtime_error"));
} finally {
console.log(error);
onError?.(t("update_playtime_error")); } finally {
setIsSubmitting(false);
}
};
@@ -112,8 +112,8 @@ export function ChangeGamePlaytimeModal({
<Modal
visible={visible}
onClose={onClose}
title={t("change_playtime_title")}
description={t("change_playtime_description", {
title={t("update_playtime_title")}
description={t("update_playtime_description", {
game: game.title,
})}
>
@@ -154,7 +154,7 @@ export function ChangeGamePlaytimeModal({
theme="outline"
disabled={!isValid || isSubmitting}
>
{t("change_playtime")}
{t("update_playtime")}
</Button>
<Button onClick={onClose} theme="primary">

View File

@@ -238,9 +238,9 @@ export function GameOptionsModal({
playtimeInSeconds
);
await updateGame();
showSuccessToast(t("change_playtime_success"));
showSuccessToast(t("update_playtime_success"));
} catch (error) {
showErrorToast(t("change_playtime_error"));
showErrorToast(t("update_playtime_error"));
}
};
@@ -503,7 +503,7 @@ export function GameOptionsModal({
onClick={() => setShowChangePlaytimeModal(true)}
theme="danger"
>
{t("change_game_playtime")}
{t("update_game_playtime")}
</Button>
<Button