X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=flower%2Finternational.cc;h=17a9d49007d853be5d9c3266541ed248b3f723ca;hb=3d5e7223a0ff02119c18f0be39873647bf686d3b;hp=7bb4130856468c1824257a2d21b33babe3ca4ca8;hpb=31568c504806f35aac420a394c9eab07abd9faa7;p=lilypond.git diff --git a/flower/international.cc b/flower/international.cc index 7bb4130856..17a9d49007 100644 --- a/flower/international.cc +++ b/flower/international.cc @@ -1,9 +1,20 @@ /* - international.cc -- implement stuff for internationalisation + This file is part of LilyPond, the GNU music typesetter. - source file of the GNU LilyPond music typesetter + Copyright (C) 1997--2011 Jan Nieuwenhuizen - (c) 1997--2006 Jan Nieuwenhuizen + LilyPond is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + LilyPond is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with LilyPond. If not, see . */ #include "config.hh" @@ -32,11 +43,17 @@ _f (char const *format, ...) { va_list args; va_start (args, format); - string str = String_convert::vform_string (gettext (format), args); + string str = v_f (format, args); va_end (args); return str; } +string +v_f (char const *format, va_list args) +{ + return String_convert::vform_string (gettext (format), args); +} + string _f (char const *format, string s, string s2, string s3) {