From 5cfe2495228b4179d91ce5ffcc0d7efd576257a2 Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Sat, 26 May 2007 14:53:12 +0000 Subject: [PATCH] - white space - replace an occurrence of from_ascii() to _() for translation git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18521 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/insets/InsetListingsParams.cpp | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/src/insets/InsetListingsParams.cpp b/src/insets/InsetListingsParams.cpp index 7557cd0258..5d10ac6e07 100644 --- a/src/insets/InsetListingsParams.cpp +++ b/src/insets/InsetListingsParams.cpp @@ -113,9 +113,16 @@ char const * allowed_languages = "[97]VRML\nXML\nXSLT"; docstring empty_hint; -docstring style_hint = _("Use \\footnotesize, \\small, \\itshape, \\ttfamily or something like that"); -docstring frame_hint = _("none, leftline, topline, bottomline, lines, single, shadowbox or subset of trblTRBL"); -docstring frameround_hint = _("Enter four letters (either t = round or f = square) for top right, bottom right, bottom left and top left corner."); +docstring style_hint = _("Use \\footnotesize, \\small, \\itshape, " + "\\ttfamily or something like that"); + +docstring frame_hint = _("none, leftline, topline, bottomline, lines, " + "single, shadowbox or subset of trblTRBL"); + +docstring frameround_hint = _("Enter four letters (either t = round " + "or f = square) for top right, bottom " + "right, bottom left and top left corner."); + docstring color_hint = _("Enter something like \\color{white}"); @@ -132,7 +139,7 @@ listings_param_info const listings_param_table[] = { { "firstline", "", false, INTEGER, "", empty_hint}, { "lastline", "", false, INTEGER, "", empty_hint}, { "showlines", "", false, TRUEFALSE, "", empty_hint}, - { "emptylines", "", false, ALL, "", from_ascii("Expect a number with an optional * before it") }, + { "emptylines", "", false, ALL, "", _("Expect a number with an optional * before it")}, { "gobble", "", false, INTEGER, "", empty_hint}, { "style", "", false, ALL, "", empty_hint}, { "language", "", false, ONEOF, allowed_languages, empty_hint}, -- 2.39.5