← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1421672] [NEW] Overwrite the gettext to MainView.applicationName if already set

 

Public bug reported:

That leaded to issue in ubuntu-system-settings. Our code calls
textdomain() directly, the domain was then changed to another wrong
value because MainView's overwrites it to be "applicationName".

The main reason why we did the call ourself was because the MainView
documentation doesn't document that it's doing it for you (opened bug
#1421661 about that), but still if some code decide to write a specific
value it should probably be respected and not overwrited.

Suggested change, set the textdomain only if that has not been done yet

** Affects: ubuntu-ui-toolkit (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to ubuntu-ui-toolkit in Ubuntu.
https://bugs.launchpad.net/bugs/1421672

Title:
  Overwrite the gettext to MainView.applicationName if already set

Status in ubuntu-ui-toolkit package in Ubuntu:
  New

Bug description:
  That leaded to issue in ubuntu-system-settings. Our code calls
  textdomain() directly, the domain was then changed to another wrong
  value because MainView's overwrites it to be "applicationName".

  The main reason why we did the call ourself was because the MainView
  documentation doesn't document that it's doing it for you (opened bug
  #1421661 about that), but still if some code decide to write a
  specific value it should probably be respected and not overwrited.

  Suggested change, set the textdomain only if that has not been done
  yet

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1421672/+subscriptions


Follow ups

References