spek

Acoustic spectrum analyser
git clone http://git.hanabi.in/repos/spek.git
Log | Files | Refs | README

commit a75ed5c47f771f7e74b042f7bbaa9e30e4b34b0e
parent ec37c89eb46582f687747f4e5baf504647c11114
Author: Alexander Kojevnikov <alexander@kojevnikov.com>
Date:   Thu,  3 Mar 2011 21:36:07 +0800

i18n: Mark frequency ruler labels for translation

Diffstat:
Mpo/spek.pot | 7++++++-
Msrc/spek-spectrogram.vala | 2+-
2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/po/spek.pot b/po/spek.pot @@ -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 "" diff --git a/src/spek-spectrogram.vala b/src/spek-spectrogram.vala @@ -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 ();