1
0
Fork 0
mirror of https://github.com/Yetangitu/ampache synced 2025-10-03 09:49:30 +02:00

Translation DE_de updated + gettext functions

Gettext plural functions T_ngettext and ngettext corrected.
Gettext now also detects that plural strings as plural strings.
Updated gather-messages.sh keywords.
mo's and po's updated
This commit is contained in:
Psy-Virus 2014-05-07 20:45:56 +02:00
parent dff2c52348
commit 03d175e4c1
40 changed files with 29378 additions and 18615 deletions

View file

@ -123,12 +123,12 @@ switch ($_REQUEST['action']) {
if (count($song)) {
$catalog->remove_songs($song);
$body = T_ngettext('Song Removed', 'Songs Removed', count($song));
$body = ngettext('%d Song Removed', '%d Songs Removed', count($song));
} else {
$body = T_('No Songs Removed');
}
$url = AmpConfig::get('web_path') . '/admin/catalog.php';
$title = T_ngettext('Disabled Song Processed','Disabled Songs Processed',count($song));
$title = ngettext('%d Disabled Song Processed', '%d Disabled Songs Processed', count($song));
show_confirmation($title,$body,$url);
break;
case 'clean_all_catalogs':

View file

@ -382,9 +382,9 @@ abstract class Catalog extends database_object
$hours = $hours % 24;
$time_text = "$days ";
$time_text .= T_ngettext('day','days',$days);
$time_text .= ngettext('day','days',$days);
$time_text .= ", $hours ";
$time_text .= T_ngettext('hour','hours',$hours);
$time_text .= ngettext('hour','hours',$hours);
$results['time_text'] = $time_text;
@ -1032,7 +1032,7 @@ abstract class Catalog extends database_object
UI::show_box_top();
echo "<strong>";
printf (T_ngettext('Catalog Clean Done. %d file removed.', 'Catalog Clean Done. %d files removed.', $dead_total), $dead_total);
printf (ngettext('Catalog Clean Done. %d file removed.', 'Catalog Clean Done. %d files removed.', $dead_total), $dead_total);
echo "</strong><br />\n";
UI::show_box_bottom();
ob_flush();
@ -1201,7 +1201,7 @@ abstract class Catalog extends database_object
if (!$playlist_id) {
return array(
'success' => false,
'error' => 'Failed to create playlist.',
'error' => T_('Failed to create playlist.'),
);
}
@ -1218,7 +1218,7 @@ abstract class Catalog extends database_object
return array(
'success' => false,
'error' => 'No valid songs found in playlist file.'
'error' => T_('No valid songs found in playlist file.')
);
}

Binary file not shown.

File diff suppressed because it is too large Load diff

View file

