From: John Mandereau Date: Tue, 9 Dec 2008 08:46:55 +0000 (+0100) Subject: Fix "Report bugs..." localized strings X-Git-Tag: release/2.12.0-1~13^2~28 X-Git-Url: https://git.donarmstrong.com/lilypond.git?a=commitdiff_plain;h=2c1128a20c65a4e4414d4346006ca6f151ea8876;p=lilypond.git Fix "Report bugs..." localized strings This allows adding a link to a list where the language of the translation is used. --- diff --git a/scripts/abc2ly.py b/scripts/abc2ly.py index f272b8f299..9107b8b866 100644 --- a/scripts/abc2ly.py +++ b/scripts/abc2ly.py @@ -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 diff --git a/scripts/convert-ly.py b/scripts/convert-ly.py index 481ae745a3..93e345f2ae 100644 --- a/scripts/convert-ly.py +++ b/scripts/convert-ly.py @@ -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 diff --git a/scripts/etf2ly.py b/scripts/etf2ly.py index c23075055d..c9f23aa677 100644 --- a/scripts/etf2ly.py +++ b/scripts/etf2ly.py @@ -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 (): diff --git a/scripts/lilypond-book.py b/scripts/lilypond-book.py index d6f1cac900..560f675de2 100644 --- a/scripts/lilypond-book.py +++ b/scripts/lilypond-book.py @@ -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') diff --git a/scripts/midi2ly.py b/scripts/midi2ly.py index d8d51d667b..ace53d3446 100644 --- a/scripts/midi2ly.py +++ b/scripts/midi2ly.py @@ -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 diff --git a/scripts/musicxml2ly.py b/scripts/musicxml2ly.py index dca950e8f7..6b0c8575d1 100644 --- a/scripts/musicxml2ly.py +++ b/scripts/musicxml2ly.py @@ -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):