[GRASS-dev] Re: [GRASS GIS] #1278: d.mon strings from grassmods po files not localised at runtime

GRASS GIS trac at osgeo.org
Sun Feb 13 23:09:39 EST 2011


#1278: d.mon strings from grassmods po files not localised at runtime
--------------------------+-------------------------------------------------
 Reporter:  msieczka      |       Owner:  grass-dev@…              
     Type:  defect        |      Status:  new                      
 Priority:  normal        |   Milestone:  6.4.1                    
Component:  Translations  |     Version:  svn-releasebranch64      
 Keywords:  locale        |    Platform:  All                      
      Cpu:  All           |  
--------------------------+-------------------------------------------------

Comment(by glynn):

 Replying to [ticket:1278 msieczka]:
 > d.mon strings from grassmods po files are not localised at runtime.

 This is because PACKAGE doesn't get defined. Module.make and Multi.make
 define it as "grassmods", while Lib.make defines it as "grasslibs".
 display/d.mon/pgms/Makefile doesn't include any of these, so the mon.*
 programs don't use any message catalogue.

 It should suffice to add:
 {{{
 PACKAGE = "grassmods"
 }}}
 to the top of display/d.mon/pgms/Makefile.

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/1278#comment:1>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list