@ -41,7 +41,7 @@ generate_pot() {
--add-comment=HINT: \
--msgid-bugs-address="translations@ampache.org" \
-L php \
--keyword=gettext_noop --keyword=T_ --keyword=T_gettext \
--keyword=gettext_noop --keyword=T_ --keyword=T_gettext --keyword=T_ngettext --keyword=ngettext\
-o $POTNAME \
$(find ../../ -type f -name \*.php -o -name \*.inc | sort)
if [[ $? -eq 0 ]]; then

View file

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: translations@ampache.org\n"
"POT-Creation-Date: 2014-05-05 21:16+0200\n"
"POT-Creation-Date: 2014-05-07 18:59+0200\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"
@ -16,6 +16,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
#: ../../admin/access.php:40
msgid "Deleted"
@ -73,10 +74,24 @@ msgstr ""
msgid "Confirm Deletion Request"
msgstr ""
#: ../../admin/catalog.php:126
#, php-format
msgid "%d Song Removed"
msgid_plural "%d Songs Removed"
msgstr[0] ""
msgstr[1] ""
#: ../../admin/catalog.php:128
msgid "No Songs Removed"
msgstr ""
#: ../../admin/catalog.php:131
#, php-format
msgid "%d Disabled Song Processed"
msgid_plural "%d Disabled Songs Processed"
msgstr[0] ""
msgstr[1] ""
#: ../../admin/catalog.php:152
msgid "Catalog Cleaned"
msgstr ""
@ -826,7 +841,7 @@ msgid "The Broadcast has been deleted"
msgstr ""
#: ../../browse.php:79 ../../lib/class/browse.class.php:200
#: ../../templates/sidebar_home.inc.php:36
#: ../../templates/sidebar_home.inc.php:35
msgid "Tag Cloud"
msgstr ""
@ -958,8 +973,8 @@ msgstr ""
#: ../../templates/header.inc.php:285 ../../templates/show_random.inc.php:29
#: ../../templates/show_search.inc.php:30
#: ../../templates/show_stats.inc.php:33
#: ../../templates/sidebar_home.inc.php:35
#: ../../templates/sidebar_home.inc.php:99
#: ../../templates/sidebar_home.inc.php:34
#: ../../templates/sidebar_home.inc.php:103
msgid "Artists"
msgstr ""
@ -970,7 +985,7 @@ msgstr ""
#: ../../lib/class/ampache_rss.class.php:70
#: ../../lib/class/localplay.class.php:627 ../../templates/header.inc.php:36
#: ../../templates/mainframes.inc.php:37
#: ../../templates/show_localplay_status.inc.php:28
#: ../../templates/show_localplay_status.inc.php:31
#: ../../templates/show_now_playing.inc.php:33
msgid "Now Playing"
msgstr ""
@ -1097,14 +1112,14 @@ msgstr ""
#: ../../templates/show_shout_row.inc.php:31
#: ../../templates/show_smartplaylist_row.inc.php:53
#: ../../templates/show_song_row.inc.php:71
#: ../../templates/show_tagcloud.inc.php:35
#: ../../templates/show_tagcloud.inc.php:36
#: ../../templates/show_user_row.inc.php:44
msgid "Edit"
msgstr ""
#: ../../lib/class/broadcast.class.php:149
#: ../../lib/class/channel.class.php:157 ../../lib/class/share.class.php:171
#: ../../templates/rightbar.inc.php:120
#: ../../templates/rightbar.inc.php:117
#: ../../templates/show_access_list.inc.php:76
#: ../../templates/show_catalog_row.inc.php:39
#: ../../templates/show_democratic_playlist.inc.php:92
@ -1119,7 +1134,7 @@ msgstr ""
#: ../../templates/show_shout_row.inc.php:34
#: ../../templates/show_smartplaylist.inc.php:47
#: ../../templates/show_smartplaylist_row.inc.php:55
#: ../../templates/show_tagcloud.inc.php:39
#: ../../templates/show_tagcloud.inc.php:40
#: ../../templates/show_user_row.inc.php:54
msgid "Delete"
msgstr ""
@ -1143,7 +1158,7 @@ msgstr ""
#: ../../templates/show_recommended_artists.inc.php:81
#: ../../templates/show_search.inc.php:28
#: ../../templates/show_stats.inc.php:34 ../../templates/show_stats.inc.php:70
#: ../../templates/sidebar_home.inc.php:97
#: ../../templates/sidebar_home.inc.php:101
msgid "Songs"
msgstr ""
@ -1157,8 +1172,8 @@ msgstr ""
#: ../../templates/show_recommended_artists.inc.php:82
#: ../../templates/show_search.inc.php:29
#: ../../templates/show_stats.inc.php:32
#: ../../templates/sidebar_home.inc.php:34
#: ../../templates/sidebar_home.inc.php:98
#: ../../templates/sidebar_home.inc.php:33
#: ../../templates/sidebar_home.inc.php:102
msgid "Albums"
msgstr ""
@ -1167,13 +1182,13 @@ msgid "Manage Users"
msgstr ""
#: ../../lib/class/browse.class.php:169
#: ../../templates/sidebar_home.inc.php:43
#: ../../templates/sidebar_home.inc.php:42
msgid "Radio Stations"
msgstr ""
#: ../../lib/class/browse.class.php:174 ../../server/search.ajax.php:146
#: ../../templates/header.inc.php:291 ../../templates/sidebar_home.inc.php:37
#: ../../templates/sidebar_home.inc.php:100
#: ../../templates/header.inc.php:291 ../../templates/sidebar_home.inc.php:36
#: ../../templates/sidebar_home.inc.php:104
msgid "Playlists"
msgstr ""
@ -1186,7 +1201,7 @@ msgid "Current Playlist"
msgstr ""
#: ../../lib/class/browse.class.php:187
#: ../../templates/sidebar_home.inc.php:38
#: ../../templates/sidebar_home.inc.php:37
msgid "Smart Playlists"
msgstr ""
@ -1201,8 +1216,8 @@ msgstr ""
#: ../../lib/class/browse.class.php:205 ../../templates/show_search.inc.php:31
#: ../../templates/show_stats.inc.php:35 ../../templates/show_stats.inc.php:71
#: ../../templates/sidebar_home.inc.php:44
#: ../../templates/sidebar_home.inc.php:101
#: ../../templates/sidebar_home.inc.php:43
#: ../../templates/sidebar_home.inc.php:105
msgid "Videos"
msgstr ""
@ -1216,21 +1231,21 @@ msgid "Wanted Albums"
msgstr ""
#: ../../lib/class/browse.class.php:217
#: ../../templates/sidebar_home.inc.php:90
#: ../../templates/sidebar_home.inc.php:93
msgid "Shared Objects"
msgstr ""
#: ../../lib/class/browse.class.php:225
#: ../../templates/sidebar_home.inc.php:39
#: ../../templates/sidebar_home.inc.php:38
msgid "Channels"
msgstr ""
#: ../../lib/class/browse.class.php:229
#: ../../templates/sidebar_home.inc.php:41
#: ../../templates/sidebar_home.inc.php:40
msgid "Broadcasts"
msgstr ""
#: ../../lib/class/browse.class.php:271 ../../templates/rightbar.inc.php:127
#: ../../lib/class/browse.class.php:271 ../../templates/rightbar.inc.php:124
#: ../../templates/show_recently_played.inc.php:157
msgid "More"
msgstr ""
@ -1242,6 +1257,18 @@ msgstr ""
msgid "Never"
msgstr ""
#: ../../lib/class/catalog.class.php:385
msgid "day"
msgid_plural "days"
msgstr[0] ""
msgstr[1] ""
#: ../../lib/class/catalog.class.php:387
msgid "hour"
msgid_plural "hours"
msgstr[0] ""
msgstr[1] ""
#: ../../lib/class/catalog.class.php:422
msgid "Catalog Insert Failed check debug logs"
msgstr ""
@ -1250,11 +1277,26 @@ msgstr ""
msgid "No Update Needed"
msgstr ""
#: ../../lib/class/catalog.class.php:1035
#, php-format
msgid "Catalog Clean Done. %d file removed."
msgid_plural "Catalog Clean Done. %d files removed."
msgstr[0] ""
msgstr[1] ""
#: ../../lib/class/catalog.class.php:1054
#, php-format
msgid "Catalog Verify Done. %d of %d files updated."
msgstr ""
#: ../../lib/class/catalog.class.php:1204
msgid "Failed to create playlist."
msgstr ""
#: ../../lib/class/catalog.class.php:1221
msgid "No valid songs found in playlist file."
msgstr ""
#: ../../lib/class/channel.class.php:154
msgid "Start Channel"
msgstr ""
@ -1341,22 +1383,6 @@ msgstr ""
msgid "Invalid Catalog"
msgstr ""
#: ../../lib/class/random.class.php:401 ../../templates/rightbar.inc.php:66
msgid "Related Album"
msgstr ""
#: ../../lib/class/random.class.php:404
msgid "Related Genre"
msgstr ""
#: ../../lib/class/random.class.php:407 ../../templates/rightbar.inc.php:63
msgid "Related Artist"
msgstr ""
#: ../../lib/class/random.class.php:410 ../../templates/rightbar.inc.php:60
msgid "Pure Random"
msgstr ""
#: ../../lib/class/registration.class.php:52
#, php-format
msgid "New User Registration at %s"
@ -1500,7 +1526,7 @@ msgstr ""
#: ../../templates/show_song_previews.inc.php:34
#: ../../templates/show_songs.inc.php:34 ../../templates/show_songs.inc.php:78
#: ../../templates/show_wanted_albums.inc.php:26
#: ../../templates/sidebar_home.inc.php:69
#: ../../templates/sidebar_home.inc.php:71
msgid "Album"
msgstr ""
@ -1533,7 +1559,7 @@ msgstr ""
#: ../../templates/show_song_previews.inc.php:33
#: ../../templates/show_songs.inc.php:33 ../../templates/show_songs.inc.php:77
#: ../../templates/show_wanted_albums.inc.php:27
#: ../../templates/sidebar_home.inc.php:70
#: ../../templates/sidebar_home.inc.php:72
msgid "Artist"
msgstr ""
@ -1618,7 +1644,7 @@ msgstr ""
#: ../../templates/show_manage_democratic.inc.php:26
#: ../../templates/show_search_bar.inc.php:34
#: ../../templates/sidebar_home.inc.php:49
#: ../../templates/sidebar_home.inc.php:71
#: ../../templates/sidebar_home.inc.php:73
msgid "Playlist"
msgstr ""
@ -1724,7 +1750,7 @@ msgid "No updates needed."
msgstr ""
#: ../../lib/class/user.class.php:851 ../../templates/show_objects.inc.php:44
#: ../../templates/show_tagcloud.inc.php:46
#: ../../templates/show_tagcloud.inc.php:48
msgid "Not Enough Data"
msgstr ""
@ -2007,7 +2033,7 @@ msgstr ""
#: ../../lib/ui.lib.php:116 ../../templates/show_search_bar.inc.php:37
#: ../../templates/show_search.inc.php:53
#: ../../templates/sidebar_home.inc.php:95
#: ../../templates/sidebar_home.inc.php:99
msgid "Search"
msgstr ""
@ -2046,7 +2072,7 @@ msgid "Browse Music"
msgstr ""
#: ../../lib/ui.lib.php:162 ../../templates/show_stats.inc.php:26
#: ../../templates/sidebar_home.inc.php:92
#: ../../templates/sidebar_home.inc.php:95
msgid "Statistics"
msgstr ""
@ -2405,8 +2431,8 @@ msgstr ""
#: ../../templates/show_add_channel.inc.php:76
#: ../../templates/show_channels.inc.php:34
#: ../../templates/show_edit_channel_row.inc.php:52
#: ../../templates/show_localplay_status.inc.php:45
#: ../../templates/sidebar_home.inc.php:67
#: ../../templates/show_localplay_status.inc.php:48
#: ../../templates/sidebar_home.inc.php:68
msgid "Random"
msgstr ""
@ -2423,11 +2449,18 @@ msgstr ""
msgid "Playlist Imported"
msgstr ""
#: ../../playlist.php:109
#: ../../playlist.php:101
#, php-format
msgid "Successfully imported playlist with %d song."
msgid_plural "Successfully imported playlist with %d songs."
msgstr[0] ""
msgstr[1] ""
#: ../../playlist.php:104
msgid "Playlist Not Imported"
msgstr ""
#: ../../playlist.php:158
#: ../../playlist.php:153
msgid "Empty Playlists Deleted"
msgstr ""
@ -2565,7 +2598,7 @@ msgid "Invalid Object Selected"
msgstr ""
#: ../../templates/browse_filters.inc.php:30
#: ../../templates/list_header.inc.php:178
#: ../../templates/list_header.inc.php:179
msgid "Filters"
msgstr ""
@ -2649,7 +2682,7 @@ msgstr ""
msgid "Log out"
msgstr ""
#: ../../templates/header.inc.php:297 ../../templates/sidebar_home.inc.php:84
#: ../../templates/header.inc.php:297 ../../templates/sidebar_home.inc.php:87
msgid "Favorites"
msgstr ""
@ -2675,7 +2708,7 @@ msgstr ""
msgid "Next"
msgstr ""
#: ../../templates/list_header.inc.php:187
#: ../../templates/list_header.inc.php:188
msgid "Limit"
msgstr ""
@ -2705,7 +2738,7 @@ msgstr ""
#: ../../templates/rightbar.inc.php:54
#: ../../templates/show_democratic.inc.php:44
#: ../../templates/show_democratic.inc.php:45
#: ../../templates/show_localplay_status.inc.php:48
#: ../../templates/show_localplay_status.inc.php:51
msgid "Clear Playlist"
msgstr ""
@ -2713,11 +2746,23 @@ msgstr ""
msgid "Add Dynamic Items"
msgstr ""
#: ../../templates/rightbar.inc.php:69
msgid "Related Tag"
#: ../../templates/rightbar.inc.php:60
msgid "Random Song"
msgstr ""
#: ../../templates/rightbar.inc.php:123
#: ../../templates/rightbar.inc.php:63
msgid "Random Artist"
msgstr ""
#: ../../templates/rightbar.inc.php:66
msgid "Random Album"
msgstr ""
#: ../../templates/rightbar.inc.php:69
msgid "Random Playlist"
msgstr ""
#: ../../templates/rightbar.inc.php:120
msgid "No items"
msgstr ""
@ -3888,6 +3933,7 @@ msgstr ""
#: ../../templates/show_now_playing_row.inc.php:39
#: ../../templates/show_recently_played.inc.php:30
#: ../../templates/show_recently_played.inc.php:140
#: ../../templates/sidebar_home.inc.php:70
msgid "Song"
msgstr ""
@ -4069,7 +4115,7 @@ msgstr ""
#: ../../templates/show_newest.inc.php:23
#: ../../templates/show_popular.inc.php:23
#: ../../templates/show_recent.inc.php:23
#: ../../templates/sidebar_home.inc.php:75
#: ../../templates/sidebar_home.inc.php:78
msgid "Information"
msgstr ""
@ -4406,27 +4452,27 @@ msgstr ""
msgid "Edit Instance"
msgstr ""
#: ../../templates/show_localplay_status.inc.php:27
#: ../../templates/show_localplay_status.inc.php:30
msgid "Localplay Control"
msgstr ""
#: ../../templates/show_localplay_status.inc.php:32
#: ../../templates/show_localplay_status.inc.php:35
msgid "Mute"
msgstr ""
#: ../../templates/show_localplay_status.inc.php:33
#: ../../templates/show_localplay_status.inc.php:36
msgid "Decrease Volume"
msgstr ""
#: ../../templates/show_localplay_status.inc.php:34
#: ../../templates/show_localplay_status.inc.php:37
msgid "Increase Volume"
msgstr ""
#: ../../templates/show_localplay_status.inc.php:35
#: ../../templates/show_localplay_status.inc.php:38
msgid "Volume"
msgstr ""
#: ../../templates/show_localplay_status.inc.php:40
#: ../../templates/show_localplay_status.inc.php:43
msgid "Repeat"
msgstr ""
@ -4682,6 +4728,20 @@ msgstr ""
msgid "Unlimited"
msgstr ""
#: ../../templates/show_random.inc.php:68
#, php-format
msgid "%d minute"
msgid_plural "%d minutes"
msgstr[0] ""
msgstr[1] ""
#: ../../templates/show_random.inc.php:70
#, php-format
msgid "%d hour"
msgid_plural "%d hours"
msgstr[0] ""
msgstr[1] ""
#: ../../templates/show_random.inc.php:79
msgid "Size Limit"
msgstr ""
@ -4700,6 +4760,54 @@ msgstr ""
msgid "Agent"
msgstr ""
#: ../../templates/show_recently_played.inc.php:63
msgid "second ago"
msgid_plural "seconds ago"
msgstr[0] ""
msgstr[1] ""
#: ../../templates/show_recently_played.inc.php:66
msgid "minute ago"
msgid_plural "minutes ago"
msgstr[0] ""
msgstr[1] ""
#: ../../templates/show_recently_played.inc.php:69
msgid "hour ago"
msgid_plural "hours ago"
msgstr[0] ""
msgstr[1] ""
#: ../../templates/show_recently_played.inc.php:72
msgid "day ago"
msgid_plural "days ago"
msgstr[0] ""
msgstr[1] ""
#: ../../templates/show_recently_played.inc.php:75
msgid "week ago"
msgid_plural "weeks ago"
msgstr[0] ""
msgstr[1] ""
#: ../../templates/show_recently_played.inc.php:78
msgid "month ago"
msgid_plural "months ago"
msgstr[0] ""
msgstr[1] ""
#: ../../templates/show_recently_played.inc.php:81
msgid "year ago"
msgid_plural "years ago"
msgstr[0] ""
msgstr[1] ""
#: ../../templates/show_recently_played.inc.php:84
msgid "decade ago"
msgid_plural "decades ago"
msgstr[0] ""
msgstr[1] ""
#: ../../templates/show_recently_played.inc.php:133
msgid "No recently item found"
msgstr ""
@ -4915,11 +5023,11 @@ msgstr ""
msgid "Most Popular Artists"
msgstr ""
#: ../../templates/show_tagcloud.inc.php:34
#: ../../templates/show_tagcloud.inc.php:35
msgid "Tag edit"
msgstr ""
#: ../../templates/show_tagcloud.inc.php:39
#: ../../templates/show_tagcloud.inc.php:40
msgid "Do you really want to delete the tag?"
msgstr ""
@ -5212,6 +5320,13 @@ msgstr ""
msgid "Updating the %s catalog"
msgstr ""
#: ../../templates/show_verify_catalog.inc.php:27
#, php-format
msgid "%d item found checking tag information"
msgid_plural "%d items found checking tag information"
msgstr[0] ""
msgstr[1] ""
#: ../../templates/show_verify_catalog.inc.php:29
msgid "Verified"
msgstr ""
@ -5226,7 +5341,7 @@ msgid "No video found"
msgstr ""
#: ../../templates/show_wanted.inc.php:23
#: ../../templates/sidebar_home.inc.php:87
#: ../../templates/sidebar_home.inc.php:90
msgid "Wanted List"
msgstr ""
@ -5267,7 +5382,7 @@ msgstr ""
msgid "Browse"
msgstr ""
#: ../../templates/sidebar_home.inc.php:33
#: ../../templates/sidebar_home.inc.php:32
msgid "Song Titles"
msgstr ""
@ -5279,23 +5394,23 @@ msgstr ""
msgid "Import"
msgstr ""
#: ../../templates/sidebar_home.inc.php:72
#: ../../templates/sidebar_home.inc.php:74
msgid "Advanced"
msgstr ""
#: ../../templates/sidebar_home.inc.php:77
#: ../../templates/sidebar_home.inc.php:80
msgid "Recent"
msgstr ""
#: ../../templates/sidebar_home.inc.php:78
#: ../../templates/sidebar_home.inc.php:81
msgid "Newest"
msgstr ""
#: ../../templates/sidebar_home.inc.php:79
#: ../../templates/sidebar_home.inc.php:82
msgid "Popular"
msgstr ""
#: ../../templates/sidebar_home.inc.php:81
#: ../../templates/sidebar_home.inc.php:84
msgid "Top Rated"
msgstr ""

Binary file not shown.

File diff suppressed because it is too large Load diff

Binary file not shown.

File diff suppressed because it is too large Load diff

Binary file not shown.

View file

@ -12,8 +12,8 @@ msgid ""
msgstr ""
"Project-Id-Version: Ampache 3.7.0-dev\n"
"Report-Msgid-Bugs-To: translations@ampache.org\n"
"POT-Creation-Date: 2014-05-05 21:16+0200\n"
"PO-Revision-Date: 2014-05-05 21:49+0100\n"
"POT-Creation-Date: 2014-05-07 18:59+0200\n"
"PO-Revision-Date: 2014-05-07 19:51+0100\n"
"Last-Translator: Manuel Landmann <psyvirusx@gmail.com>\n"
"Language-Team: German <translations@ampache.org>\n"
"Language: de_DE\n"
@ -80,10 +80,24 @@ msgstr "Katalog löschen"
msgid "Confirm Deletion Request"
msgstr "Bestätige die Löschanfrage"
#: ../../admin/catalog.php:126
#, php-format
msgid "%d Song Removed"
msgid_plural "%d Songs Removed"
msgstr[0] "Ein Song gelöscht"
msgstr[1] "%d Songs gelöscht"
#: ../../admin/catalog.php:128
msgid "No Songs Removed"
msgstr "Keine Songs gelöscht"
#: ../../admin/catalog.php:131
#, php-format
msgid "%d Disabled Song Processed"
msgid_plural "%d Disabled Songs Processed"
msgstr[0] "Ein Deaktivierter Song bearbeitet"
msgstr[1] "%d Deaktivierte Songs bearbeitet"
#: ../../admin/catalog.php:152
msgid "Catalog Cleaned"
msgstr "Katalog bereinigt"
@ -848,7 +862,7 @@ msgid "The Broadcast has been deleted"
msgstr "Der Broadcast wurde gelöscht"
#: ../../browse.php:79 ../../lib/class/browse.class.php:200
#: ../../templates/sidebar_home.inc.php:36
#: ../../templates/sidebar_home.inc.php:35
msgid "Tag Cloud"
msgstr "Tag Wolke"
@ -983,8 +997,8 @@ msgstr "Platte"
#: ../../templates/header.inc.php:285 ../../templates/show_random.inc.php:29
#: ../../templates/show_search.inc.php:30
#: ../../templates/show_stats.inc.php:33
#: ../../templates/sidebar_home.inc.php:35
#: ../../templates/sidebar_home.inc.php:99
#: ../../templates/sidebar_home.inc.php:34
#: ../../templates/sidebar_home.inc.php:103
msgid "Artists"
msgstr "Interpreten"
@ -995,7 +1009,7 @@ msgstr "Verschiedene"
#: ../../lib/class/ampache_rss.class.php:70
#: ../../lib/class/localplay.class.php:627 ../../templates/header.inc.php:36
#: ../../templates/mainframes.inc.php:37
#: ../../templates/show_localplay_status.inc.php:28
#: ../../templates/show_localplay_status.inc.php:31
#: ../../templates/show_now_playing.inc.php:33
msgid "Now Playing"
msgstr "Aktuell wird gespielt"
@ -1123,14 +1137,14 @@ msgstr "Bradcast bearbeiten"
#: ../../templates/show_shout_row.inc.php:31
#: ../../templates/show_smartplaylist_row.inc.php:53
#: ../../templates/show_song_row.inc.php:71
#: ../../templates/show_tagcloud.inc.php:35
#: ../../templates/show_tagcloud.inc.php:36
#: ../../templates/show_user_row.inc.php:44
msgid "Edit"
msgstr "Bearbeiten"
#: ../../lib/class/broadcast.class.php:149
#: ../../lib/class/channel.class.php:157 ../../lib/class/share.class.php:171
#: ../../templates/rightbar.inc.php:120
#: ../../templates/rightbar.inc.php:117
#: ../../templates/show_access_list.inc.php:76
#: ../../templates/show_catalog_row.inc.php:39
#: ../../templates/show_democratic_playlist.inc.php:92
@ -1145,7 +1159,7 @@ msgstr "Bearbeiten"
#: ../../templates/show_shout_row.inc.php:34
#: ../../templates/show_smartplaylist.inc.php:47
#: ../../templates/show_smartplaylist_row.inc.php:55
#: ../../templates/show_tagcloud.inc.php:39
#: ../../templates/show_tagcloud.inc.php:40
#: ../../templates/show_user_row.inc.php:54
msgid "Delete"
msgstr "Löschen"
@ -1169,7 +1183,7 @@ msgstr "Broadcast beenden"
#: ../../templates/show_recommended_artists.inc.php:81
#: ../../templates/show_search.inc.php:28
#: ../../templates/show_stats.inc.php:34 ../../templates/show_stats.inc.php:70
#: ../../templates/sidebar_home.inc.php:97
#: ../../templates/sidebar_home.inc.php:101
msgid "Songs"
msgstr "Songs"
@ -1183,8 +1197,8 @@ msgstr "Songs"
#: ../../templates/show_recommended_artists.inc.php:82
#: ../../templates/show_search.inc.php:29
#: ../../templates/show_stats.inc.php:32
#: ../../templates/sidebar_home.inc.php:34
#: ../../templates/sidebar_home.inc.php:98
#: ../../templates/sidebar_home.inc.php:33
#: ../../templates/sidebar_home.inc.php:102
msgid "Albums"
msgstr "Alben"
@ -1193,13 +1207,13 @@ msgid "Manage Users"
msgstr "Benutzer verwalten"
#: ../../lib/class/browse.class.php:169
#: ../../templates/sidebar_home.inc.php:43
#: ../../templates/sidebar_home.inc.php:42
msgid "Radio Stations"
msgstr "Radiosender"
#: ../../lib/class/browse.class.php:174 ../../server/search.ajax.php:146
#: ../../templates/header.inc.php:291 ../../templates/sidebar_home.inc.php:37
#: ../../templates/sidebar_home.inc.php:100
#: ../../templates/header.inc.php:291 ../../templates/sidebar_home.inc.php:36
#: ../../templates/sidebar_home.inc.php:104
msgid "Playlists"
msgstr "Playlisten"
@ -1212,7 +1226,7 @@ msgid "Current Playlist"
msgstr "Aktuelle Playlist"
#: ../../lib/class/browse.class.php:187
#: ../../templates/sidebar_home.inc.php:38
#: ../../templates/sidebar_home.inc.php:37
msgid "Smart Playlists"
msgstr "Intelligente Playlist"
@ -1227,8 +1241,8 @@ msgstr "Shoutboxeinträge"
#: ../../lib/class/browse.class.php:205 ../../templates/show_search.inc.php:31
#: ../../templates/show_stats.inc.php:35 ../../templates/show_stats.inc.php:71
#: ../../templates/sidebar_home.inc.php:44
#: ../../templates/sidebar_home.inc.php:101
#: ../../templates/sidebar_home.inc.php:43
#: ../../templates/sidebar_home.inc.php:105
msgid "Videos"
msgstr "Videos"
@ -1242,21 +1256,21 @@ msgid "Wanted Albums"
msgstr "Gesuchte Alben"
#: ../../lib/class/browse.class.php:217
#: ../../templates/sidebar_home.inc.php:90
#: ../../templates/sidebar_home.inc.php:93
msgid "Shared Objects"
msgstr "Freigegebene Objekte"
#: ../../lib/class/browse.class.php:225
#: ../../templates/sidebar_home.inc.php:39
#: ../../templates/sidebar_home.inc.php:38
msgid "Channels"
msgstr "Kanäle"
#: ../../lib/class/browse.class.php:229
#: ../../templates/sidebar_home.inc.php:41
#: ../../templates/sidebar_home.inc.php:40
msgid "Broadcasts"
msgstr "Broadcasts"
#: ../../lib/class/browse.class.php:271 ../../templates/rightbar.inc.php:127
#: ../../lib/class/browse.class.php:271 ../../templates/rightbar.inc.php:124
#: ../../templates/show_recently_played.inc.php:157
msgid "More"
msgstr "Mehr"
@ -1268,6 +1282,18 @@ msgstr "Mehr"
msgid "Never"
msgstr "Niemals"
#: ../../lib/class/catalog.class.php:385
msgid "day"
msgid_plural "days"
msgstr[0] "Tag"
msgstr[1] "Tage"
#: ../../lib/class/catalog.class.php:387
msgid "hour"
msgid_plural "hours"
msgstr[0] "Stunde"
msgstr[1] "Stunden"
#: ../../lib/class/catalog.class.php:422
msgid "Catalog Insert Failed check debug logs"
msgstr "Katalog konnte nicht hinzugefügt werden, überprüfe die Log-Dateien"
@ -1276,12 +1302,27 @@ msgstr "Katalog konnte nicht hinzugefügt werden, überprüfe die Log-Dateien"
msgid "No Update Needed"
msgstr "Es wird keine Aktualisierung benötigt."
#: ../../lib/class/catalog.class.php:1035
#, php-format
msgid "Catalog Clean Done. %d file removed."
msgid_plural "Catalog Clean Done. %d files removed."
msgstr[0] "Katalog wurde erfolgreich gesäubert. Eine Datei wurde entfernt."
msgstr[1] "Katalog wurde erfolgreich gesäubert. %d Dateien wurden entfernt."
#: ../../lib/class/catalog.class.php:1054
#, php-format
msgid "Catalog Verify Done. %d of %d files updated."
msgstr ""
"Katalog wurde erfolgreich überprüft. %d von %d Dateien wurden aktualisiert."
#: ../../lib/class/catalog.class.php:1204
msgid "Failed to create playlist."
msgstr "Beim erstellen der Playlist ist ein Fehler aufgetreten."
#: ../../lib/class/catalog.class.php:1221
msgid "No valid songs found in playlist file."
msgstr "Keine gültigen Songs in der Playlist gefunden."
#: ../../lib/class/channel.class.php:154
msgid "Start Channel"
msgstr "Starte Kanal"
@ -1370,22 +1411,6 @@ msgstr "Ungültige URL. Gültige Varianten sind: http:// oder https://"
msgid "Invalid Catalog"
msgstr "Ungültiger Katalog"
#: ../../lib/class/random.class.php:401 ../../templates/rightbar.inc.php:66
msgid "Related Album"
msgstr "Zugehöriges Album"
#: ../../lib/class/random.class.php:404
msgid "Related Genre"
msgstr "Zugehöriges Genre"
#: ../../lib/class/random.class.php:407 ../../templates/rightbar.inc.php:63
msgid "Related Artist"
msgstr "Ähnlicher Interpret"
#: ../../lib/class/random.class.php:410 ../../templates/rightbar.inc.php:60
msgid "Pure Random"
msgstr "Einfach zufällig"
#: ../../lib/class/registration.class.php:52
#, php-format
msgid "New User Registration at %s"
@ -1554,7 +1579,7 @@ msgstr "Titel"
#: ../../templates/show_song_previews.inc.php:34
#: ../../templates/show_songs.inc.php:34 ../../templates/show_songs.inc.php:78
#: ../../templates/show_wanted_albums.inc.php:26
#: ../../templates/sidebar_home.inc.php:69
#: ../../templates/sidebar_home.inc.php:71
msgid "Album"
msgstr "Album"
@ -1587,7 +1612,7 @@ msgstr "Album"
#: ../../templates/show_song_previews.inc.php:33
#: ../../templates/show_songs.inc.php:33 ../../templates/show_songs.inc.php:77
#: ../../templates/show_wanted_albums.inc.php:27
#: ../../templates/sidebar_home.inc.php:70
#: ../../templates/sidebar_home.inc.php:72
msgid "Artist"
msgstr "Interpret"
@ -1672,7 +1697,7 @@ msgstr "Katalog"
#: ../../templates/show_manage_democratic.inc.php:26
#: ../../templates/show_search_bar.inc.php:34
#: ../../templates/sidebar_home.inc.php:49
#: ../../templates/sidebar_home.inc.php:71
#: ../../templates/sidebar_home.inc.php:73
msgid "Playlist"
msgstr "Playlist"
@ -1778,7 +1803,7 @@ msgid "No updates needed."
msgstr "Es wird keine Aktualisierung benötigt."
#: ../../lib/class/user.class.php:851 ../../templates/show_objects.inc.php:44
#: ../../templates/show_tagcloud.inc.php:46
#: ../../templates/show_tagcloud.inc.php:48
msgid "Not Enough Data"
msgstr "Nicht genügend Informationen"
@ -2086,7 +2111,7 @@ msgstr "Zufällige Wiedergabe"
#: ../../lib/ui.lib.php:116 ../../templates/show_search_bar.inc.php:37
#: ../../templates/show_search.inc.php:53
#: ../../templates/sidebar_home.inc.php:95
#: ../../templates/sidebar_home.inc.php:99
msgid "Search"
msgstr "Suchen"
@ -2125,7 +2150,7 @@ msgid "Browse Music"
msgstr "Musik durchblättern"
#: ../../lib/ui.lib.php:162 ../../templates/show_stats.inc.php:26
#: ../../templates/sidebar_home.inc.php:92
#: ../../templates/sidebar_home.inc.php:95
msgid "Statistics"
msgstr "Statistiken"
@ -2512,8 +2537,8 @@ msgstr "Port"
#: ../../templates/show_add_channel.inc.php:76
#: ../../templates/show_channels.inc.php:34
#: ../../templates/show_edit_channel_row.inc.php:52
#: ../../templates/show_localplay_status.inc.php:45
#: ../../templates/sidebar_home.inc.php:67
#: ../../templates/show_localplay_status.inc.php:48
#: ../../templates/sidebar_home.inc.php:68
msgid "Random"
msgstr "Zufällig"
@ -2530,11 +2555,18 @@ msgstr "Die Playlist '%1$s (%2$s)' wurde erstellt."
msgid "Playlist Imported"
msgstr "Playlist importiert"
#: ../../playlist.php:109
#: ../../playlist.php:101
#, php-format
msgid "Successfully imported playlist with %d song."
msgid_plural "Successfully imported playlist with %d songs."
msgstr[0] "Der Import der Playliste mit %d Song war erfolgreich."
msgstr[1] "Der Import der Playlist mit %d Songs war erfolgreich."
#: ../../playlist.php:104
msgid "Playlist Not Imported"
msgstr "Die Playlist wurde nicht importiert"
#: ../../playlist.php:158
#: ../../playlist.php:153
msgid "Empty Playlists Deleted"
msgstr "Leere Playlisten wurden gelöscht"
@ -2624,7 +2656,7 @@ msgstr "Die Suche wurde gespeichert"
#: ../../search.php:43
#, php-format
msgid "Your Search has been saved as a track in %s"
msgstr "Deine Suche wurde als Track in der Playliste '%s' gespeichert"
msgstr "Deine Suche wurde als Track in der Playlist '%s' gespeichert"
#: ../../server/player.ajax.php:41
#: ../../templates/show_html5_player.inc.php:654
@ -2676,7 +2708,7 @@ msgid "Invalid Object Selected"
msgstr "Es wurde ein ungültiges Objekt ausgewählt"
#: ../../templates/browse_filters.inc.php:30
#: ../../templates/list_header.inc.php:178
#: ../../templates/list_header.inc.php:179
msgid "Filters"
msgstr "Filter"
@ -2761,7 +2793,7 @@ msgstr "Abbrechen"
msgid "Log out"
msgstr "Abmelden"
#: ../../templates/header.inc.php:297 ../../templates/sidebar_home.inc.php:84
#: ../../templates/header.inc.php:297 ../../templates/sidebar_home.inc.php:87
msgid "Favorites"
msgstr "Favoriten"
@ -2787,7 +2819,7 @@ msgstr "Zurück"
msgid "Next"
msgstr "Weiter"
#: ../../templates/list_header.inc.php:187
#: ../../templates/list_header.inc.php:188
msgid "Limit"
msgstr "Grenze"
@ -2817,7 +2849,7 @@ msgstr "Herunterladen"
#: ../../templates/rightbar.inc.php:54
#: ../../templates/show_democratic.inc.php:44
#: ../../templates/show_democratic.inc.php:45
#: ../../templates/show_localplay_status.inc.php:48
#: ../../templates/show_localplay_status.inc.php:51
msgid "Clear Playlist"
msgstr "Playlist leeren"
@ -2825,11 +2857,23 @@ msgstr "Playlist leeren"
msgid "Add Dynamic Items"
msgstr "Dynamisch hinzufügen"
#: ../../templates/rightbar.inc.php:69
msgid "Related Tag"
msgstr "Ähnlicher Tag"
#: ../../templates/rightbar.inc.php:60
msgid "Random Song"
msgstr "Zufällige Songs"
#: ../../templates/rightbar.inc.php:123
#: ../../templates/rightbar.inc.php:63
msgid "Random Artist"
msgstr "Zufälliger Interpret"
#: ../../templates/rightbar.inc.php:66
msgid "Random Album"
msgstr "Zufälliges Album"
#: ../../templates/rightbar.inc.php:69
msgid "Random Playlist"
msgstr "Zufällige Playlist"
#: ../../templates/rightbar.inc.php:120
msgid "No items"
msgstr "Nichts hier"
@ -4009,6 +4053,7 @@ msgstr "Doppelte Lieder anzeigen"
#: ../../templates/show_now_playing_row.inc.php:39
#: ../../templates/show_recently_played.inc.php:30
#: ../../templates/show_recently_played.inc.php:140
#: ../../templates/sidebar_home.inc.php:70
msgid "Song"
msgstr "Song"
@ -4190,7 +4235,7 @@ msgstr "Empfange Cover"
#: ../../templates/show_newest.inc.php:23
#: ../../templates/show_popular.inc.php:23
#: ../../templates/show_recent.inc.php:23
#: ../../templates/sidebar_home.inc.php:75
#: ../../templates/sidebar_home.inc.php:78
msgid "Information"
msgstr "Information"
@ -4559,27 +4604,27 @@ msgstr "Lokale Abspielinstanzen anzeigen"
msgid "Edit Instance"
msgstr "Instanz bearbeiten"
#: ../../templates/show_localplay_status.inc.php:27
#: ../../templates/show_localplay_status.inc.php:30
msgid "Localplay Control"
msgstr "Steuerung für lokales Abspielen"
#: ../../templates/show_localplay_status.inc.php:32
#: ../../templates/show_localplay_status.inc.php:35
msgid "Mute"
msgstr "Lautlos"
#: ../../templates/show_localplay_status.inc.php:33
#: ../../templates/show_localplay_status.inc.php:36
msgid "Decrease Volume"
msgstr "Leiser"
#: ../../templates/show_localplay_status.inc.php:34
#: ../../templates/show_localplay_status.inc.php:37
msgid "Increase Volume"
msgstr "Lauter"
#: ../../templates/show_localplay_status.inc.php:35
#: ../../templates/show_localplay_status.inc.php:38
msgid "Volume"
msgstr "Lautstärke"
#: ../../templates/show_localplay_status.inc.php:40
#: ../../templates/show_localplay_status.inc.php:43
msgid "Repeat"
msgstr "Wiederholen"
@ -4835,6 +4880,20 @@ msgstr "Anzahl"
msgid "Unlimited"
msgstr "Unbegrenzt"
#: ../../templates/show_random.inc.php:68
#, php-format
msgid "%d minute"
msgid_plural "%d minutes"
msgstr[0] "Eine Minute"
msgstr[1] "%d Minuten"
#: ../../templates/show_random.inc.php:70
#, php-format
msgid "%d hour"
msgid_plural "%d hours"
msgstr[0] "%d Stunde"
msgstr[1] "%d Stunden"
#: ../../templates/show_random.inc.php:79
msgid "Size Limit"
msgstr "Größenbegrenzung"
@ -4853,6 +4912,54 @@ msgstr "zuletzt gespielt vor"
msgid "Agent"
msgstr "Agent"
#: ../../templates/show_recently_played.inc.php:63
msgid "second ago"
msgid_plural "seconds ago"
msgstr[0] "Sekunde"
msgstr[1] "Sekunden"
#: ../../templates/show_recently_played.inc.php:66
msgid "minute ago"
msgid_plural "minutes ago"
msgstr[0] "Minute"
msgstr[1] "Minuten"
#: ../../templates/show_recently_played.inc.php:69
msgid "hour ago"
msgid_plural "hours ago"
msgstr[0] "Stunde"
msgstr[1] "Stunden"
#: ../../templates/show_recently_played.inc.php:72
msgid "day ago"
msgid_plural "days ago"
msgstr[0] "Tag"
msgstr[1] "Tagen"
#: ../../templates/show_recently_played.inc.php:75
msgid "week ago"
msgid_plural "weeks ago"
msgstr[0] "Woche"
msgstr[1] "Wochen"
#: ../../templates/show_recently_played.inc.php:78
msgid "month ago"
msgid_plural "months ago"
msgstr[0] "Monat"
msgstr[1] "Monaten"
#: ../../templates/show_recently_played.inc.php:81
msgid "year ago"
msgid_plural "years ago"
msgstr[0] "Jahr"
msgstr[1] "Jahren"
#: ../../templates/show_recently_played.inc.php:84
msgid "decade ago"
msgid_plural "decades ago"
msgstr[0] "Dekade"
msgstr[1] "Dekaden"
#: ../../templates/show_recently_played.inc.php:133
msgid "No recently item found"
msgstr "Kein passendes Objekt gefunden"
@ -5071,11 +5178,11 @@ msgstr "Meistgespielte Alben"
msgid "Most Popular Artists"
msgstr "Meistgespielte Interpreten"
#: ../../templates/show_tagcloud.inc.php:34
#: ../../templates/show_tagcloud.inc.php:35
msgid "Tag edit"
msgstr "tag bearbeiten"
#: ../../templates/show_tagcloud.inc.php:39
#: ../../templates/show_tagcloud.inc.php:40
msgid "Do you really want to delete the tag?"
msgstr "Möchtest Du diesen Tag wirklich löschen?"
@ -5410,6 +5517,13 @@ msgstr "Katalog überprüfen"
msgid "Updating the %s catalog"
msgstr "Aktualisiere Katalog: %s"
#: ../../templates/show_verify_catalog.inc.php:27
#, php-format
msgid "%d item found checking tag information"
msgid_plural "%d items found checking tag information"
msgstr[0] "Eine Datei gefunden, prüfe Tag-Informationen"
msgstr[1] "%d Dateien gefunden, prüfe Tag-Informationen"
#: ../../templates/show_verify_catalog.inc.php:29
msgid "Verified"
msgstr "Geprüft"
@ -5424,7 +5538,7 @@ msgid "No video found"
msgstr "Es wurde kein Video gefunden."
#: ../../templates/show_wanted.inc.php:23
#: ../../templates/sidebar_home.inc.php:87
#: ../../templates/sidebar_home.inc.php:90
msgid "Wanted List"
msgstr "Wunschliste"
@ -5465,7 +5579,7 @@ msgstr "Serverkonfiguration"
msgid "Browse"
msgstr "Durchblättern"
#: ../../templates/sidebar_home.inc.php:33
#: ../../templates/sidebar_home.inc.php:32
msgid "Song Titles"
msgstr "Songtitel"
@ -5477,23 +5591,23 @@ msgstr "Wird gerade gespielt"
msgid "Import"
msgstr "Importieren"
#: ../../templates/sidebar_home.inc.php:72
#: ../../templates/sidebar_home.inc.php:74
msgid "Advanced"
msgstr "Erweitert"
#: ../../templates/sidebar_home.inc.php:77
#: ../../templates/sidebar_home.inc.php:80
msgid "Recent"
msgstr "Kürzlich"
#: ../../templates/sidebar_home.inc.php:78
#: ../../templates/sidebar_home.inc.php:81
msgid "Newest"
msgstr "Neuestes"
#: ../../templates/sidebar_home.inc.php:79
#: ../../templates/sidebar_home.inc.php:82
msgid "Popular"
msgstr "Beliebt"
#: ../../templates/sidebar_home.inc.php:81
#: ../../templates/sidebar_home.inc.php:84
msgid "Top Rated"
msgstr "Am besten bewertet"
@ -5677,3 +5791,15 @@ msgstr "Streaming"
#: Database words
msgid "System"
msgstr "System"
#~ msgid "Related Album"
#~ msgstr "Zugehöriges Album"
#~ msgid "Related Genre"
#~ msgstr "Zugehöriges Genre"
#~ msgid "Pure Random"
#~ msgstr "Einfach zufällig"
#~ msgid "Related Tag"
#~ msgstr "Ähnlicher Tag"

Binary file not shown.

File diff suppressed because it is too large Load diff

Binary file not shown.

File diff suppressed because it is too large Load diff

Binary file not shown.

File diff suppressed because it is too large Load diff

Binary file not shown.

File diff suppressed because it is too large Load diff

Binary file not shown.

File diff suppressed because it is too large Load diff

Binary file not shown.

File diff suppressed because it is too large Load diff

Binary file not shown.

File diff suppressed because it is too large Load diff

Binary file not shown.

File diff suppressed because it is too large Load diff

Binary file not shown.

File diff suppressed because it is too large Load diff

Binary file not shown.

File diff suppressed because it is too large Load diff

Binary file not shown.

File diff suppressed because it is too large Load diff

Binary file not shown.

File diff suppressed because it is too large Load diff

View file

@ -98,12 +98,7 @@ switch ($_REQUEST['action']) {
$title = T_('Playlist Imported');
$body = basename($_FILES['filename']['name']);
$body .= '<br />' .
sprintf(
T_ngettext(
'Successfully imported playlist with %d song.',
'Successfully imported playlist with %d songs.',
$result['count']),
$result['count']);
sprintf(ngettext('Successfully imported playlist with %d song.', 'Successfully imported playlist with %d songs.', $result['count']), $result['count']);
} else {
$url = 'show_import_playlist';
$title = T_('Playlist Not Imported');

View file

@ -65,9 +65,9 @@
($_POST['length'] == $i
? 'selected="selected"' : '') . '>';
if ($i < 60) {
printf(T_ngettext('%d minute', '%d minutes', $i), $i);
printf(ngettext('%d minute', '%d minutes', $i), $i);
} else {
printf(T_ngettext('%d hour', '%d hours', $i / 60), $i / 60);
printf(ngettext('%d hour', '%d hours', $i / 60), $i / 60);
}
echo "</option>\n";
}

View file

@ -60,32 +60,32 @@ foreach ($data as $row) {
$interval = intval(time() - $row['date']);
if ($interval < 60) {
$unit = 'seconds';
$unit = ngettext('second ago', 'seconds ago', $interval);
} else if ($interval < 3600) {
$interval = floor($interval / 60);
$unit = 'minutes';
$unit = ngettext('minute ago', 'minutes ago', $interval);
} else if ($interval < 86400) {
$interval = floor($interval / 3600);
$unit = 'hours';
$unit = ngettext('hour ago', 'hours ago', $interval);
} else if ($interval < 604800) {
$interval = floor($interval / 86400);
$unit = 'days';
$unit = ngettext('day ago', 'days ago', $interval);
} else if ($interval < 2592000) {
$interval = floor($interval / 604800);
$unit = 'weeks';
$unit = ngettext('week ago', 'weeks ago', $interval);
} else if ($interval < 31556926) {
$interval = floor($interval / 2592000);
$unit = 'months';
$unit = ngettext('month ago', 'months ago', $interval);
} else if ($interval < 631138519) {
$interval = floor($interval / 31556926);
$unit = 'years';
$unit = ngettext('year ago', 'years ago', $interval);
} else {
$interval = floor($interval / 315569260);
$unit = 'decades';
$unit = ngettext('decade ago', 'decades ago', $interval);
}
// I wonder how smart gettext is?
$time_string = sprintf(T_ngettext('%d ' . rtrim($unit, 's') . ' ago', '%d ' . $unit . ' ago', $interval), $interval);
$time_string = sprintf('%d ' . (T_ngettext($unit, $unit, $interval)), $interval);
}
$song->format();
?>

View file

@ -24,7 +24,7 @@ UI::show_box_top(T_('Verify Catalog'), 'box box_verify_catalog');
/* HINT: Catalog Name */
printf(T_('Updating the %s catalog'), "<strong>[ $this->name ]</strong>");
echo "<br />\n";
printf(T_ngettext('%d item found checking tag information', '%d items found checking tag information', $number), $number);
printf(ngettext('%d item found checking tag information', '%d items found checking tag information', $number), $number);
echo "<br />\n\n";
echo T_('Verified') . ': <span id="verify_count_' . $this->id . '">' . $catalog_verify_found . '</span><br />';
echo T_('Reading') . ': <span id="verify_dir_' . $this->id . '">' . $catalog_verify_directory . '</span><br />';