]> git.donarmstrong.com Git - lilypond.git/commitdiff
Fix "Report bugs..." localized strings
authorJohn Mandereau <john.mandereau@gmail.com>
Tue, 9 Dec 2008 08:46:55 +0000 (09:46 +0100)
committerJohn Mandereau <john.mandereau@gmail.com>
Tue, 9 Dec 2008 08:51:16 +0000 (09:51 +0100)
This allows adding a link to a list where the language of the
translation is used.

scripts/abc2ly.py
scripts/convert-ly.py
scripts/etf2ly.py
scripts/lilypond-book.py
scripts/midi2ly.py
scripts/musicxml2ly.py

index f272b8f299db6335c9adc7ea713e85e0f4b28c76..9107b8b8665903738a68586851738831d5a5b666 100644 (file)
@@ -1359,9 +1359,10 @@ def get_option_parser ():
                   action='store_true')
     p.add_option ('-b', '--beams', help=_ ("preserve ABC's notion of beams"))
     p.add_option_group ('',
-                        description=(_ ('Report bugs via')
-                                     + ''' http://post.gmane.org/post.php'''
-                                     '''?group=gmane.comp.gnu.lilypond.bugs\n'''))
+                        description=(
+            _ ('Report bugs via %s')
+            % 'http://post.gmane.org/post.php'
+            '?group=gmane.comp.gnu.lilypond.bugs') + '\n')
     return p
 
 
index 481ae745a340889c2acdf396c076c956239d83fa..93e345f2ae6edf305b7a40481c6de828c978b1ff 100644 (file)
@@ -119,9 +119,10 @@ def get_option_parser ():
               default='')
 
     p.add_option_group ('',
-                        description=(_ ("Report bugs via")
-                                     + ''' http://post.gmane.org/post.php'''
-                                     '''?group=gmane.comp.gnu.lilypond.bugs\n'''))
+                        description=(
+            _ ("Report bugs via %s")
+            % 'http://post.gmane.org/post.php'
+            '?group=gmane.comp.gnu.lilypond.bugs') + '\n')
     
     return p
 
index c23075055dd0f8a1a8949c75bd1f7d9f24ad51ae..c9f23aa6770740ff9496a0edcff5b8cfa83bf18f 100644 (file)
@@ -1196,9 +1196,10 @@ Finale product.  etf2ly converts a subset of ETF to a ready-to-use LilyPond file
            ),
 
     p.add_option_group ('',
-                        description=(_ ('Report bugs via')
-                                     + ''' http://post.gmane.org/post.php'''
-                                     '''?group=gmane.comp.gnu.lilypond.bugs\n'''))
+                        description=(
+            _ ('Report bugs via %s')
+            % 'http://post.gmane.org/post.php'
+            '?group=gmane.comp.gnu.lilypond.bugs') + '\n')
     return p
 
 def do_options ():
index d6f1cac90087c6b76a2762c6143d027f8ec755ba..560f675de26d6ce4a4d6bb239e63614ec0f9c816 100644 (file)
@@ -211,8 +211,9 @@ def get_option_parser ():
                   action='store_true')
     p.add_option_group ('',
                         description=(
-        _ ("Report bugs via")
-        + ' http://post.gmane.org/post.php?group=gmane.comp.gnu.lilypond.bugs\n'))
+        _ ("Report bugs via %s")
+        % ' http://post.gmane.org/post.php'
+        '?group=gmane.comp.gnu.lilypond.bugs') + '\n')
     return p
 
 lilypond_binary = os.path.join ('@bindir@', 'lilypond')
index d8d51d667bb9eb520b9fb1f66f5b77443bca6202..ace53d3446e90979fad38b2cd31d40f7a6b5649c 100644 (file)
@@ -890,9 +890,10 @@ def get_option_parser ():
   $ midi2ly --key=-2:1 --duration-quant=32 --allow-tuplet=4*2/3 --allow-tuplet=2*4/3 foo.midi
 ''')
     p.add_option_group ('',
-                        description=(_ ('Report bugs via')
-                                     + ''' http://post.gmane.org/post.php'''
-                                     '''?group=gmane.comp.gnu.lilypond.bugs\n'''))
+                        description=(
+            _ ('Report bugs via %s')
+            % 'http://post.gmane.org/post.php'
+            '?group=gmane.comp.gnu.lilypond.bugs') + '\n')
     return p
 
 
index dca950e8f7ae2a062eeb7ae05394807f18f4bfb5..6b0c8575d10fd0bc3108d69fb1824bd74b6d3000 100644 (file)
@@ -2529,9 +2529,10 @@ information.""") % 'lilypond')
                   dest = 'output_name',
                   help = _ ("set output filename to FILE, stdout if -"))
     p.add_option_group ('',
-                        description = (_ ("Report bugs via")
-                                     + ''' http://post.gmane.org/post.php'''
-                                     '''?group=gmane.comp.gnu.lilypond.bugs\n'''))
+                        description = (
+            _ ("Report bugs via %s")
+            % 'http://post.gmane.org/post.php'
+            '?group=gmane.comp.gnu.lilypond.bugs') + '\n')
     return p
 
 def music_xml_voice_name_to_lily_name (part_id, name):