Make branch label prefix translatable

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10133 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2005-07-05 15:31:16 +00:00
parent fb1e227a93
commit 1e08dd4152
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
* insetbranch.C (setButtonLabel): Make label prefix translatable.
2005-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de> 2005-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
* insettabular.[Ch] (dist): make it a real member of insettabular * insettabular.[Ch] (dist): make it a real member of insettabular

View File

@ -94,7 +94,7 @@ void InsetBranch::setButtonLabel()
font.decSize(); font.decSize();
font.decSize(); font.decSize();
string s = "Branch: " + params_.branch; string s = _("Branch: ") + params_.branch;
setLabel(isOpen() ? s : getNewLabel(s) ); setLabel(isOpen() ? s : getNewLabel(s) );
font.setColor(LColor::foreground); font.setColor(LColor::foreground);
if (!params_.branch.empty()) if (!params_.branch.empty())