[i18n] Add separate translatable strings for "Left" and "Right" in different contexts

Đang mở
#11 0 bình luận 0 reaction 1 người được giao Xem trên GitHub

@clefebvre đang làm issue này rồi.

Từ ngày 28/11/2026.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

analysis done bug

Currently, the same "Left" and "Right" strings are reused across several unrelated Cinnamon modules. In many languages (such as Russian), each of these UI contexts requires a different word or grammatical form, making it impossible to provide a single translation that works everywhere.

Affected locations in Cinnamon:

  • files/usr/share/cinnamon/applets/[email protected]/applet.js ("Left" at line 16, "Right" at line 17)
  • files/usr/share/cinnamon/cinnamon-settings/modules/cs_gestures.py ("Left" and "Right" at line 615)
  • files/usr/share/cinnamon/cinnamon-settings/modules/cs_sound.py ("Left" at line 274, "Right" at line 275)
  • files/usr/share/cinnamon/cinnamon-settings/modules/cs_windows.py ("Left" at lines 41, 45; "Right" at lines 42, 44)

Example of the issue (Russian localization):

example

Because all four occurrences share the same strings, "Left" and "Right" are currently translated as "По левому краю" ("Along the left edge") and "По правому краю" ("Along the right edge"). While this fits window (I guess) button placement, it looks unnatural and confusing in Touchpad Gestures (where vertical swipes are "Вверх" / "Вниз", followed by "По левому краю" / "По правому краю"), Display Rotation, and Sound Balance. Changing the translations to "Влево" / "Вправо" fixes Gestures and Display Rotation, but breaks Sound and Window settings.

Suggested fix:
Provide separate translatable strings for "Left" and "Right" for each context so translators can localize each case properly.

Ngôn ngữ chính
Không có dữ liệu ngôn ngữ
Star
10
Fork
1
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của linuxmint/mint27-beta

Tất cả issue của linuxmint/mint27-beta

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.