Skip to content

chore(locale): add tip translation of deprecated java ver for ru and es #4043

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 28, 2025

Conversation

3gf8jv4dv
Copy link
Contributor

and fix a previous typo.

Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds a new translation tip for deprecated Java versions and fixes an existing typo in the Russian and Spanish language resource files.

  • Added a new translation key (fatal.deprecated_java_version.update) for both RU and ES files.
  • Adjusted text to direct users towards using newer Java versions while still allowing legacy versions.

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
HMCL/src/main/resources/assets/lang/I18N_ru.properties Added fatal.deprecated_java_version.update and updated translation block formatting
HMCL/src/main/resources/assets/lang/I18N_es.properties Added fatal.deprecated_java_version.update and updated translation block formatting
Comments suppressed due to low confidence (4)

HMCL/src/main/resources/assets/lang/I18N_ru.properties:406

  • [nitpick] Consider using the imperative form (e.g., 'Пожалуйста, установите') for user instructions to ensure consistency in tone.
fatal.deprecated_java_version.update=В будущем для работы HMCL потребуется Java 11 или более поздняя версия. Пожалуйста, установить последнюю версию Java, чтобы убедиться, что приложение сможет завершить обновление.\n\

HMCL/src/main/resources/assets/lang/I18N_ru.properties:407

  • [nitpick] Verify that the whitespace and newline formatting in the added translation block aligns with the existing style for clarity.
  \n\

HMCL/src/main/resources/assets/lang/I18N_es.properties:408

  • [nitpick] Consider revising the text to use the imperative form (e.g., 'Por favor, instale') for a more instructive and consistent tone.
fatal.deprecated_java_version.update=HMCL requerirá Java 11 o posterior para funcionar en el futuro. Por favor, instalar la última versión de Java para asegurarse de que el lanzador puede completar la actualización.\n\

HMCL/src/main/resources/assets/lang/I18N_es.properties:409

  • [nitpick] Ensure the added whitespace and newline formatting is consistent with existing translations to maintain clarity.
  \n\

@Glavo Glavo merged commit 417c804 into HMCL-dev:main Jun 28, 2025
2 checks passed
@3gf8jv4dv 3gf8jv4dv deleted the locale-new-deprecated-java-version branch June 29, 2025 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants