Weird translation on the shortcut overlay dialog

Bug #971332 reported by Didier Roche on 2012-04-02
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu Translations
Undecided
Unassigned
Unity
Fix Released
High
Andrea Azzarone
Unity Distro Priority
High
Unassigned
unity (Ubuntu)
High
Andrea Azzarone

Bug Description

The fact to translate or not the key combination end up in weird translations on some language.

For instance, using French:
- Press Super
- See "Super + Left ou droit"

This is because:
hints_.push_back(new shortcut::Hint(windows, "", _(" or Right"), _("Semi-maximises current window."), shortcut::COMPIZ_KEY_OPTION, "grid", "put_left_key"));

So either we should get some translation (from another app?) for all space/right/left/up/down… translation and switch that on the fly for the overelay, or we should get no translation for them (apart from "or"). However, some language will maybe put the translated or after "Right".

Related branches

Didier Roche (didrocks) on 2012-04-02
Changed in unity:
assignee: nobody → Andrea Azzarone (andyrock)
importance: Undecided → High
status: New → Triaged
milestone: none → 5.10.0
Changed in unity (Ubuntu):
status: New → Triaged
importance: Undecided → High
Changed in unity-distro-priority:
status: New → Fix Committed
importance: Undecided → High
tags: added: rls-p-tracking

Al 02/04/12 09:52, En/na Didier Roche ha escrit:
> Public bug reported:
>
> The fact to translate or not the key combination end up in weird
> translations on some language.
>
> For instance, using French:
> - Press Super
> - See "Super + Left ou droit"
>
> This is because:
> hints_.push_back(new shortcut::Hint(windows, "", _(" or Right"), _("Semi-maximises current window."), shortcut::COMPIZ_KEY_OPTION, "grid", "put_left_key"));
>
> So either we should get some translation (from another app?) for all
> space/right/left/up/down… translation and switch that on the fly for the
> overelay, or we should get no translation for them (apart from "or").
> However, some language will maybe put the translated or after "Right".
>

I can only think of it being an issue if "Left" is not translatable,
which I think I've just discovered it isn't.

So the bug should probably rather be about key names in the overlay not
being translatable.

Also note that the Ubuntu docs mention "Meta" instead of "Super", so
either the docs or the overlay should be changed to keep consistency.

> ** Affects: ubuntu-translations
> Importance: Undecided
> Status: New
>
> ** Affects: unity
> Importance: High
> Assignee: Andrea Azzarone (andyrock)
> Status: Triaged
>
> ** Affects: unity-distro-priority
> Importance: High
> Status: Fix Committed
>
> ** Affects: unity (Ubuntu)
> Importance: High
> Status: Triaged
>
>
> ** Tags: rls-p-tracking
>
> ** Changed in: unity
> Assignee: (unassigned) => Andrea Azzarone (andyrock)
>
> ** Changed in: unity
> Importance: Undecided => High
>
> ** Changed in: unity
> Status: New => Triaged
>
> ** Changed in: unity
> Milestone: None => 5.10.0
>
> ** Also affects: ubuntu-translations
> Importance: Undecided
> Status: New
>
> ** Also affects: unity (Ubuntu)
> Importance: Undecided
> Status: New
>
> ** Changed in: unity (Ubuntu)
> Status: New => Triaged
>
> ** Changed in: unity (Ubuntu)
> Importance: Undecided => High
>
> ** Also affects: unity-distro-priority
> Importance: Undecided
> Status: New
>
> ** Changed in: unity-distro-priority
> Status: New => Fix Committed
>
> ** Changed in: unity-distro-priority
> Importance: Undecided => High
>
> ** Tags added: rls-p-tracking
>

--
David Planella
Ubuntu Translations Coordinator
www.ubuntu.com / www.davidplanella.wordpress.com
www.identi.ca/dplanella / www.twitter.com/dplanella

Maybe strange translations are a consequence of some untranslatable strings. In Slovenian all strings are translated and yet some of them appear untransalted such as Tap and Press in the HUD section (but translated elsehere).

It seems strings "Left", "Up" and "Down" are also not marked for translations.

Andrea Azzarone (azzar1) on 2012-04-03
Changed in unity:
status: Triaged → In Progress
Changed in unity (Ubuntu):
status: Triaged → In Progress
assignee: nobody → Andrea Azzarone (andyrock)
Andrea Azzarone (azzar1) on 2012-04-05
Changed in unity:
status: In Progress → Fix Committed
Changed in unity (Ubuntu):
status: In Progress → Fix Committed
Gabor Kelemen (kelemeng) on 2012-04-08
Changed in ubuntu-translations:
status: New → Fix Committed
Didier Roche (didrocks) on 2012-04-12
Changed in unity:
status: Fix Committed → Fix Released
Nicolas Delvaux (malizor) wrote :

