mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-01-18 00:33:59 +00:00
Fix: Updated EN and RU translations to use correct keywords
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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": "Игра удалена из избранного",
|
||||
|
||||
@@ -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">
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user