author | cniehaus <cniehaus> | 2002-09-03 19:00:18 (UTC) |
---|---|---|
committer | cniehaus <cniehaus> | 2002-09-03 19:00:18 (UTC) |
commit | cf317ab123c51fb957ec35d44431e77a8b76c279 (patch) (unidiff) | |
tree | cb81fa703851995a6beb2c8b562da4d2344da47b /noncore/games/kpacman/kpacmanwidget.cpp | |
parent | d9186e958c93df6d6363e2dc0af704e93eb0c06e (diff) | |
download | opie-cf317ab123c51fb957ec35d44431e77a8b76c279.zip opie-cf317ab123c51fb957ec35d44431e77a8b76c279.tar.gz opie-cf317ab123c51fb957ec35d44431e77a8b76c279.tar.bz2 |
As KPacman didn't use tr() but KDE's i18n() is did a simple
perl -pi~ -e 's/i18n/tr/g' *.cpp
Diffstat (limited to 'noncore/games/kpacman/kpacmanwidget.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/games/kpacman/kpacmanwidget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/games/kpacman/kpacmanwidget.cpp b/noncore/games/kpacman/kpacmanwidget.cpp index 330c88e..215dcda 100644 --- a/noncore/games/kpacman/kpacmanwidget.cpp +++ b/noncore/games/kpacman/kpacmanwidget.cpp | |||
@@ -114,11 +114,11 @@ void KpacmanWidget::confScheme() | |||
114 | 114 | ||
115 | bitfont = new Bitfont(fontName, bitfontFirstChar, bitfontLastChar); | 115 | bitfont = new Bitfont(fontName, bitfontFirstChar, bitfontLastChar); |
116 | if (bitfont->width() == 0 || bitfont->height() == 0) { | 116 | if (bitfont->width() == 0 || bitfont->height() == 0) { |
117 | QString msg = i18n("The bitfont could not be contructed.\n\n" | 117 | QString msg = tr("The bitfont could not be contructed.\n\n" |
118 | "The file '@FONTNAME@' does not exist,\n" | 118 | "The file '@FONTNAME@' does not exist,\n" |
119 | "or is of an unknown format."); | 119 | "or is of an unknown format."); |
120 | msg.replace(QRegExp("@FONTNAME@"), fontName); | 120 | msg.replace(QRegExp("@FONTNAME@"), fontName); |
121 | // QMessageBox::critical(this, i18n("Initialization Error"), msg); | 121 | // QMessageBox::critical(this, tr("Initialization Error"), msg); |
122 | printf("%s\n", msg.data()); | 122 | printf("%s\n", msg.data()); |
123 | } | 123 | } |
124 | } | 124 | } |