This bug is not fixed here (Unity 5.10.0-0ubuntu2, from proposed repositories).

keyboard shortcuts are still untranslated (French). And the "Switch windows of current application" shortcut is still set to "Alt + Oe" which is wrong even in English.

Sebastien Bacher (seb128) wrote :

What shortcut are untranslated? it seems correctly translated in french here

Nicolas Delvaux (malizor) wrote :

So there is the "Alt + Oe" thing. But also in the Workspaces section there is "Shift" and "Control" which sould be "Maj" and "Ctrl" (this one also in English).
In fact, all shortcuts read from compiz settings seem to be in English.

Note that the Unity French translation is complete and that I did a "unity --reset".

Sebastien Bacher (seb128) wrote :

Those are different issues from the originally reported one, the name of the keys are not translated indeed

Nicolas Delvaux (malizor) wrote :

Yep, but where should they be translated? There is nothing in the Unity template...

Sebastien Bacher (seb128) wrote :

they should probably be yes, could you open a new bug about the specific cases for ctrl and shift? I can't confirm the "oe" issue, it's displayed as "twosuperior" here

Nicolas Delvaux (malizor) wrote :

didrocks reported bug #980828 about this issue.

Launchpad Janitor (janitor) wrote :
Download full text (9.2 KiB)

This bug was fixed in the package unity - 5.10.0-0ubuntu3

---------------
unity (5.10.0-0ubuntu3) precise-proposed; urgency=low

  [ Oliver Grawert ]
  * Enable subarch specific quilt support
  * add linaros disable_standalone-clients.patch to make unity build with GLES

  [ Didier Roche ]
  * remove a symlink and replace with a real file for
    debian/patches/series.<arch> as not supported in non v3 (and we don't
    want v3 format with full source upstream derived branch)

unity (5.10.0-0ubuntu2) precise-proposed; urgency=low

  [ Ricardo Salveti de Araujo ]
  * Enabling build with OpenGL ES2.0 support for ARM and disable maintainer
     mode on that arch to avoid -Werror failure (LP: #980544)

unity (5.10.0-0ubuntu1) precise-proposed; urgency=low

  * New upstream release:
    - bamfdaemon crashed with SIGABRT in g_assertion_message() (LP: #926208)
    - We are using 1 bad hack for compiz hanging on startup (LP: #963264)
    - GConf backend steals glib events from compiz (LP: #965220)
    - when I closed QupZill brawser it crashed and then and then I sow
      worrning that compiz crashed but fire fox and chrome is estle working.
      gtk-window-decorator crashed with SIGSEGV in max_window_name_width()
      (LP: #948580)
    - compiz crashed with SIGSEGV in std::basic_string<...>::basic_string()
      from unity::launcher::HudLauncherIcon::HudLauncherIcon()::{lambda} from
      unity::UBusManager::OnCallback (LP: #964897)
    - unity-panel-service crashed due to heap corruption in g_free() from
      service_proxy_name_changed() [libindicator/indicator-service-
      manager.c:574] (LP: #969360)
    - Opening dash while an application is maximized makes unity completely
      useless, have to relogin (LP: #975103)
    - unity crash on alt-tab (LP: #975168)
    - Top bar - Menus should be condensed to fit panel/overlay of appmenu
      (LP: #655184)
    - Topbar - window controls for maximised windows in the top bar should
      conform to Fitts's law (LP: #839690)
    - [FFe, UIFe] Dash - When the Dash is open and there is a maximised app in
      the background, the top bar background should not disappear
      (LP: #839480)
    - Dash - The inner bottom left, bottom right and top right corners of the
      desktop dash border are rendered incorrectly (LP: #839476)
    - Showdesktoped window contents invisible in window spread (LP: #877778)
    - Maximized windows can be accidentally closed from wrong monitor.
      (LP: #865701)
    - Unity launcher on-screen corruption on resume from suspend with nVidia
      proprietary driver (LP: #915265)
    - Launcher - Inserting items into launcher makes unnecessary animations on
      other monitors (LP: #925021)
    - Far left character in panel (and launcher popups) distorted
      (LP: #927441)
    - Jenkins build failure: SetAcceptKeyNavFocusOnMouseEnter not declared
      (LP: #938037)
    - super+<unbound key> and sometimes super+<number> keys now cause launch
      to wedge with the key hints shown and retains focus instead of selecting
      the requested window (LP: #934084)
    - three-finger move does not move (Precise) (LP: #940612)
    - compiz crashed with SIGSEGV in std::__de...

Read more...

Changed in unity (Ubuntu):
status: Fix Committed → Fix Released
Didier Roche (didrocks) on 2012-04-17
Changed in unity-distro-priority:
status: Fix Committed → Fix Released
Gabor Kelemen (kelemeng) on 2012-04-18
Changed in ubuntu-translations:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers