[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Librefm-commits] [1408] Add internationalisation infrastructure.
From: |
Michael Sheldon |
Subject: |
[Librefm-commits] [1408] Add internationalisation infrastructure. |
Date: |
Fri, 08 May 2009 10:54:32 +0000 |
Revision: 1408
http://svn.sv.gnu.org/viewvc/?view=rev&root=librefm&revision=1408
Author: elleo
Date: 2009-05-08 10:54:31 +0000 (Fri, 08 May 2009)
Log Message:
-----------
Add internationalisation infrastructure. All translatable strings in templates
should now be surrounded by {t}{/t}.
Add an initial German translation (only a few words at the moment).
Update coding standards to include details on translations.
Update all existing templates to support translatable strings.
Modified Paths:
--------------
trunk/nixtape/templating.php
trunk/nixtape/themes/librefm/templates/admin.tpl
trunk/nixtape/themes/librefm/templates/delete-profile.tpl
trunk/nixtape/themes/librefm/templates/edit_group.tpl
trunk/nixtape/themes/librefm/templates/explore-artists.tpl
trunk/nixtape/themes/librefm/templates/footer.tpl
trunk/nixtape/themes/librefm/templates/group-list.tpl
trunk/nixtape/themes/librefm/templates/group.tpl
trunk/nixtape/themes/librefm/templates/header.tpl
trunk/nixtape/themes/librefm/templates/invite.tpl
trunk/nixtape/themes/librefm/templates/listen.tpl
trunk/nixtape/themes/librefm/templates/location-country.tpl
trunk/nixtape/themes/librefm/templates/login.tpl
trunk/nixtape/themes/librefm/templates/menu.tpl
trunk/nixtape/themes/librefm/templates/player.tpl
trunk/nixtape/themes/librefm/templates/recovery.tpl
trunk/nixtape/themes/librefm/templates/register.tpl
trunk/nixtape/themes/librefm/templates/request.tpl
trunk/nixtape/themes/librefm/templates/track.tpl
trunk/nixtape/themes/librefm/templates/user-edit.tpl
trunk/nixtape/themes/librefm/templates/user-profile.tpl
trunk/nixtape/themes/librefm/templates/user-stats.tpl
trunk/nixtape/themes/librefm/templates/welcome.tpl
Added Paths:
-----------
trunk/nixtape/themes/librefm/locale/
trunk/nixtape/themes/librefm/locale/README
trunk/nixtape/themes/librefm/locale/de/
trunk/nixtape/themes/librefm/locale/de/LC_MESSAGES/
trunk/nixtape/themes/librefm/locale/de/LC_MESSAGES/nixtape.mo
trunk/nixtape/themes/librefm/locale/de.po
trunk/nixtape/themes/librefm/locale/nixtape.pot
trunk/nixtape/themes/librefm/locale/translatable_strings.c
trunk/nixtape/themes/librefm/locale/update.sh
Modified: trunk/nixtape/templating.php
===================================================================
--- trunk/nixtape/templating.php 2009-05-08 10:20:33 UTC (rev 1407)
+++ trunk/nixtape/templating.php 2009-05-08 10:54:31 UTC (rev 1408)
@@ -23,6 +23,16 @@
require_once('auth.php');
require_once('smarty/Smarty.class.php');
+if($_GET['lang']) {
+ $languages = array($_GET['lang'] . ".UTF-8");
+} else {
+ //TODO: Convert HTTP_ACCEPT_LANGUAGE to a gettext locale
+ $languages = preg_split("/,/", $_SERVER['HTTP_ACCEPT_LANGUAGE']);
+}
+setlocale(LC_ALL, $languages);
+bindtextdomain("nixtape", $install_path . '/themes/' . $default_theme .
'/locale/');
+textdomain("nixtape");
+
$smarty = new Smarty();
$smarty->template_dir = $install_path . '/themes/'. $default_theme .
'/templates/';
Added: trunk/nixtape/themes/librefm/locale/README
===================================================================
--- trunk/nixtape/themes/librefm/locale/README (rev 0)
+++ trunk/nixtape/themes/librefm/locale/README 2009-05-08 10:54:31 UTC (rev
1408)
@@ -0,0 +1,7 @@
+You'll need the smarty-gettext package installed (apt-get install
smarty-gettext on Debian/Ubuntu)
+
+After changing the translatable strings in the templates run "./update.sh"
+
+After changing translations in the relevant .po files run "./update.sh"
+
+To create a new set of translations for a new locale run "msginit -l en_GB"
Where en_GB is replaced by the locale you wish to create.
Added: trunk/nixtape/themes/librefm/locale/de/LC_MESSAGES/nixtape.mo
===================================================================
(Binary files differ)
Property changes on:
trunk/nixtape/themes/librefm/locale/de/LC_MESSAGES/nixtape.mo
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/nixtape/themes/librefm/locale/de.po
===================================================================
--- trunk/nixtape/themes/librefm/locale/de.po (rev 0)
+++ trunk/nixtape/themes/librefm/locale/de.po 2009-05-08 10:54:31 UTC (rev
1408)
@@ -0,0 +1,525 @@
+# German translations for PACKAGE package.
+# Copyright (C) 2009 THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# Michael Sheldon <address@hidden>, 2009.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2009-05-08 11:48+0100\n"
+"PO-Revision-Date: 2009-05-07 12:22+0100\n"
+"Last-Translator: Michael Sheldon <address@hidden>\n"
+"Language-Team: German <address@hidden>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ASCII\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#: translatable_strings.c:2
+msgid "Email was sent successfully!"
+msgstr ""
+
+#: translatable_strings.c:5
+msgid "Requests for invites"
+msgstr ""
+
+#: translatable_strings.c:8
+msgid "Invited people"
+msgstr ""
+
+#: translatable_strings.c:11
+msgid "Remove your profile"
+msgstr ""
+
+#: translatable_strings.c:14
+msgid "Confirmation mail has been sent to email on file for %1. Thank you"
+msgstr ""
+
+#: translatable_strings.c:17
+msgid "Create a group"
+msgstr ""
+
+#: translatable_strings.c:20
+msgid "Address for the group:"
+msgstr ""
+
+#: translatable_strings.c:23
+msgid "Create"
+msgstr ""
+
+#: translatable_strings.c:26
+msgid "Edit your group"
+msgstr ""
+
+#: translatable_strings.c:29 translatable_strings.c:269
+msgid ""
+"The form below is still very experimental. Using this may wreck your account!"
+msgstr ""
+
+#: translatable_strings.c:32 translatable_strings.c:272
+msgid "Full name:"
+msgstr ""
+
+#: translatable_strings.c:35 translatable_strings.c:287
+msgid "Homepage URL:"
+msgstr ""
+
+#: translatable_strings.c:38
+msgid "Logo URL:"
+msgstr ""
+
+#: translatable_strings.c:41 translatable_strings.c:284
+#: translatable_strings.c:293 translatable_strings.c:299
+#: translatable_strings.c:305 translatable_strings.c:311
+msgid "What's this?"
+msgstr ""
+
+#: translatable_strings.c:44
+msgid "Description:"
+msgstr ""
+
+#: translatable_strings.c:47
+msgid ""
+"The web address for a picture to represent your group on libre.fm. It "
+"should\n"
+"\tnot be more than 80x80 pixels. (64x64 is best.)"
+msgstr ""
+
+#: translatable_strings.c:50
+msgid "Explore popular artists"
+msgstr ""
+
+#: translatable_strings.c:53
+msgid "Contributors"
+msgstr ""
+
+#: translatable_strings.c:56
+msgid "Licensing information"
+msgstr ""
+
+#: translatable_strings.c:59
+msgid "Developers"
+msgstr ""
+
+#: translatable_strings.c:62
+msgid "Download"
+msgstr ""
+
+#: translatable_strings.c:65
+msgid "Help translate Libre.fm"
+msgstr ""
+
+#: translatable_strings.c:68
+msgid "A <a href=\"http://foocorp.org/\">FooCorp</a> thing."
+msgstr ""
+
+#: translatable_strings.c:71
+msgid "Powered by Nixtape"
+msgstr ""
+
+#: translatable_strings.c:74
+msgid "All Groups"
+msgstr ""
+
+#: translatable_strings.c:77
+msgid "%1 members"
+msgstr ""
+
+#: translatable_strings.c:80
+msgid "Group:"
+msgstr ""
+
+#: translatable_strings.c:83
+msgid "edit"
+msgstr ""
+
+#: translatable_strings.c:86
+msgid "leave"
+msgstr ""
+
+#: translatable_strings.c:89
+msgid "join"
+msgstr ""
+
+#: translatable_strings.c:92
+msgid "Top artists"
+msgstr ""
+
+#: translatable_strings.c:95
+msgid "discover new music"
+msgstr ""
+
+#: translatable_strings.c:98
+msgid ""
+"Your invitation has been sent, pretty soon your friend should be thanking "
+"you profusely."
+msgstr ""
+
+#: translatable_strings.c:101
+msgid ""
+"Do you have an awesome friend you'd like to share <a href='http://libre.fm' "
+"rel='bookmark' class='vcard fn org url'>libre.fm</a> with? Just enter his/"
+"her email address and we'll sort them out with an invitation code."
+msgstr ""
+
+#: translatable_strings.c:104
+msgid "Invitee's E-mail:"
+msgstr ""
+
+#: translatable_strings.c:107 translatable_strings.c:179
+#: translatable_strings.c:248
+msgid "must be valid!"
+msgstr ""
+
+#: translatable_strings.c:110
+msgid "Let them in!"
+msgstr ""
+
+#: translatable_strings.c:113
+#, c-format
+msgid ""
+"To listen to 100% free (libre) music simply enter the type of music you'd "
+"like to hear or select one of the common tags below:"
+msgstr ""
+
+#: translatable_strings.c:116
+msgid "Custom tag:"
+msgstr ""
+
+#: translatable_strings.c:119
+msgid "Country:"
+msgstr ""
+
+#: translatable_strings.c:122
+msgid "Users in %1"
+msgstr ""
+
+#: translatable_strings.c:125 translatable_strings.c:176
+msgid "Username"
+msgstr ""
+
+#: translatable_strings.c:128
+msgid "Password"
+msgstr ""
+
+#: translatable_strings.c:131
+msgid "Remember me"
+msgstr ""
+
+#: translatable_strings.c:134
+msgid "Let me in!"
+msgstr ""
+
+#: translatable_strings.c:137
+msgid "Register"
+msgstr "Register"
+
+#: translatable_strings.c:140
+msgid "Admin"
+msgstr "Administration"
+
+#: translatable_strings.c:143
+msgid "Logout"
+msgstr "Abmeldung"
+
+#: translatable_strings.c:146
+msgid "Listen"
+msgstr "Mithoeren"
+
+#: translatable_strings.c:149
+msgid "Login"
+msgstr "Anmeldung"
+
+#: translatable_strings.c:152
+msgid "Bugs"
+msgstr ""
+
+#: translatable_strings.c:155
+msgid "Help"
+msgstr "Hilfe"
+
+#: translatable_strings.c:158
+msgid ""
+"Sorry, you need a browser capable of making use of the HTML 5 <audio> "
+"tag to enjoy the streaming service via the JavaScript player."
+msgstr ""
+
+#: translatable_strings.c:161
+msgid "Playlist"
+msgstr ""
+
+#: translatable_strings.c:164
+msgid "Password recovery"
+msgstr ""
+
+#: translatable_strings.c:167
+msgid "Your new password has been emailed to you."
+msgstr ""
+
+#: translatable_strings.c:170
+msgid ""
+"An email with further information has been sent to the email address "
+"associated with your profile."
+msgstr ""
+
+#: translatable_strings.c:173
+msgid "Password Recovery"
+msgstr ""
+
+#: translatable_strings.c:182
+msgid "Recover my password!"
+msgstr ""
+
+#: translatable_strings.c:185
+msgid "Your account has been activated! You may now login!"
+msgstr ""
+
+#: translatable_strings.c:188
+msgid ""
+"You're now registered with libre.fm! An email has been sent to the email "
+"address you provided. Please follow the link in the email to activate your "
+"account!"
+msgstr ""
+
+#: translatable_strings.c:191
+msgid "Find out how to start sending us your listening habits"
+msgstr ""
+
+#: translatable_strings.c:194
+msgid "Join our mailing list"
+msgstr ""
+
+#: translatable_strings.c:197
+msgid "Read our blog"
+msgstr ""
+
+#: translatable_strings.c:200
+msgid "and"
+msgstr ""
+
+#: translatable_strings.c:203
+msgid "subscribe to Matt (our founder) on identi.ca"
+msgstr ""
+
+#: translatable_strings.c:206
+msgid "Your username:"
+msgstr ""
+
+#: translatable_strings.c:209
+msgid "(no more than 16 chars.)"
+msgstr ""
+
+#: translatable_strings.c:212
+msgid "Your password:"
+msgstr ""
+
+#: translatable_strings.c:215
+msgid "(make it hard to guess)"
+msgstr ""
+
+#: translatable_strings.c:218
+msgid "Your password again"
+msgstr ""
+
+#: translatable_strings.c:221
+msgid "(you should repeat it.)"
+msgstr ""
+
+#: translatable_strings.c:224
+msgid "Your e-mail:"
+msgstr ""
+
+#: translatable_strings.c:227
+msgid "(must be valid!)"
+msgstr ""
+
+#: translatable_strings.c:230
+msgid ""
+"Please note: we plan make your <a href=\"http://turtle.libre.fm/data/"
+"\">listening data available</a>, under the <a href=\"http://wiki."
+"openstreetmap.org/wiki/Open_Database_License\">the Open Database License</a>."
+msgstr ""
+
+#: translatable_strings.c:233
+msgid "Sign up"
+msgstr ""
+
+#: translatable_strings.c:236
+msgid ""
+"We won't sell, swap or give away your email address. You can optionally "
+"include personal data on your profile, which is displayed publicly."
+msgstr ""
+
+#: translatable_strings.c:239
+msgid ""
+"Your request for an invitation has been registered. Thank you for your "
+"interest in libre.fm!"
+msgstr ""
+
+#: translatable_strings.c:242
+msgid ""
+"<a href='http://libre.fm' rel='bookmark' class='vcard fn org url'>libre.fm</"
+"a> is now in alpha. We're slowly adding new users, so if you're interested, "
+"type in your email address and you'll receive an invitation in a few days "
+"time."
+msgstr ""
+
+#: translatable_strings.c:245
+msgid "Email"
+msgstr ""
+
+#: translatable_strings.c:251
+msgid "Request invite!"
+msgstr ""
+
+#: translatable_strings.c:254
+msgid "Artist:"
+msgstr ""
+
+#: translatable_strings.c:257
+msgid "Album:"
+msgstr ""
+
+#: translatable_strings.c:260
+msgid "Playcount:"
+msgstr ""
+
+#: translatable_strings.c:263
+msgid "Listeners:"
+msgstr ""
+
+#: translatable_strings.c:266
+msgid "Albums containing this track:"
+msgstr ""
+
+#: translatable_strings.c:275
+msgid "Location:"
+msgstr ""
+
+#: translatable_strings.c:278
+msgid "Geoname:"
+msgstr ""
+
+#: translatable_strings.c:281
+msgid "Find ..."
+msgstr ""
+
+#: translatable_strings.c:290
+msgid "Avatar URL:"
+msgstr ""
+
+#: translatable_strings.c:296
+msgid "Mini Biography:"
+msgstr ""
+
+#: translatable_strings.c:302
+msgid "Laconica/identi.ca Profile:"
+msgstr ""
+
+#: translatable_strings.c:308
+msgid "RSS Feed:"
+msgstr ""
+
+#: translatable_strings.c:314
+msgid "Password:"
+msgstr ""
+
+#: translatable_strings.c:317
+msgid "Leave this blank if you don't want to change your password."
+msgstr ""
+
+#: translatable_strings.c:320
+msgid "Confirm Password:"
+msgstr ""
+
+#: translatable_strings.c:323
+msgid "Location check"
+msgstr ""
+
+#: translatable_strings.c:326
+msgid ""
+"This feature looks up your location on <a href=\"http://www.geonames.org"
+"\">geonames</a>. You don't need to do it, but it will help us find your "
+"latitude and longitude, which will help us add some great location-based "
+"features in the future."
+msgstr ""
+
+#: translatable_strings.c:329
+msgid "Avatar URL"
+msgstr ""
+
+#: translatable_strings.c:332
+msgid ""
+"The web address for a picture to represent you on libre.fm. It should not be "
+"more than 80x80 pixels. (64x64 is best.) If you leave this empty, libre.fm "
+"will use <a href=\"http://gravatar.com\">Gravatar</a> to find an image for "
+"you."
+msgstr ""
+
+#: translatable_strings.c:335
+msgid ""
+"A URI that represents you in RDF. See <a href=\"http://esw.w3.org/topic/WebID"
+"\">WebID</a> for details. If you don't know what this is, it's best to leave "
+"it blank."
+msgstr ""
+
+#: translatable_strings.c:338
+msgid "Now Playing:"
+msgstr ""
+
+#: translatable_strings.c:341
+msgid "Latest %1 Plays:"
+msgstr ""
+
+#: translatable_strings.c:344
+msgid "%1's statistics"
+msgstr ""
+
+#: translatable_strings.c:347
+msgid "%1's most played artists"
+msgstr ""
+
+#: translatable_strings.c:350
+msgid "%1's top tracks"
+msgstr ""
+
+#: translatable_strings.c:353
+msgid "%1's scrobbles by day"
+msgstr ""
+
+#: translatable_strings.c:356
+msgid "Most played artists"
+msgstr ""
+
+#: translatable_strings.c:359
+msgid "Top tracks"
+msgstr ""
+
+#: translatable_strings.c:362
+msgid "Scrobbles by day"
+msgstr ""
+
+#: translatable_strings.c:365
+msgid "New on Libre.fm..."
+msgstr ""
+
+#: translatable_strings.c:368
+msgid "Upcoming events..."
+msgstr ""
+
+#: translatable_strings.c:371
+msgid "Libre music downloads..."
+msgstr ""
+
+#: translatable_strings.c:374
+msgid "More Libre music downloads..."
+msgstr ""
+
+#: translatable_strings.c:377
+msgid "License"
+msgstr ""
+
+#: translatable_strings.c:380
+msgid "Featured group"
+msgstr ""
Added: trunk/nixtape/themes/librefm/locale/nixtape.pot
===================================================================
--- trunk/nixtape/themes/librefm/locale/nixtape.pot
(rev 0)
+++ trunk/nixtape/themes/librefm/locale/nixtape.pot 2009-05-08 10:54:31 UTC
(rev 1408)
@@ -0,0 +1,525 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <address@hidden>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2009-05-08 11:48+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <address@hidden>\n"
+"Language-Team: LANGUAGE <address@hidden>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: translatable_strings.c:2
+msgid "Email was sent successfully!"
+msgstr ""
+
+#: translatable_strings.c:5
+msgid "Requests for invites"
+msgstr ""
+
+#: translatable_strings.c:8
+msgid "Invited people"
+msgstr ""
+
+#: translatable_strings.c:11
+msgid "Remove your profile"
+msgstr ""
+
+#: translatable_strings.c:14
+msgid "Confirmation mail has been sent to email on file for %1. Thank you"
+msgstr ""
+
+#: translatable_strings.c:17
+msgid "Create a group"
+msgstr ""
+
+#: translatable_strings.c:20
+msgid "Address for the group:"
+msgstr ""
+
+#: translatable_strings.c:23
+msgid "Create"
+msgstr ""
+
+#: translatable_strings.c:26
+msgid "Edit your group"
+msgstr ""
+
+#: translatable_strings.c:29 translatable_strings.c:269
+msgid ""
+"The form below is still very experimental. Using this may wreck your account!"
+msgstr ""
+
+#: translatable_strings.c:32 translatable_strings.c:272
+msgid "Full name:"
+msgstr ""
+
+#: translatable_strings.c:35 translatable_strings.c:287
+msgid "Homepage URL:"
+msgstr ""
+
+#: translatable_strings.c:38
+msgid "Logo URL:"
+msgstr ""
+
+#: translatable_strings.c:41 translatable_strings.c:284
+#: translatable_strings.c:293 translatable_strings.c:299
+#: translatable_strings.c:305 translatable_strings.c:311
+msgid "What's this?"
+msgstr ""
+
+#: translatable_strings.c:44
+msgid "Description:"
+msgstr ""
+
+#: translatable_strings.c:47
+msgid ""
+"The web address for a picture to represent your group on libre.fm. It "
+"should\n"
+"\tnot be more than 80x80 pixels. (64x64 is best.)"
+msgstr ""
+
+#: translatable_strings.c:50
+msgid "Explore popular artists"
+msgstr ""
+
+#: translatable_strings.c:53
+msgid "Contributors"
+msgstr ""
+
+#: translatable_strings.c:56
+msgid "Licensing information"
+msgstr ""
+
+#: translatable_strings.c:59
+msgid "Developers"
+msgstr ""
+
+#: translatable_strings.c:62
+msgid "Download"
+msgstr ""
+
+#: translatable_strings.c:65
+msgid "Help translate Libre.fm"
+msgstr ""
+
+#: translatable_strings.c:68
+msgid "A <a href=\"http://foocorp.org/\">FooCorp</a> thing."
+msgstr ""
+
+#: translatable_strings.c:71
+msgid "Powered by Nixtape"
+msgstr ""
+
+#: translatable_strings.c:74
+msgid "All Groups"
+msgstr ""
+
+#: translatable_strings.c:77
+msgid "%1 members"
+msgstr ""
+
+#: translatable_strings.c:80
+msgid "Group:"
+msgstr ""
+
+#: translatable_strings.c:83
+msgid "edit"
+msgstr ""
+
+#: translatable_strings.c:86
+msgid "leave"
+msgstr ""
+
+#: translatable_strings.c:89
+msgid "join"
+msgstr ""
+
+#: translatable_strings.c:92
+msgid "Top artists"
+msgstr ""
+
+#: translatable_strings.c:95
+msgid "discover new music"
+msgstr ""
+
+#: translatable_strings.c:98
+msgid ""
+"Your invitation has been sent, pretty soon your friend should be thanking "
+"you profusely."
+msgstr ""
+
+#: translatable_strings.c:101
+msgid ""
+"Do you have an awesome friend you'd like to share <a href='http://libre.fm' "
+"rel='bookmark' class='vcard fn org url'>libre.fm</a> with? Just enter his/"
+"her email address and we'll sort them out with an invitation code."
+msgstr ""
+
+#: translatable_strings.c:104
+msgid "Invitee's E-mail:"
+msgstr ""
+
+#: translatable_strings.c:107 translatable_strings.c:179
+#: translatable_strings.c:248
+msgid "must be valid!"
+msgstr ""
+
+#: translatable_strings.c:110
+msgid "Let them in!"
+msgstr ""
+
+#: translatable_strings.c:113
+#, c-format
+msgid ""
+"To listen to 100% free (libre) music simply enter the type of music you'd "
+"like to hear or select one of the common tags below:"
+msgstr ""
+
+#: translatable_strings.c:116
+msgid "Custom tag:"
+msgstr ""
+
+#: translatable_strings.c:119
+msgid "Country:"
+msgstr ""
+
+#: translatable_strings.c:122
+msgid "Users in %1"
+msgstr ""
+
+#: translatable_strings.c:125 translatable_strings.c:176
+msgid "Username"
+msgstr ""
+
+#: translatable_strings.c:128
+msgid "Password"
+msgstr ""
+
+#: translatable_strings.c:131
+msgid "Remember me"
+msgstr ""
+
+#: translatable_strings.c:134
+msgid "Let me in!"
+msgstr ""
+
+#: translatable_strings.c:137
+msgid "Register"
+msgstr ""
+
+#: translatable_strings.c:140
+msgid "Admin"
+msgstr ""
+
+#: translatable_strings.c:143
+msgid "Logout"
+msgstr ""
+
+#: translatable_strings.c:146
+msgid "Listen"
+msgstr ""
+
+#: translatable_strings.c:149
+msgid "Login"
+msgstr ""
+
+#: translatable_strings.c:152
+msgid "Bugs"
+msgstr ""
+
+#: translatable_strings.c:155
+msgid "Help"
+msgstr ""
+
+#: translatable_strings.c:158
+msgid ""
+"Sorry, you need a browser capable of making use of the HTML 5 <audio> "
+"tag to enjoy the streaming service via the JavaScript player."
+msgstr ""
+
+#: translatable_strings.c:161
+msgid "Playlist"
+msgstr ""
+
+#: translatable_strings.c:164
+msgid "Password recovery"
+msgstr ""
+
+#: translatable_strings.c:167
+msgid "Your new password has been emailed to you."
+msgstr ""
+
+#: translatable_strings.c:170
+msgid ""
+"An email with further information has been sent to the email address "
+"associated with your profile."
+msgstr ""
+
+#: translatable_strings.c:173
+msgid "Password Recovery"
+msgstr ""
+
+#: translatable_strings.c:182
+msgid "Recover my password!"
+msgstr ""
+
+#: translatable_strings.c:185
+msgid "Your account has been activated! You may now login!"
+msgstr ""
+
+#: translatable_strings.c:188
+msgid ""
+"You're now registered with libre.fm! An email has been sent to the email "
+"address you provided. Please follow the link in the email to activate your "
+"account!"
+msgstr ""
+
+#: translatable_strings.c:191
+msgid "Find out how to start sending us your listening habits"
+msgstr ""
+
+#: translatable_strings.c:194
+msgid "Join our mailing list"
+msgstr ""
+
+#: translatable_strings.c:197
+msgid "Read our blog"
+msgstr ""
+
+#: translatable_strings.c:200
+msgid "and"
+msgstr ""
+
+#: translatable_strings.c:203
+msgid "subscribe to Matt (our founder) on identi.ca"
+msgstr ""
+
+#: translatable_strings.c:206
+msgid "Your username:"
+msgstr ""
+
+#: translatable_strings.c:209
+msgid "(no more than 16 chars.)"
+msgstr ""
+
+#: translatable_strings.c:212
+msgid "Your password:"
+msgstr ""
+
+#: translatable_strings.c:215
+msgid "(make it hard to guess)"
+msgstr ""
+
+#: translatable_strings.c:218
+msgid "Your password again"
+msgstr ""
+
+#: translatable_strings.c:221
+msgid "(you should repeat it.)"
+msgstr ""
+
+#: translatable_strings.c:224
+msgid "Your e-mail:"
+msgstr ""
+
+#: translatable_strings.c:227
+msgid "(must be valid!)"
+msgstr ""
+
+#: translatable_strings.c:230
+msgid ""
+"Please note: we plan make your <a href=\"http://turtle.libre.fm/data/"
+"\">listening data available</a>, under the <a href=\"http://wiki."
+"openstreetmap.org/wiki/Open_Database_License\">the Open Database License</a>."
+msgstr ""
+
+#: translatable_strings.c:233
+msgid "Sign up"
+msgstr ""
+
+#: translatable_strings.c:236
+msgid ""
+"We won't sell, swap or give away your email address. You can optionally "
+"include personal data on your profile, which is displayed publicly."
+msgstr ""
+
+#: translatable_strings.c:239
+msgid ""
+"Your request for an invitation has been registered. Thank you for your "
+"interest in libre.fm!"
+msgstr ""
+
+#: translatable_strings.c:242
+msgid ""
+"<a href='http://libre.fm' rel='bookmark' class='vcard fn org url'>libre.fm</"
+"a> is now in alpha. We're slowly adding new users, so if you're interested, "
+"type in your email address and you'll receive an invitation in a few days "
+"time."
+msgstr ""
+
+#: translatable_strings.c:245
+msgid "Email"
+msgstr ""
+
+#: translatable_strings.c:251
+msgid "Request invite!"
+msgstr ""
+
+#: translatable_strings.c:254
+msgid "Artist:"
+msgstr ""
+
+#: translatable_strings.c:257
+msgid "Album:"
+msgstr ""
+
+#: translatable_strings.c:260
+msgid "Playcount:"
+msgstr ""
+
+#: translatable_strings.c:263
+msgid "Listeners:"
+msgstr ""
+
+#: translatable_strings.c:266
+msgid "Albums containing this track:"
+msgstr ""
+
+#: translatable_strings.c:275
+msgid "Location:"
+msgstr ""
+
+#: translatable_strings.c:278
+msgid "Geoname:"
+msgstr ""
+
+#: translatable_strings.c:281
+msgid "Find ..."
+msgstr ""
+
+#: translatable_strings.c:290
+msgid "Avatar URL:"
+msgstr ""
+
+#: translatable_strings.c:296
+msgid "Mini Biography:"
+msgstr ""
+
+#: translatable_strings.c:302
+msgid "Laconica/identi.ca Profile:"
+msgstr ""
+
+#: translatable_strings.c:308
+msgid "RSS Feed:"
+msgstr ""
+
+#: translatable_strings.c:314
+msgid "Password:"
+msgstr ""
+
+#: translatable_strings.c:317
+msgid "Leave this blank if you don't want to change your password."
+msgstr ""
+
+#: translatable_strings.c:320
+msgid "Confirm Password:"
+msgstr ""
+
+#: translatable_strings.c:323
+msgid "Location check"
+msgstr ""
+
+#: translatable_strings.c:326
+msgid ""
+"This feature looks up your location on <a href=\"http://www.geonames.org"
+"\">geonames</a>. You don't need to do it, but it will help us find your "
+"latitude and longitude, which will help us add some great location-based "
+"features in the future."
+msgstr ""
+
+#: translatable_strings.c:329
+msgid "Avatar URL"
+msgstr ""
+
+#: translatable_strings.c:332
+msgid ""
+"The web address for a picture to represent you on libre.fm. It should not be "
+"more than 80x80 pixels. (64x64 is best.) If you leave this empty, libre.fm "
+"will use <a href=\"http://gravatar.com\">Gravatar</a> to find an image for "
+"you."
+msgstr ""
+
+#: translatable_strings.c:335
+msgid ""
+"A URI that represents you in RDF. See <a href=\"http://esw.w3.org/topic/WebID"
+"\">WebID</a> for details. If you don't know what this is, it's best to leave "
+"it blank."
+msgstr ""
+
+#: translatable_strings.c:338
+msgid "Now Playing:"
+msgstr ""
+
+#: translatable_strings.c:341
+msgid "Latest %1 Plays:"
+msgstr ""
+
+#: translatable_strings.c:344
+msgid "%1's statistics"
+msgstr ""
+
+#: translatable_strings.c:347
+msgid "%1's most played artists"
+msgstr ""
+
+#: translatable_strings.c:350
+msgid "%1's top tracks"
+msgstr ""
+
+#: translatable_strings.c:353
+msgid "%1's scrobbles by day"
+msgstr ""
+
+#: translatable_strings.c:356
+msgid "Most played artists"
+msgstr ""
+
+#: translatable_strings.c:359
+msgid "Top tracks"
+msgstr ""
+
+#: translatable_strings.c:362
+msgid "Scrobbles by day"
+msgstr ""
+
+#: translatable_strings.c:365
+msgid "New on Libre.fm..."
+msgstr ""
+
+#: translatable_strings.c:368
+msgid "Upcoming events..."
+msgstr ""
+
+#: translatable_strings.c:371
+msgid "Libre music downloads..."
+msgstr ""
+
+#: translatable_strings.c:374
+msgid "More Libre music downloads..."
+msgstr ""
+
+#: translatable_strings.c:377
+msgid "License"
+msgstr ""
+
+#: translatable_strings.c:380
+msgid "Featured group"
+msgstr ""
Added: trunk/nixtape/themes/librefm/locale/translatable_strings.c
===================================================================
--- trunk/nixtape/themes/librefm/locale/translatable_strings.c
(rev 0)
+++ trunk/nixtape/themes/librefm/locale/translatable_strings.c 2009-05-08
10:54:31 UTC (rev 1408)
@@ -0,0 +1,381 @@
+/* ../templates/admin.tpl */
+gettext("Email was sent successfully!");
+
+/* ../templates/admin.tpl */
+gettext("Requests for invites");
+
+/* ../templates/admin.tpl */
+gettext("Invited people");
+
+/* ../templates/delete-profile.tpl */
+gettext("Remove your profile");
+
+/* ../templates/delete-profile.tpl */
+gettext("Confirmation mail has been sent to email on file for %1. Thank you");
+
+/* ../templates/edit_group.tpl */
+gettext("Create a group");
+
+/* ../templates/edit_group.tpl */
+gettext("Address for the group:");
+
+/* ../templates/edit_group.tpl */
+gettext("Create");
+
+/* ../templates/edit_group.tpl */
+gettext("Edit your group");
+
+/* ../templates/edit_group.tpl */
+gettext("The form below is still very experimental. Using this may wreck your
account!");
+
+/* ../templates/edit_group.tpl */
+gettext("Full name:");
+
+/* ../templates/edit_group.tpl */
+gettext("Homepage URL:");
+
+/* ../templates/edit_group.tpl */
+gettext("Logo URL:");
+
+/* ../templates/edit_group.tpl */
+gettext("What's this?");
+
+/* ../templates/edit_group.tpl */
+gettext("Description:");
+
+/* ../templates/edit_group.tpl */
+gettext("The web address for a picture to represent your group on libre.fm. It
should\n not be more than 80x80 pixels. (64x64 is best.)");
+
+/* ../templates/explore-artists.tpl */
+gettext("Explore popular artists");
+
+/* ../templates/footer.tpl */
+gettext("Contributors");
+
+/* ../templates/footer.tpl */
+gettext("Licensing information");
+
+/* ../templates/footer.tpl */
+gettext("Developers");
+
+/* ../templates/footer.tpl */
+gettext("Download");
+
+/* ../templates/footer.tpl */
+gettext("Help translate Libre.fm");
+
+/* ../templates/footer.tpl */
+gettext("A <a href=\"http://foocorp.org/\">FooCorp</a> thing.");
+
+/* ../templates/footer.tpl */
+gettext("Powered by Nixtape");
+
+/* ../templates/group-list.tpl */
+gettext("All Groups");
+
+/* ../templates/group-list.tpl */
+gettext("%1 members");
+
+/* ../templates/group.tpl */
+gettext("Group:");
+
+/* ../templates/group.tpl */
+gettext("edit");
+
+/* ../templates/group.tpl */
+gettext("leave");
+
+/* ../templates/group.tpl */
+gettext("join");
+
+/* ../templates/group.tpl */
+gettext("Top artists");
+
+/* ../templates/header.tpl */
+gettext("discover new music");
+
+/* ../templates/invite.tpl */
+gettext("Your invitation has been sent, pretty soon your friend should be
thanking you profusely.");
+
+/* ../templates/invite.tpl */
+gettext("Do you have an awesome friend you'd like to share <a
href='http://libre.fm' rel='bookmark' class='vcard fn org url'>libre.fm</a>
with? Just enter his/her email address and we'll sort them out with an
invitation code.");
+
+/* ../templates/invite.tpl */
+gettext("Invitee's E-mail:");
+
+/* ../templates/invite.tpl */
+gettext("must be valid!");
+
+/* ../templates/invite.tpl */
+gettext("Let them in!");
+
+/* ../templates/listen.tpl */
+gettext("To listen to 100% free (libre) music simply enter the type of music
you'd like to hear or select one of the common tags below:");
+
+/* ../templates/listen.tpl */
+gettext("Custom tag:");
+
+/* ../templates/location-country.tpl */
+gettext("Country:");
+
+/* ../templates/location-country.tpl */
+gettext("Users in %1");
+
+/* ../templates/login.tpl */
+gettext("Username");
+
+/* ../templates/login.tpl */
+gettext("Password");
+
+/* ../templates/login.tpl */
+gettext("Remember me");
+
+/* ../templates/login.tpl */
+gettext("Let me in!");
+
+/* ../templates/menu.tpl */
+gettext("Register");
+
+/* ../templates/menu.tpl */
+gettext("Admin");
+
+/* ../templates/menu.tpl */
+gettext("Logout");
+
+/* ../templates/menu.tpl */
+gettext("Listen");
+
+/* ../templates/menu.tpl */
+gettext("Login");
+
+/* ../templates/menu.tpl */
+gettext("Bugs");
+
+/* ../templates/menu.tpl */
+gettext("Help");
+
+/* ../templates/player.tpl */
+gettext("Sorry, you need a browser capable of making use of the HTML 5
<audio> tag to enjoy the streaming service via the JavaScript player.");
+
+/* ../templates/player.tpl */
+gettext("Playlist");
+
+/* ../templates/recovery.tpl */
+gettext("Password recovery");
+
+/* ../templates/recovery.tpl */
+gettext("Your new password has been emailed to you.");
+
+/* ../templates/recovery.tpl */
+gettext("An email with further information has been sent to the email address
associated with your profile.");
+
+/* ../templates/recovery.tpl */
+gettext("Password Recovery");
+
+/* ../templates/recovery.tpl */
+gettext("Username");
+
+/* ../templates/recovery.tpl */
+gettext("must be valid!");
+
+/* ../templates/recovery.tpl */
+gettext("Recover my password!");
+
+/* ../templates/register.tpl */
+gettext("Your account has been activated! You may now login!");
+
+/* ../templates/register.tpl */
+gettext("You're now registered with libre.fm! An email has been sent to the
email address you provided. Please follow the link in the email to activate
your account!");
+
+/* ../templates/register.tpl */
+gettext("Find out how to start sending us your listening habits");
+
+/* ../templates/register.tpl */
+gettext("Join our mailing list");
+
+/* ../templates/register.tpl */
+gettext("Read our blog");
+
+/* ../templates/register.tpl */
+gettext("and");
+
+/* ../templates/register.tpl */
+gettext("subscribe to Matt (our founder) on identi.ca");
+
+/* ../templates/register.tpl */
+gettext("Your username:");
+
+/* ../templates/register.tpl */
+gettext("(no more than 16 chars.)");
+
+/* ../templates/register.tpl */
+gettext("Your password:");
+
+/* ../templates/register.tpl */
+gettext("(make it hard to guess)");
+
+/* ../templates/register.tpl */
+gettext("Your password again");
+
+/* ../templates/register.tpl */
+gettext("(you should repeat it.)");
+
+/* ../templates/register.tpl */
+gettext("Your e-mail:");
+
+/* ../templates/register.tpl */
+gettext("(must be valid!)");
+
+/* ../templates/register.tpl */
+gettext("Please note: we plan make your <a
href=\"http://turtle.libre.fm/data/\">listening data available</a>, under the
<a href=\"http://wiki.openstreetmap.org/wiki/Open_Database_License\">the Open
Database License</a>.");
+
+/* ../templates/register.tpl */
+gettext("Sign up");
+
+/* ../templates/register.tpl */
+gettext("We won't sell, swap or give away your email address. You can
optionally include personal data on your profile, which is displayed
publicly.");
+
+/* ../templates/request.tpl */
+gettext("Your request for an invitation has been registered. Thank you for
your interest in libre.fm!");
+
+/* ../templates/request.tpl */
+gettext("<a href='http://libre.fm' rel='bookmark' class='vcard fn org
url'>libre.fm</a> is now in alpha. We're slowly adding new users, so if you're
interested, type in your email address and you'll receive an invitation in a
few days time.");
+
+/* ../templates/request.tpl */
+gettext("Email");
+
+/* ../templates/request.tpl */
+gettext("must be valid!");
+
+/* ../templates/request.tpl */
+gettext("Request invite!");
+
+/* ../templates/track.tpl */
+gettext("Artist:");
+
+/* ../templates/track.tpl */
+gettext("Album:");
+
+/* ../templates/track.tpl */
+gettext("Playcount:");
+
+/* ../templates/track.tpl */
+gettext("Listeners:");
+
+/* ../templates/track.tpl */
+gettext("Albums containing this track:");
+
+/* ../templates/user-edit.tpl */
+gettext("The form below is still very experimental. Using this may wreck your
account!");
+
+/* ../templates/user-edit.tpl */
+gettext("Full name:");
+
+/* ../templates/user-edit.tpl */
+gettext("Location:");
+
+/* ../templates/user-edit.tpl */
+gettext("Geoname:");
+
+/* ../templates/user-edit.tpl */
+gettext("Find ...");
+
+/* ../templates/user-edit.tpl */
+gettext("What's this?");
+
+/* ../templates/user-edit.tpl */
+gettext("Homepage URL:");
+
+/* ../templates/user-edit.tpl */
+gettext("Avatar URL:");
+
+/* ../templates/user-edit.tpl */
+gettext("What's this?");
+
+/* ../templates/user-edit.tpl */
+gettext("Mini Biography:");
+
+/* ../templates/user-edit.tpl */
+gettext("What's this?");
+
+/* ../templates/user-edit.tpl */
+gettext("Laconica/identi.ca Profile:");
+
+/* ../templates/user-edit.tpl */
+gettext("What's this?");
+
+/* ../templates/user-edit.tpl */
+gettext("RSS Feed:");
+
+/* ../templates/user-edit.tpl */
+gettext("What's this?");
+
+/* ../templates/user-edit.tpl */
+gettext("Password:");
+
+/* ../templates/user-edit.tpl */
+gettext("Leave this blank if you don't want to change your password.");
+
+/* ../templates/user-edit.tpl */
+gettext("Confirm Password:");
+
+/* ../templates/user-edit.tpl */
+gettext("Location check");
+
+/* ../templates/user-edit.tpl */
+gettext("This feature looks up your location on <a
href=\"http://www.geonames.org\">geonames</a>. You don't need to do it, but it
will help us find your latitude and longitude, which will help us add some
great location-based features in the future.");
+
+/* ../templates/user-edit.tpl */
+gettext("Avatar URL");
+
+/* ../templates/user-edit.tpl */
+gettext("The web address for a picture to represent you on libre.fm. It should
not be more than 80x80 pixels. (64x64 is best.) If you leave this empty,
libre.fm will use <a href=\"http://gravatar.com\">Gravatar</a> to find an image
for you.");
+
+/* ../templates/user-edit.tpl */
+gettext("A URI that represents you in RDF. See <a
href=\"http://esw.w3.org/topic/WebID\">WebID</a> for details. If you don't know
what this is, it's best to leave it blank.");
+
+/* ../templates/user-profile.tpl */
+gettext("Now Playing:");
+
+/* ../templates/user-profile.tpl */
+gettext("Latest %1 Plays:");
+
+/* ../templates/user-stats.tpl */
+gettext("%1's statistics");
+
+/* ../templates/user-stats.tpl */
+gettext("%1's most played artists");
+
+/* ../templates/user-stats.tpl */
+gettext("%1's top tracks");
+
+/* ../templates/user-stats.tpl */
+gettext("%1's scrobbles by day");
+
+/* ../templates/user-stats.tpl */
+gettext("Most played artists");
+
+/* ../templates/user-stats.tpl */
+gettext("Top tracks");
+
+/* ../templates/user-stats.tpl */
+gettext("Scrobbles by day");
+
+/* ../templates/welcome.tpl */
+gettext("New on Libre.fm...");
+
+/* ../templates/welcome.tpl */
+gettext("Upcoming events...");
+
+/* ../templates/welcome.tpl */
+gettext("Libre music downloads...");
+
+/* ../templates/welcome.tpl */
+gettext("More Libre music downloads...");
+
+/* ../templates/welcome.tpl */
+gettext("License");
+
+/* ../templates/welcome.tpl */
+gettext("Featured group");
+
Added: trunk/nixtape/themes/librefm/locale/update.sh
===================================================================
--- trunk/nixtape/themes/librefm/locale/update.sh
(rev 0)
+++ trunk/nixtape/themes/librefm/locale/update.sh 2009-05-08 10:54:31 UTC
(rev 1408)
@@ -0,0 +1,11 @@
+tsmarty2c.php ../templates/*.tpl > translatable_strings.c
+xgettext translatable_strings.c
+mv messages.po nixtape.pot
+for langpo in `ls *.po`
+do
+ lang=`echo $langpo | cut -d '.' -f 1`
+ echo "Updating $lang"
+ msgmerge -U $langpo nixtape.pot
+ mkdir -p $lang/LC_MESSAGES/
+ msgfmt -o $lang/LC_MESSAGES/nixtape.mo $langpo
+done
Property changes on: trunk/nixtape/themes/librefm/locale/update.sh
___________________________________________________________________
Added: svn:executable
+ *
Modified: trunk/nixtape/themes/librefm/templates/admin.tpl
===================================================================
--- trunk/nixtape/themes/librefm/templates/admin.tpl 2009-05-08 10:20:33 UTC
(rev 1407)
+++ trunk/nixtape/themes/librefm/templates/admin.tpl 2009-05-08 10:54:31 UTC
(rev 1408)
@@ -4,9 +4,9 @@
<hr>
{if isset($sent)}
-<b>Email was sent successfully!</b><br/ >
+<b>{t}Email was sent successfully!{/t}</b><br/ >
{/if}
-<b>Requests for invites</b>
+<b>{t}Requests for invites{/t}</b>
<ul id="invites">
{section name=i loop=$emails}
{if ($emails[i].status == '0')}
@@ -19,7 +19,7 @@
{/if}
{/section}
</ul><br />
-<b>Invited people</b>
+<b>{t}Invited people{/t}</b>
<ul id="invitees">
{section name=i loop=$emails}
{if ($emails[i].status == '1')}
Modified: trunk/nixtape/themes/librefm/templates/delete-profile.tpl
===================================================================
--- trunk/nixtape/themes/librefm/templates/delete-profile.tpl 2009-05-08
10:20:33 UTC (rev 1407)
+++ trunk/nixtape/themes/librefm/templates/delete-profile.tpl 2009-05-08
10:54:31 UTC (rev 1408)
@@ -1,6 +1,6 @@
{include file='header.tpl'}
-<h2 property="dc:title">Remove your profile</h2>
-<p><strong>Confirmation mail has been sent to email on file for
{$this_user->name}. Thank you</strong></p>
+<h2 property="dc:title">{t}Remove your profile{/t}</h2>
+<p><strong>{t name="$this_user->name"}Confirmation mail has been sent to email
on file for %1. Thank you{/t}</strong></p>
{include file='footer.tpl'}
Modified: trunk/nixtape/themes/librefm/templates/edit_group.tpl
===================================================================
--- trunk/nixtape/themes/librefm/templates/edit_group.tpl 2009-05-08
10:20:33 UTC (rev 1407)
+++ trunk/nixtape/themes/librefm/templates/edit_group.tpl 2009-05-08
10:54:31 UTC (rev 1408)
@@ -2,12 +2,12 @@
{if $newform}
-<h2 property="dc:title">Create a group</h2>
+<h2 property="dc:title">{t}Create a group{/t}</h2>
<form action="{$base_url}/edit_group.php" method="post">
<p style="display:center">
-<label for="new">Address for the group:</label><br />
+<label for="new">{t}Address for the group:{/t}</label><br />
<b>{$base_url}/group/</b><input id="new" name="new" size="12" /></p>
<p>Please remember that Libre.fm is focused on freedom, so try to
@@ -17,36 +17,36 @@
<p>
<input name="group" value="new" type="hidden" />
-<input type="submit" value=" Create " />
+<input type="submit" value=" {t}Create{/t} " />
</p>
</form>
{else}
-<h2 property="dc:title">Edit your group</h2>
+<h2 property="dc:title">{t}Edit your group{/t}</h2>
-<p><strong>The form below is still <em>very</em> experimental. Using this may
wreck your account!</strong></p>
+<p><strong>{t}The form below is still very experimental. Using this may wreck
your account!{/t}</strong></p>
<form action="{$base_url}/edit_group.php" method="post" class="notcrazy">
<table>
<tr>
- <th align="right" valign="top"><label
for="fullname">Full name:</label></th>
+ <th align="right" valign="top"><label
for="fullname">{t}Full name:{/t}</label></th>
<td><input name="fullname" id="fullname"
value="{$fullname|escape:'html':'UTF-8'}" /></td>
<td> </td>
</tr>
<tr>
- <th align="right" valign="top"><label
for="homepage">Homepage URL:</label></th>
+ <th align="right" valign="top"><label
for="homepage">{t}Homepage URL:{/t}</label></th>
<td><input name="homepage" id="homepage"
value="{$homepage|escape:'html':'UTF-8'}" /></td>
<td> </td>
</tr>
<tr>
- <th align="right" valign="top"><label
for="avatar_uri">Logo URL:</label></th>
+ <th align="right" valign="top"><label
for="avatar_uri">{t}Logo URL:{/t}</label></th>
<td><input name="avatar_uri" id="avatar_uri"
value="{$avatar_uri|escape:'html':'UTF-8'}" /></td>
- <td><a href="#dfn_avatar_uri" rel="glossary">What's
this?</a></td>
+ <td><a href="#dfn_avatar_uri" rel="glossary">{t}What's
this?{/t}</a></td>
</tr>
<tr>
- <th align="right" valign="top"><label
for="bio">Description:</label></th>
+ <th align="right" valign="top"><label
for="bio">{t}Description:{/t}</label></th>
<td><textarea name="bio" id="bio" rows="6" cols="30"
style="width:100%;min-width:20em">{$bio|escape:'html':'UTF-8'}</textarea></td>
<td> </td>
</tr>
@@ -63,8 +63,8 @@
<h3>Help</h3>
<dl>
<dt id="dfn_avatar_uri">Logo URL</dt>
- <dd>The web address for a picture to represent your group on libre.fm.
It should
- not be more than 80x80 pixels. (64x64 is best.)</dd>
+ <dd>{t}The web address for a picture to represent your group on
libre.fm. It should
+ not be more than 80x80 pixels. (64x64 is best.){/t}</dd>
</dl>
{/if}
Modified: trunk/nixtape/themes/librefm/templates/explore-artists.tpl
===================================================================
--- trunk/nixtape/themes/librefm/templates/explore-artists.tpl 2009-05-08
10:20:33 UTC (rev 1407)
+++ trunk/nixtape/themes/librefm/templates/explore-artists.tpl 2009-05-08
10:54:31 UTC (rev 1408)
@@ -1,6 +1,6 @@
{include file='header.tpl'}
-<h2>Explore popular artists</h2>
+<h2>{t}Explore popular artists{/t}</h2>
<ul id="topartists" class="listcloud">
{section name=popular loop=$topartists}
Modified: trunk/nixtape/themes/librefm/templates/footer.tpl
===================================================================
--- trunk/nixtape/themes/librefm/templates/footer.tpl 2009-05-08 10:20:33 UTC
(rev 1407)
+++ trunk/nixtape/themes/librefm/templates/footer.tpl 2009-05-08 10:54:31 UTC
(rev 1408)
@@ -19,18 +19,18 @@
<ul>
<li class="copy">© 2009 <a href="http://libre.fm/">Libre.fm</a>
Project</li>
- <li><a href="http://libre.fm/contributors/">Contributors</a></li>
- <li><a href="http://libre.fm/licensing/">Licensing information</a></li>
- <li><a href="http://libre.fm/developers/">Developers</a></li>
+ <li><a href="http://libre.fm/contributors/">{t}Contributors{/t}</a></li>
+ <li><a href="http://libre.fm/licensing/">{t}Licensing
information{/t}</a></li>
+ <li><a href="http://libre.fm/developers/">{t}Developers{/t}</a></li>
<li><a href="http://libre.fm/api/">API</a></li>
- <li><a href="http://libre.fm/download/">Download</a></li>
- <li><a href="http://libre.fm/translations/">Help translate
Libre.fm</a></li>
+ <li><a href="http://libre.fm/download/">{t}Download{/t}</a></li>
+ <li><a href="http://libre.fm/translations/">{t}Help translate
Libre.fm{/t}</a></li>
</ul>
<ul>
- <li>A <a href="http://foocorp.org/">FooCorp</a> thing.</li>
+ <li>{t escape=no}A <a href="http://foocorp.org/">FooCorp</a>
thing.{/t}</li>
<li><a href="http://autonomo.us/">autonomo.us</a></li>
- <li><a href="http://nixtape.org/">Powered by Nixtape</a></li>
+ <li><a href="http://nixtape.org/">{t}Powered by Nixtape{/t}</a></li>
</ul>
</div>
Modified: trunk/nixtape/themes/librefm/templates/group-list.tpl
===================================================================
--- trunk/nixtape/themes/librefm/templates/group-list.tpl 2009-05-08
10:20:33 UTC (rev 1407)
+++ trunk/nixtape/themes/librefm/templates/group-list.tpl 2009-05-08
10:54:31 UTC (rev 1408)
@@ -1,6 +1,6 @@
{include file='header.tpl'}
-<h2 property="dc:title">All Groups</h2>
+<h2 property="dc:title">{t}All Groups{/t}</h2>
<div about="#groups" typeof="foaf:Group" property="foaf:name" content="All
Groups">
@@ -19,7 +19,7 @@
</dt>
<dd>{if $g->homepage}<a class="url"
rel="foaf:page"
href="{$g->homepage|escape:'html':'UTF-8'}">{$g->homepage|escape:'html':'UTF-8'}</a>{/if}</dd>
<dd class="note"
property="dc:abstract">{$g->bio|escape:'html':'UTF-8'}</dd>
- <dd><a rel="foaf:homepage"
rev="foaf:primaryTopic" property="dc:description"
href="{$g->getURL()|escape:'html':'UTF-8'}">{$g->count} members</a></dd>
+ <dd><a rel="foaf:homepage"
rev="foaf:primaryTopic" property="dc:description"
href="{$g->getURL()|escape:'html':'UTF-8'}">{t members='$g->count}%1
members{/t}</a></dd>
</dl>
<hr style="border: 1px solid transparent; clear: both;"
/>
</div>
Modified: trunk/nixtape/themes/librefm/templates/group.tpl
===================================================================
--- trunk/nixtape/themes/librefm/templates/group.tpl 2009-05-08 10:20:33 UTC
(rev 1407)
+++ trunk/nixtape/themes/librefm/templates/group.tpl 2009-05-08 10:54:31 UTC
(rev 1408)
@@ -1,6 +1,6 @@
{include file='header.tpl'}
-<h2 property="dc:title">Group: {$fullname|escape:'html':'UTF-8'}</h2>
+<h2 property="dc:title">{t}Group:{/t} {$fullname|escape:'html':'UTF-8'}</h2>
<div about="{$id}" typeof="foaf:Group">
@@ -12,12 +12,12 @@
{if $logged_in}
{if $ismember}
{if $isowner}
- <a class="edit" href="{$link_edit}">[edit]</a>
+ <a class="edit" href="{$link_edit}">[{t}edit{/t}]</a>
{else}
- <form class="edit" action="{$link}"
method="get"><div><input type="hidden" name="action" value="leave" /><input
type="submit" value=" leave " /></div></form>
+ <form class="edit" action="{$link}"
method="get"><div><input type="hidden" name="action" value="leave" /><input
type="submit" value=" {t}leave{/t} " /></div></form>
{/if}
{else}
- <form class="edit" action="{$link}"
method="get"><div><input type="hidden" name="action" value="join" /><input
type="submit" value=" join " /></div></form>
+ <form class="edit" action="{$link}"
method="get"><div><input type="hidden" name="action" value="join" /><input
type="submit" value=" {t}join{/t} " /></div></form>
{/if}
{/if}
@@ -47,7 +47,7 @@
<!-- Column break -->
</div></div><div class="yui-u" id="sidebar"><div style="padding: 10px;">
-<h3>Top artists</h3>
+<h3>{t}Top artists{/t}</h3>
<ul class="tagcloud" about="{$id}">
{section name=i loop=$group_tagcloud}
<li style="font-size:{$group_tagcloud[i].size}"><a
Modified: trunk/nixtape/themes/librefm/templates/header.tpl
===================================================================
--- trunk/nixtape/themes/librefm/templates/header.tpl 2009-05-08 10:20:33 UTC
(rev 1407)
+++ trunk/nixtape/themes/librefm/templates/header.tpl 2009-05-08 10:54:31 UTC
(rev 1408)
@@ -18,7 +18,7 @@
xml:lang="en">
<head profile="http://www.w3.org/1999/xhtml/vocab http://purl.org/uF/2008/03/
http://purl.org/uF/hAudio/0.9/">
- <title>Libre.fm — discover new music</title>
+ <title>Libre.fm — {t}discover new music{/t}</title>
<link rel="stylesheet"
href="{$base_url}/themes/librefm/reset-fonts-grids.css" type="text/css" />
<link rel="stylesheet" href="{$base_url}/themes/librefm/base.css"
type="text/css" />
<link rel="stylesheet" href="{$base_url}/themes/librefm/librefm.css"
type="text/css" />
Modified: trunk/nixtape/themes/librefm/templates/invite.tpl
===================================================================
--- trunk/nixtape/themes/librefm/templates/invite.tpl 2009-05-08 10:20:33 UTC
(rev 1407)
+++ trunk/nixtape/themes/librefm/templates/invite.tpl 2009-05-08 10:54:31 UTC
(rev 1408)
@@ -7,19 +7,19 @@
{/if}
{if isset($sent)}
- <p>Your invitation has been sent, pretty soon your friend should be
thanking you profusely.</p>
+ <p>{t}Your invitation has been sent, pretty soon your friend should be
thanking you profusely.{/t}</p>
{else}
<div id='invite'>
<form action='' method='post'>
<fieldset>
- <p>Do you have an awesome friend you'd like to share <a
href='http://libre.fm' rel='bookmark' class='vcard fn org url'>libre.fm</a>
with? Just enter his/her email address and we'll sort them out with an
invitation code.</p>
+ <p>{t escape=no}Do you have an awesome friend you'd like to
share <a href='http://libre.fm' rel='bookmark' class='vcard fn org
url'>libre.fm</a> with? Just enter his/her email address and we'll sort them
out with an invitation code.{/t}</p>
- <label for='email'>Invitee's E-mail:<span>must be
valid!</span></label>
+ <label for='email'>{t}Invitee's
E-mail:{/t}<span>{t}must be valid!{/t}</span></label>
<input id='email' name='email' type='text' value='' />
- <input type='submit' name='invite' value='Let them
in!'/>
+ <input type='submit' name='invite' value='{t}Let them
in!{/t}'/>
</fieldset>
</form>
Modified: trunk/nixtape/themes/librefm/templates/listen.tpl
===================================================================
--- trunk/nixtape/themes/librefm/templates/listen.tpl 2009-05-08 10:20:33 UTC
(rev 1407)
+++ trunk/nixtape/themes/librefm/templates/listen.tpl 2009-05-08 10:54:31 UTC
(rev 1408)
@@ -12,12 +12,12 @@
{/if}
</script>
{else}
-<p>Sorry, you need to <a href='{$base_url}/login.php'>login</a> to be able to
listen to radio streams.</p>
+<p>{t}Sorry, you need to <a href='{$base_url}/login.php'>login</a> to be able
to listen to radio streams.{/t}</p>
{/if}
{else}
-<p>To listen to 100% free (libre) music simply enter the type of music you'd
like to hear or select one of the common tags below:</p>
+<p>{t}To listen to 100% free (libre) music simply enter the type of music
you'd like to hear or select one of the common tags below:{/t}</p>
<p><a href="?tag=folk">Folk</a> <a href="?tag=rock">Rock</a> <a
href="?tag=metal">Metal</a> <a href="?tag=classical">Classical</a> <a
href="?tag=pop">Pop</a> <a href="?tag=blues">Blues</a> <a
href="?tag=jazz">Jazz</a> <a href="?tag=punk">Punk</a> <a
href="?tag=ambient">Ambient</a></p>
-<p><form method='get' action=''><label for="tag">Custom tag:</label> <input
type="text" id="tag" name="tag" /> <input type="submit" value="Listen"
/></form></p>
+<p><form method='get' action=''><label for="tag">{t}Custom tag:{/t}</label>
<input type="text" id="tag" name="tag" /> <input type="submit" value="Listen"
/></form></p>
{/if}
<br />
Modified: trunk/nixtape/themes/librefm/templates/location-country.tpl
===================================================================
--- trunk/nixtape/themes/librefm/templates/location-country.tpl 2009-05-08
10:20:33 UTC (rev 1407)
+++ trunk/nixtape/themes/librefm/templates/location-country.tpl 2009-05-08
10:54:31 UTC (rev 1408)
@@ -1,13 +1,13 @@
{include file='header.tpl'}
-<h2 property="dc:title">Country:
{$country_info.country_name|escape:'html':'UTF-8'}</h2>
+<h2 property="dc:title">{t}Country:{/t}
{$country_info.country_name|escape:'html':'UTF-8'}</h2>
<div about="#usergroup" typeof="foaf:Group">
<div class="group vcard">
<dl>
<dt>
- <span property="foaf:name">Users in
{$country_info.country_name|escape:'html':'UTF-8'}</span>
+ <span property="foaf:name">{t
country="$country_info.country_name|escape:'html':'UTF-8'"}Users in
%1{/t}</span>
(<span class="nickname"
property="foaf:nick">{$country_info.country|escape:'html':'UTF-8'}</span>)
</dt>
<dd>{if $country_info.wikipedia_en}<a class="url"
rel="foaf:page"
href="{$country_info.wikipedia_en|escape:'html':'UTF-8'}">{$country_info.wikipedia_en|escape:'html':'UTF-8'}</a>{/if}</dd>
Modified: trunk/nixtape/themes/librefm/templates/login.tpl
===================================================================
--- trunk/nixtape/themes/librefm/templates/login.tpl 2009-05-08 10:20:33 UTC
(rev 1407)
+++ trunk/nixtape/themes/librefm/templates/login.tpl 2009-05-08 10:54:31 UTC
(rev 1408)
@@ -9,16 +9,16 @@
<div id='login'>
<form action='' method='post'>
<fieldset>
- <label
for='username'>Username<span> </span></label>
+ <label
for='username'>{t}Username{/t}<span> </span></label>
<input id='username' name='username' type='text'
value='{$username}' maxlength='64' />
- <label
for='password'>Password<span> </span></label>
+ <label
for='password'>{t}Password{/t}<span> </span></label>
<input id='password' name='password' type='password'
value=''/>
- <label for='remember'>Remember
me<span> </span></label>
+ <label for='remember'>{t}Remember
me{/t}<span> </span></label>
<input id='remember' name='remember' type='checkbox'
value='1'/>
- <input type='submit' name='login' value='Let me in!' />
+ <input type='submit' name='login' value='{t}Let me
in!{/t}' />
<input name="return" type="hidden"
value="{$return|htmlentities}" />
</fieldset>
Modified: trunk/nixtape/themes/librefm/templates/menu.tpl
===================================================================
--- trunk/nixtape/themes/librefm/templates/menu.tpl 2009-05-08 10:20:33 UTC
(rev 1407)
+++ trunk/nixtape/themes/librefm/templates/menu.tpl 2009-05-08 10:54:31 UTC
(rev 1408)
@@ -2,18 +2,18 @@
{if ($logged_in)}
<li><a href="{$this_user->getURL()}">{$this_user->name}</a></li>
{else}
- <li><a href="{$base_url}/register.php">Register</a></li>
+ <li><a href="{$base_url}/register.php">{t}Register{/t}</a></li>
{/if}
{if ($logged_in)}
{if $this_user->userlevel > 0}
- <li><a href="/admin.php">admin</a></li>
+ <li><a href="/admin.php">{t}Admin{/t}</a></li>
{/if}
- <li><a href="{$base_url}/login.php?action=logout">Logout</a></li>
- <li><a href="{$base_url}/listen.php">Listen</a></li>
+ <li><a href="{$base_url}/login.php?action=logout">{t}Logout{/t}</a></li>
+ <li><a href="{$base_url}/listen.php">{t}Listen{/t}</a></li>
{else}
- <li><a
href="{$base_url}/login.php?return={$this_page|urlencode|htmlentities}">Login</a></li>
+ <li><a
href="{$base_url}/login.php?return={$this_page|urlencode|htmlentities}">{t}Login{/t}</a></li>
{/if}
- <li><a
href="https://savannah.nongnu.org/bugs/?group=librefm">Bugs</a></li>
- <li><a href="http://ideas.libre.fm/index.php/Using_turtle">Help</a></li>
+ <li><a
href="https://savannah.nongnu.org/bugs/?group=librefm">{t}Bugs{/t}</a></li>
+ <li><a
href="http://ideas.libre.fm/index.php/Using_turtle">{t}Help{/t}</a></li>
</ul>
Modified: trunk/nixtape/themes/librefm/templates/player.tpl
===================================================================
--- trunk/nixtape/themes/librefm/templates/player.tpl 2009-05-08 10:20:33 UTC
(rev 1407)
+++ trunk/nixtape/themes/librefm/templates/player.tpl 2009-05-08 10:54:31 UTC
(rev 1408)
@@ -3,7 +3,7 @@
{if $track->streamurl}
<object id="fallbackembed"
style="width:200px;height:50px;" type="application/ogg"
data="{$track->streamurl}"><a type="application/ogg" rel="enclosure"
href="{$track->streamurl}">Listen to this track</a></object>
{elseif isset($station)}
- <p>Sorry, you need a browser capable of making use of
the HTML 5 <audio> tag to enjoy the streaming service via the JavaScript
player.</p>
+ <p>P{t}Sorry, you need a browser capable of making use
of the HTML 5 <audio> tag to enjoy the streaming service via the
JavaScript player.{/t}</p>
{/if}
</audio>
<div id="interface">
@@ -11,7 +11,7 @@
<span id="artistname"></span> - <span
id="trackname"></span> <span id="showplaylist"><a href="#"
onclick="togglePlaylist()"><img
src="{$base_url}/themes/librefm/images/player/show-playlist.png" alt="Show
playlist" title="Show playlist" /></a></span><span id="hideplaylist"><a
href="#" onclick="togglePlaylist()"><img
src="{$base_url}/themes/librefm/images/player/hide-playlist.png" alt="Hide
playlist" title="Hide playlist" /></a></span>
<div id="playlist">
<hr />
- <strong><u>Playlist</u></strong>
+ <strong><u>{t}Playlist{/t}</u></strong>
<ul id="songs">
</ul>
</div>
Modified: trunk/nixtape/themes/librefm/templates/recovery.tpl
===================================================================
--- trunk/nixtape/themes/librefm/templates/recovery.tpl 2009-05-08 10:20:33 UTC
(rev 1407)
+++ trunk/nixtape/themes/librefm/templates/recovery.tpl 2009-05-08 10:54:31 UTC
(rev 1408)
@@ -1,17 +1,17 @@
{include file='header.tpl'}
-<h2>Password recovery</h2>
+<h2>{t}Password recovery{/t}</h2>
{if isset($errors)}
<p id='errors'>{$errors}</p>
{/if}
{if isset($changed)}
- <p>Your new password has been emailed to you.</p>
+ <p>{t}Your new password has been emailed to you.{/t}</p>
{/if}
{if isset($sent)}
- <p>An email with further information has been sent to the email address
associated with your profile.</p>
+ <p>{t}An email with further information has been sent to the email
address associated with your profile.{/t}</p>
{else}
@@ -19,12 +19,12 @@
<form action='/recovery.php' method='post'>
<fieldset>
- <p><a href='http://libre.fm' rel='bookmark' class='vcard fn org
url'>libre.fm</a> Password Recovery</p>
+ <p><a href='http://libre.fm' rel='bookmark' class='vcard fn org
url'>libre.fm</a> {t}Password Recovery{/t}</p>
- <label for='username'>Username <span>must be
valid!</span></label>
+ <label for='username'>{t}Username{/t} <span>{t}must be
valid!{/t}</span></label>
<input id='username' name='user' type='text' value='' />
- <input type='submit' name='recover' value='Recover my
password!'/>
+ <input type='submit' name='recover' value='{t}Recover
my password!{/t}'/>
</fieldset>
</form>
Modified: trunk/nixtape/themes/librefm/templates/register.tpl
===================================================================
--- trunk/nixtape/themes/librefm/templates/register.tpl 2009-05-08 10:20:33 UTC
(rev 1407)
+++ trunk/nixtape/themes/librefm/templates/register.tpl 2009-05-08 10:54:31 UTC
(rev 1408)
@@ -3,16 +3,15 @@
<h2>Register</h2>
{if isset($activated)}
- <h2>Your account has been activated! You may now login!</h2>
+ <h2>{t}Your account has been activated! You may now login!{/t}</h2>
{elseif isset($registered) }
- <h2>You're now registered with libre.fm! An email has been sent to the
email address you
- provided. Please follow the link in the email to activate your
account!</h2>
+ <h2>{t}You're now registered with libre.fm! An email has been sent to
the email address you provided. Please follow the link in the email to activate
your account!{/t}</h2>
<ul>
- <li><a href="http://ideas.libre.fm/index.php/Using_turtle">Find out how
to start sending us your listening habits</a></li>
- <li><a href="http://lists.autonomo.us/mailman/listinfo/libre-fm">Join
our mailing list</a></li>
- <li><a href="http://blog.libre.fm/">Read our blog</a> and <a
href="http://identi.ca/mattl">subscribe to Matt (our founder) on
identi.ca</a></li>
+ <li><a href="http://ideas.libre.fm/index.php/Using_turtle">{t}Find out
how to start sending us your listening habits{/t}</a></li>
+ <li><a
href="http://lists.autonomo.us/mailman/listinfo/libre-fm">{t}Join our mailing
list{/t}</a></li>
+ <li><a href="http://blog.libre.fm/">{t}Read our blog{/t}</a> {t}and{/t}
<a href="http://identi.ca/mattl">{t}subscribe to Matt (our founder) on
identi.ca{/t}</a></li>
</ul>
@@ -28,30 +27,30 @@
<form action='' method='post'>
<fieldset>
- <label for='username'>Your username:<span>(no more than
16 chars.)</span></label>
+ <label for='username'>{t}Your username:{/t}<span>{t}(no
more than 16 chars.){/t}</span></label>
<input id='username' name='username' type='text'
value='{$username}' maxlength='16' />
- <label for='password'>Your password:<span>(make it hard
to guess)</span></label>
+ <label for='password'>{t}Your
password:{/t}<span>{t}(make it hard to guess){/t}</span></label>
<input id='password' name='password' type='password'
value=''/>
- <label for='password-repeat'>Your password
again<span>(you should repeat it.)</span></label>
+ <label for='password-repeat'>{t}Your password
again{/t}<span>{t}(you should repeat it.){/t}</span></label>
<input id='password-repeat' name='password-repeat'
type='password' value=''/>
- <label for='email'>Your e-mail:<span>(must be
valid!)</span></label>
+ <label for='email'>{t}Your e-mail:{/t}<span>{t}(must be
valid!){/t}</span></label>
<input id='email' name='email' type='text'
value='{$email}' maxlength='64' />
</fieldset>
<hr />
- <!-- <p class="cc-license">Please note: we plan make
your <a href="http://turtle.libre.fm/data/">listening data available</a>, under
the <a href="http://wiki.openstreetmap.org/wiki/Open_Database_License">the Open
Database License</a>.</p> -->
+ <!-- <p class="cc-license">{t escape=no}Please note: we
plan make your <a href="http://turtle.libre.fm/data/">listening data
available</a>, under the <a
href="http://wiki.openstreetmap.org/wiki/Open_Database_License">the Open
Database License</a>.{/t}</p> -->
- <input type='submit' name='register' value="Sign up" />
+ <input type='submit' name='register' value="{t}Sign
up{/t}" />
</form>
- <p class="disclaimer">We won't sell, swap or give away your email
address. You can optionally include personal data on your profile, which is
displayed publically.</p>
+ <p class="disclaimer">{t}We won't sell, swap or give away your email
address. You can optionally include personal data on your profile, which is
displayed publicly.{/t}</p>
</div>
Modified: trunk/nixtape/themes/librefm/templates/request.tpl
===================================================================
--- trunk/nixtape/themes/librefm/templates/request.tpl 2009-05-08 10:20:33 UTC
(rev 1407)
+++ trunk/nixtape/themes/librefm/templates/request.tpl 2009-05-08 10:54:31 UTC
(rev 1408)
@@ -7,19 +7,19 @@
{/if}
{if isset($reg)}
- <p>Your request for an invitation has been registered. Thank you for
your interest in libre.fm!</p>
+ <p>{t}Your request for an invitation has been registered. Thank you for
your interest in libre.fm!{/t}</p>
{else}
<div id='invite'>
<form action='' method='post'>
<fieldset>
- <p><a href='http://libre.fm' rel='bookmark' class='vcard fn org
url'>libre.fm</a> is now in alpha. We're slowly adding new users, so if you're
interested, type in your email address and you'll receive an invitation in a
few days time.</p>
+ <p>{t escape=no}<a href='http://libre.fm' rel='bookmark'
class='vcard fn org url'>libre.fm</a> is now in alpha. We're slowly adding new
users, so if you're interested, type in your email address and you'll receive
an invitation in a few days time.{/t}</p>
- <label for='email'>Email <span>must be
valid!</span></label>
+ <label for='email'>{t}Email{/t} <span>{t}must be
valid!{/t}</span></label>
<input id='email' name='email' type='text' value='' />
- <input type='submit' name='request' value='Request
invite!'/>
+ <input type='submit' name='request' value='{t}Request
invite!{/t}'/>
</fieldset>
</form>
Modified: trunk/nixtape/themes/librefm/templates/track.tpl
===================================================================
--- trunk/nixtape/themes/librefm/templates/track.tpl 2009-05-08 10:20:33 UTC
(rev 1407)
+++ trunk/nixtape/themes/librefm/templates/track.tpl 2009-05-08 10:54:31 UTC
(rev 1408)
@@ -15,12 +15,12 @@
</script>
<dl>
- <dt>Artist:</dt>
+ <dt>{t}Artist:{/t}</dt>
<dd rel="foaf:maker" rev="foaf:made" class="contributor vcard">
<a about="{$artist->id|escape:'html':'UTF-8'}"
typeof="mo:MusicArtist" property="foaf:name" class="url fn org"
rel="foaf:page" rev="foaf:primaryTopic"
href="{$artist->getURL()|escape:'html':'UTF-8'}">{$artist->name|escape:'html':'UTF-8'}</a>
</dd>
- <dt>Album:</dt>
+ <dt>{t}Album:{/t}</dt>
<dd rev="mo:track">
<a about="{$album->id|escape:'html':'UTF-8'}"
typeof="mo:Record" property="dc:title" class="album"
rel="foaf:page" rev="foaf:primaryTopic"
href="{$album->getURL()|escape:'html':'UTF-8'}">{$album->name|escape:'html':'UTF-8'}</a>
@@ -40,11 +40,11 @@
<ul>
{if !empty($track->duration)}<li property="mo:durationXSD"
datatype="xsd:duration" content="PT{$track->duration}S">Duration:
{$track->duration}</li>{/if}
- <li property="rdfs:comment">Playcount:
{$track->getPlayCount()}</li>
- <li property="rdfs:comment">Listeners:
{$track->getListenerCount()}</li>
+ <li property="rdfs:comment">{t}Playcount:{/t}
{$track->getPlayCount()}</li>
+ <li property="rdfs:comment">{t}Listeners:{/t}
{$track->getListenerCount()}</li>
</ul>
- <h3>Albums containing this track:</h3>
+ <h3>{t}Albums containing this track:{/t}</h3>
<div rev="mo:track">
{section name=i loop=$albums}
Modified: trunk/nixtape/themes/librefm/templates/user-edit.tpl
===================================================================
--- trunk/nixtape/themes/librefm/templates/user-edit.tpl 2009-05-08
10:20:33 UTC (rev 1407)
+++ trunk/nixtape/themes/librefm/templates/user-edit.tpl 2009-05-08
10:54:31 UTC (rev 1408)
@@ -2,41 +2,41 @@
<h2 property="dc:title">Edit your profile</h2>
-<p><strong>The form below is still <em>very</em> experimental. Using this may
wreck your account!</strong></p>
+<p><strong>{t}The form below is still very experimental. Using this may wreck
your account!{/t}</strong></p>
<form action="{$base_url}/user-edit.php" method="post" class="notcrazy">
<table>
<tr>
- <th align="right" valign="top"><label
for="fullname">Full name:</label></th>
+ <th align="right" valign="top"><label
for="fullname">{t}Full name:{/t}</label></th>
<td><input name="fullname" id="fullname"
value="{$fullname|escape:'html':'UTF-8'}" /></td>
<td> </td>
</tr>
<tr>
- <th align="right" valign="top"><label
for="location">Location:</label></th>
+ <th align="right" valign="top"><label
for="location">{t}Location:{/t}</label></th>
<td><input name="location" id="location"
value="{$location|escape:'html':'UTF-8'}" /></td>
<td> </td>
</tr>
<tr>
- <th align="right" valign="top"><label
for="location_uri">Geoname:</label></th>
+ <th align="right" valign="top"><label
for="location_uri">{t}Geoname:{/t}</label></th>
<td id="chooser">
<input type="hidden" name="location_uri"
id="location_uri" value="{$location_uri|escape:'html':'UTF-8'}" />
- <input type="button" value="Find ..."
onclick="LocationCheck();" />
+ <input type="button" value="{t}Find ...{/t}"
onclick="LocationCheck();" />
<span id="location_uri_label"></span>
</td>
- <td><a href="#dfn_location_uri" rel="glossary">What's
this?</a></td>
+ <td><a href="#dfn_location_uri"
rel="glossary">{t}What's this?{/t}</a></td>
</tr>
<tr>
- <th align="right" valign="top"><label
for="homepage">Homepage URL:</label></th>
+ <th align="right" valign="top"><label
for="homepage">{t}Homepage URL:{/t}</label></th>
<td><input name="homepage" id="homepage"
value="{$homepage|escape:'html':'UTF-8'}" /></td>
<td> </td>
</tr>
<tr>
- <th align="right" valign="top"><label
for="avatar_uri">Avatar URL:</label></th>
+ <th align="right" valign="top"><label
for="avatar_uri">{t}Avatar URL:{/t}</label></th>
<td><input name="avatar_uri" id="avatar_uri"
value="{$avatar_uri|escape:'html':'UTF-8'}" /></td>
- <td><a href="#dfn_avatar_uri" rel="glossary">What's
this?</a></td>
+ <td><a href="#dfn_avatar_uri" rel="glossary">{t}What's
this?{/t}</a></td>
</tr>
<tr>
- <th align="right" valign="top"><label for="bio">Mini
Biography:</label></th>
+ <th align="right" valign="top"><label for="bio">{t}Mini
Biography:{/t}</label></th>
<td><textarea name="bio" id="bio" rows="6" cols="30"
style="width:100%;min-width:20em">{$bio|escape:'html':'UTF-8'}</textarea></td>
<td> </td>
</tr>
@@ -46,25 +46,25 @@
<input name="id" id="id"
value="{$id|escape:'html':'UTF-8'}" />
<input type="button" onclick="webidLookup();"
value="find!" />
</td>
- <td><a href="#dfn_id" rel="glossary">What's
this?</a></td>
+ <td><a href="#dfn_id" rel="glossary">{t}What's
this?{/t}</a></td>
</tr>
<tr>
- <th align="right" valign="top"><label
for="laconica_profile">Laconica/identi.ca Profile:</label></th>
+ <th align="right" valign="top"><label
for="laconica_profile">{t}Laconica/identi.ca Profile:{/t}</label></th>
<td><input onchange="laconicaChange();"
onclick="laconicaClick();" name="laconica_profile" id="laconica_profile"
value="{$laconica_profile|escape:'html':'UTF-8'}" /></td>
- <td><a href="#dfn_laconica_profile"
rel="glossary">What's this?</a></td>
+ <td><a href="#dfn_laconica_profile"
rel="glossary">{t}What's this?{/t}</a></td>
</tr>
<tr>
- <th align="right" valign="top"><label
for="journal_rss">RSS Feed:</label></th>
+ <th align="right" valign="top"><label
for="journal_rss">{t}RSS Feed:{/t}</label></th>
<td><input name="journal_rss" id="journal_rss"
value="{$journal_rss|escape:'html':'UTF-8'}" /></td>
- <td><a href="#dfn_journal_rss" rel="glossary">What's
this?</a></td>
+ <td><a href="#dfn_journal_rss" rel="glossary">{t}What's
this?{/t}</a></td>
</tr>
<tr>
- <th align="right" valign="top"><label
for="password_1">Password:</label></th>
+ <th align="right" valign="top"><label
for="password_1">{t}Password:{/t}</label></th>
<td><input name="password_1" id="password_1"
type="password" value="" /></td>
- <td rowspan="2">Leave this blank if you don't want to
change your password.</td>
+ <td rowspan="2">{t}Leave this blank if you don't want
to change your password.{/t}</td>
</tr>
<tr>
- <th align="right" valign="top"><label
for="password_2">Confirm Password:</label></th>
+ <th align="right" valign="top"><label
for="password_2">{t}Confirm Password:{/t}</label></th>
<td><input name="password_2" id="password_2"
type="password" value="" /></td>
</tr>
<tr>
@@ -80,21 +80,14 @@
<h3>Help</h3>
<dl>
- <dt id="dfn_location_uri">Location check</dt>
- <dd>This feature looks up your location on <a
href="http://www.geonames.org"
- >geonames</a>. You don't need to do it, but it will help us find your
- latitude and longitude, which will help us add some great location-based
- features in the future.</dd>
+ <dt id="dfn_location_uri">{t}Location check{/t}</dt>
+ <dd>{t escape=no}This feature looks up your location on <a
href="http://www.geonames.org">geonames</a>. You don't need to do it, but it
will help us find your latitude and longitude, which will help us add some
great location-based features in the future.{/t}</dd>
- <dt id="dfn_avatar_uri">Avatar URL</dt>
- <dd>The web address for a picture to represent you on libre.fm. It
should
- not be more than 80x80 pixels. (64x64 is best.) If you leave this
empty, libre.fm will
- use <a href="http://gravatar.com">Gravatar</a> to find an image for
you.</dd>
+ <dt id="dfn_avatar_uri">{t}Avatar URL{/t}</dt>
+ <dd>{t escape=no}The web address for a picture to represent you on
libre.fm. It should not be more than 80x80 pixels. (64x64 is best.) If you
leave this empty, libre.fm will use <a href="http://gravatar.com">Gravatar</a>
to find an image for you.{/t}</dd>
<dt id="dfn_id">WebID (FOAF)</dt>
- <dd>A URI that represents you in RDF. See <a
href="http://esw.w3.org/topic/WebID"
- >WebID</a> for details. If you don't know what this is, it's best to
leave it
- blank.</dd>
+ <dd>{t escape=no}A URI that represents you in RDF. See <a
href="http://esw.w3.org/topic/WebID">WebID</a> for details. If you don't know
what this is, it's best to leave it blank.{/t}</dd>
</dl>
{include file='footer.tpl'}
Modified: trunk/nixtape/themes/librefm/templates/user-profile.tpl
===================================================================
--- trunk/nixtape/themes/librefm/templates/user-profile.tpl 2009-05-08
10:20:33 UTC (rev 1407)
+++ trunk/nixtape/themes/librefm/templates/user-profile.tpl 2009-05-08
10:54:31 UTC (rev 1408)
@@ -3,7 +3,7 @@
{include file='maxiprofile.tpl'}
{if $nowplaying|@count > 0}
-<h3>Now Playing:</h3>
+<h3>{t}Now Playing:{/t}</h3>
<!-- We should try to make this list work like the gobbles list. -->
<dl class='now-playing'>
{section name=i loop=$nowplaying}
@@ -15,7 +15,7 @@
{/if}
<div about="[_:seq1]" typeof="rdf:Seq" rev="rss:items">
- <h3 typeof="rss:channel" property="rss:title" rel="rss:link"
resource="#latest_plays" id="latest_plays"
content="{$me->name|escape:'html':'UTF-8'}'s Latest Plays">Latest
{$scrobbles|@count} Plays:</h3>
+ <h3 typeof="rss:channel" property="rss:title" rel="rss:link"
resource="#latest_plays" id="latest_plays"
content="{$me->name|escape:'html':'UTF-8'}'s Latest Plays">{t
plays=$scrobbles|@count}Latest %1 Plays:{/t}</h3>
</div>
<ul class="gobbles" about="{$me->id|escape:'html':'UTF-8'}" rev="gob:user">
Modified: trunk/nixtape/themes/librefm/templates/user-stats.tpl
===================================================================
--- trunk/nixtape/themes/librefm/templates/user-stats.tpl 2009-05-08
10:20:33 UTC (rev 1407)
+++ trunk/nixtape/themes/librefm/templates/user-stats.tpl 2009-05-08
10:54:31 UTC (rev 1408)
@@ -1,10 +1,10 @@
{include file='header.tpl'}
-<h2 property="dc:title">{$me->name|escape:'html':'UTF-8'}'s statistics</h2>
+<h2 property="dc:title">{t name=$me->name|escape:'html':'UTF-8'}%1's
statistics{/t}</h2>
{include file='maxiprofile.tpl'}
-<h3 id="stats_by_artist">{$me->name|escape:'html':'UTF-8'}'s most played
artists</h3>
+<h3 id="stats_by_artist">{t name=$me->name|escape:'html':'UTF-8'}%1's most
played artists{/t}</h3>
<table class="stats_artists" about="{$me->id}">
{section name=i loop=$user_playstats}
<tr><td class="counts">{$user_playstats[i].count}</td><td class="bar"
style="width: {$stat_barwidth}px"><div
style="width:{$user_playstats[i].size}px" class="artist"></div></td><td><a
@@ -13,7 +13,7 @@
{/section}
</table>
-<h3 id="stats_by_track">{$me->name|escape:'html':'UTF-8'}'s top tracks</h3>
+<h3 id="stats_by_track">{t name=$me->name|escape:'html':'UTF-8'}%1's top
tracks{/t}</h3>
<table class="stats_artists" about="{$me->id}">
{section name=i loop=$toptracks}
<tr>
@@ -31,7 +31,7 @@
{/section}
</table>
-<h3 id="stats_by_day">{$me->name|escape:'html':'UTF-8'}'s scrobbles by day</h3>
+<h3 id="stats_by_day">{t name=$me->name|escape:'html':'UTF-8'}%1's scrobbles
by day{/t}</h3>
<table class="stats_artists" about="{$me->id}">
{section name=i loop=$user_daystats}
<tr><td class="counts">{$user_daystats[i].count}</td><td class="bar"
style="width: {$stat_barwidth}px"><div style="width:{$user_daystats[i].size}px"
class="artist"></div></td><td class="date">{$user_daystats[i].date}</td></tr>
@@ -39,9 +39,9 @@
</table>
<ul>
- <li><a href="#stats_by_artist">Most played artists</a></li>
- <li><a href="#stats_by_track">Top tracks</a></li>
- <li><a href="#stats_by_day">Scrobbles by day</a></li>
+ <li><a href="#stats_by_artist">{t}Most played artists{/t}</a></li>
+ <li><a href="#stats_by_track">{t}Top tracks{/t}</a></li>
+ <li><a href="#stats_by_day">{t}Scrobbles by day{/t}</a></li>
</ul>
{include file='footer.tpl'}
Modified: trunk/nixtape/themes/librefm/templates/welcome.tpl
===================================================================
--- trunk/nixtape/themes/librefm/templates/welcome.tpl 2009-05-08 10:20:33 UTC
(rev 1407)
+++ trunk/nixtape/themes/librefm/templates/welcome.tpl 2009-05-08 10:54:31 UTC
(rev 1408)
@@ -3,7 +3,7 @@
<div class="yui-gc" style="width: 100%;">
<div class="yui-u first" id="new-libre-fm" style="background-color: black;
color: white;">
<div class="inner">
- <h2>New on Libre.fm...</h2>
+ <h2>{t}New on Libre.fm...{/t}</h2>
<ul>
<li>Artist</li>
@@ -12,7 +12,7 @@
<li>Artist</li>
</ul>
- <h2>Upcoming events...</h2>
+ <h2>{t}Upcoming events...{/t}</h2>
<ul>
<li>Artist</li>
@@ -35,7 +35,7 @@
{include file='adbard.tpl'}
- <h2>Libre music downloads...</h2>
+ <h2>{t}Libre music downloads...{/t}</h2>
<ul>
<li><a href="#">Foo — Bar</a></li>
@@ -49,9 +49,9 @@
<li><a href="#">Foo — Bar</a></li>
</ul>
- <p><a href="#">More Libre music downloads...</a></p>
+ <p><a href="#">{t}More Libre music downloads...{/t}</a></p>
- <p><small><a
href="http://creativecommons.org/licenses/by-sa/3.0/">License</a></small></p>
+ <p><small><a
href="http://creativecommons.org/licenses/by-sa/3.0/">{t}License{/t}</a></small></p>
</div>
@@ -64,11 +64,11 @@
</div>
<div class="yui-u" id="featured-group">
-Featured group
+{t}Featured group{/t}
</div>
<div class="yui-u" id="featured-user">
<a href="/user/mattl"><img src="/i/fu-mattl.png" alt="Matt Lee (mattl)
from Boston, MA" /></a>
</div>
</div>
-{include file='footer.tpl'}
\ No newline at end of file
+{include file='footer.tpl'}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Librefm-commits] [1408] Add internationalisation infrastructure.,
Michael Sheldon <=