[haiku-bugs] Re: [Haiku] #11316: [HaikuDepot] defaults to ru in Rate package window

  • From: "stippi" <trac@xxxxxxxxxxxx>
  • Date: Sat, 27 Dec 2014 17:38:15 -0000

#11316: [HaikuDepot] defaults to ru in Rate package window
---------------------------------------+----------------------------
   Reporter:  diver                    |      Owner:  stippi
       Type:  bug                      |     Status:  new
   Priority:  normal                   |  Milestone:  R1
  Component:  Applications/HaikuDepot  |    Version:  R1/Development
 Resolution:                           |   Keywords:
 Blocked By:                           |   Blocking:
Has a Patch:  0                        |   Platform:  All
---------------------------------------+----------------------------

Comment (by stippi):

 The Locale Kit documentation says that the first language returned from
 the API is the user's preferred language. HaikuDepot uses the first
 language for the rating comment as the default. The preferred language is
 read from the system at each start of HaikuDepot and not persistent.

 See:
 http://cgit.haiku-
 os.org/haiku/tree/src/apps/haikudepot/model/Model.cpp#n362
 http://cgit.haiku-
 os.org/haiku/tree/src/apps/haikudepot/ui/RatePackageWindow.cpp#n236

 Can you attach a screenshot of the Locale preflet showing the list of your
 preferred languages?

--
Ticket URL: <https://dev.haiku-os.org/ticket/11316#comment:1>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: