i18n: Mark frequency ruler labels for translation

This commit is contained in:
Alexander Kojevnikov 2011-03-03 21:36:07 +08:00
parent ec37c89eb4
commit a75ed5c47f
2 changed files with 7 additions and 2 deletions

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-03-02 20:19+0800\n"
"POT-Creation-Date: 2011-03-03 21:34+0800\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -111,6 +111,11 @@ msgstr[1] ""
msgid "%s: %s"
msgstr ""
#: ../src/spek-spectrogram.vala:194
#, c-format
msgid "%d kHz"
msgstr ""
#: ../src/spek-window.vala:36
msgid "Spek - Acoustic Spectrum Analyser"
msgstr ""

View File

@ -191,7 +191,7 @@ namespace Spek {
freq,
3.0,
unit => (h - TPAD - BPAD) * unit / freq,
unit => "%d kHz".printf (unit / 1000));
unit => _("%d kHz").printf (unit / 1000));
cr.translate (LPAD, TPAD);
rate_ruler.draw (cr, layout, false);
cr.identity_matrix ();