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

オープン
#11 コメント 0 件 リアクション 0 件 担当者 1 名 GitHub で見る

@clefebvre がすでに取り組んでいます。

2026年11月28日 から。

評価

この issue はまだ評価されていません。

説明

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.

主要言語
言語のデータがありません
スター
10
フォーク
1
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

linuxmint/mint27-beta のほかの issue

linuxmint/mint27-beta の issue をすべて見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。