[haiku-bugs] Re: [Haiku] #16412: Problems changing Decorators/ControlLooks

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Wed, 04 Aug 2021 12:34:36 -0000

#16412: Problems changing Decorators/ControlLooks
-------------------------------------+-------------------------
  Reporter:  bitigchi                |      Owner:  jscipione
      Type:  bug                     |     Status:  reopened
  Priority:  normal                  |  Milestone:  Unscheduled
 Component:  Preferences/Appearance  |    Version:  R1/beta2
Resolution:                          |   Keywords:
Blocked By:                          |   Blocking:
  Platform:  All                     |
-------------------------------------+-------------------------
Comment (by jscipione):

 Thinking about this a bit more, maybe we don't need to change app server
 after-all. We simply need to store the untranslated decorator name when
 saving to disk, at least for the default decorator.

 The idea is to store the path to the decorator to disk, and paths are
 typically in English anyway. Since we look for the decorator in four
 places (system package, system non-package, user package, user non-
 package) we only store the leaf of the decorator path. We can still
 translate the "Default" string into your locale before adding the
 "Default" menu item to the menu field so that you see the localized
 version (e.g. Predeterminado) but we don't store that translated string to
 disk. Then app server will see "Default" on disk, and everything should be
 happy.
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/16412#comment:25>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: