Thread: [lastbash-cvs] SF.net SVN: lastbash: [224] lastbash
Status: Beta
Brought to you by:
cstroie
From: <cs...@us...> - 2007-03-23 11:27:58
|
Revision: 224 http://lastbash.svn.sourceforge.net/lastbash/?rev=224&view=rev Author: cstroie Date: 2007-03-23 04:27:54 -0700 (Fri, 23 Mar 2007) Log Message: ----------- Prepared for 0.3.2 release. Modified Paths: -------------- lastbash/ChangeLog lastbash/README lastbash/lastbash.1 Modified: lastbash/ChangeLog =================================================================== --- lastbash/ChangeLog 2007-03-23 11:19:28 UTC (rev 223) +++ lastbash/ChangeLog 2007-03-23 11:27:54 UTC (rev 224) @@ -1,3 +1,17 @@ +v0.3.2 +* Show the external player status in LEDS area. +* Improved the player control and checking. +* Added support for mute and pause player commands. +* Disable local echo on normal operation. +* Use only GPL v2 (for the moment). +* Log the remote call commands. +* Disabled the read-based sleep function, fixing the key lock bug. +* Added experimental support of user input for station change. +* Added support for rxvt and screen title. +* Added experimental support for saving csv formatted history. +* Added experimental support for saving an HTML file displaying the + current track information. + v0.3.1 * Chech for data validity in command line. * Use getopts for parsing the command line parameters. Modified: lastbash/README =================================================================== --- lastbash/README 2007-03-23 11:19:28 UTC (rev 223) +++ lastbash/README 2007-03-23 11:27:54 UTC (rev 224) @@ -8,8 +8,10 @@ Basically, it is no more than a TUI frontend, written in Bash. It displays the information of the current playing track, keeps a history -of the played tracks and allows the user to perform some actions on the -current track, such as love, skip or ban. +of the played tracks and allows the user to select the desired station +and to perform some actions on the current track, such as love, skip or +ban. It can also create a html file containing the track information and +album cover. To listen to Last.fm, you can use any player capable of mp3 streaming (such as MPlayer, mpg123, XMMS and so on) by opening the M3U playlist @@ -23,7 +25,8 @@ Features ======== -LastBASH is a console player for Last.fm. Even beta, it is quite usable. +LastBASH is a console player for Last.fm. Even if it is beta version, it +is quite usable. Its purpose is to offer a simple interface to Last.fm services, to allow you to listen to the streams while you are working in console. Or, @@ -35,14 +38,17 @@ * retrieves the metadata of the current playing track and displays it (artist, album, track name, track duration) * keeps a history of last played tracks -* allows you to change the Last.fm station * allows you to control the Last.fm station, by issuing the 'love', 'skip' and 'ban' commands +* allows you to change the Last.fm station based on tags, group, + neighbours, recommendations, similar artists, fans or by directly + typing the full url * optionally, it can run a backend player (such as MPlayer or mpg123), which you can control through the same interface, or lets you choose any external player you wish (capable of playing mp3 streams), such as XMMS, Rhythmbox or even Amarok, if you feel to * remote control (send commands and station changing) +* creates a html file displaying the current track information * easy integration with web browsers Modified: lastbash/lastbash.1 =================================================================== --- lastbash/lastbash.1 2007-03-23 11:19:28 UTC (rev 223) +++ lastbash/lastbash.1 2007-03-23 11:27:54 UTC (rev 224) @@ -5,7 +5,7 @@ .\" .\" $Id$ .\" -.TH "lastbash" "1" "12 Dec 2006" "LastBASH" "Multimedia" +.TH "lastbash" "1" "23 Mar 2007" "LastBASH" "Multimedia" .SH "NAME" lastbash \- Console player for Last.fm .SH "SYNOPSIS" @@ -16,7 +16,8 @@ LastBASH tries to find its place among the other Last.fm players, filling this gap: the missing console player. .PP Basically, it is no more than a TUI frontend, written in Bash. -It displays the information of the current playing track, keeps a history of the played tracks and allows the user to perform some actions on the current track, such as love, skip or ban. +It displays the information of the current playing track, keeps a history of the played tracks and allows the user to select the desired station and to perform some actions on the current track, such as love, skip or ban. +It can also create a html file containing the track information and album cover. .SH "OPTIONS" .TP .B -a @@ -186,20 +187,20 @@ about:config .fi .PP -Right click and select New > String . As name type the next string and press OK. +Right click and select \fINew > String\fR. For \fBname\fR type the next string and press OK. .PP .nf network.protocol-handler.app.lastfm .fi .PP -As value type the full path to the LastBASH programs, something like this one. +For \fBvalue\fR type the full path to the LastBASH program, something like this one. .PP .nf /usr/bin/lastbash .fi .PP Now, go to Last.fm and click any \fIlastfm://\fR url. -This will launch a second instance of the program and pass to the first one the new station. +This will launch a second instance of the program, which will connect to the first one and will pass it the new station name. .SH "LAST.FM" This is shameless self-promotion, I know. You can find me on Last.fm as \fIcstroie\fR and, if you like this player and want to share your experience, you can join the \fILastBASH\fR group and tell others about it. @@ -214,5 +215,7 @@ .SH "SEE ALSO" LastBASH website at: <http://lastbash.sourceforge.net> .br +Author's profile at Last.fm: <http://www.last.fm/user/cstroie> +.br LastBASH group at Last.fm: <http://www.last.fm/group/LastBASH> .\" vim: set ft=nroff nowrap nu: This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <cs...@us...> - 2007-04-17 17:15:30
|
Revision: 229 http://lastbash.svn.sourceforge.net/lastbash/?rev=229&view=rev Author: cstroie Date: 2007-04-17 10:15:27 -0700 (Tue, 17 Apr 2007) Log Message: ----------- Initial support for l10n. Modified Paths: -------------- lastbash/Makefile lastbash/lastbash Added Paths: ----------- lastbash/po/ lastbash/po/de.po lastbash/po/fr.po lastbash/po/header.pot lastbash/po/ro.po lastbash/po/ru.po Modified: lastbash/Makefile =================================================================== --- lastbash/Makefile 2007-03-26 15:41:01 UTC (rev 228) +++ lastbash/Makefile 2007-04-17 17:15:27 UTC (rev 229) @@ -4,7 +4,7 @@ # Project name and version name = lastbash -version = 0.3.2 +version = 0.3.3 # Targets proglist = lastbash @@ -23,6 +23,23 @@ datadir = $(DESTDIR)$(prefix)/share/$(name) srcdir = . +# Languages +languages = ro fr de ru + +# Translation catalogs, directories and files +po_dir = po +pot = $(po_dir)/$(name).pot +pot_header = $(po_dir)/header.pot + +po_files = $(addprefix $(po_dir)/, $(addsuffix .po, $(languages))) +mo_files = $(addprefix $(TEXTDOMAINDIR)/, $(addsuffix /$(CATEGORY)/$(TEXTDOMAIN).mo, $(languages))) +mo_dirs = $(addprefix $(TEXTDOMAINDIR)/, $(addsuffix /$(CATEGORY), $(languages))) + +# Localization settings +TEXTDOMAIN = $(name) +TEXTDOMAINDIR = messages +CATEGORY = LC_MESSAGES + # Tools MKDIR = mkdir INSTALL = install @@ -55,6 +72,34 @@ lastbash.config: lastbash.config.in $(SED) -e '/^HTML_TEMPLATE/s/@HTML_TEMPLATE@/$${HOME_DIR}\/lastbash_template.html/g' $< > $@ +# Create the pot file +pot: $(pot) + +$(po_dir)/%.pot: % $(pot_header) + cat $(pot_header) | \ + sed "/POT-Creation-Date:/s/DATE/`date "+%Y-%m-%d %H:%M%z"`/g" | \ + sed "/Project-Id-Version:/s/NAME-VERSION/$(name)-$(version)/g" > $@ + bash --dump-po-strings $< | msguniq >> $@ + +# Update the existing catalogs +po: $(po_files) + +$(po_dir)/%.po: $(pot) + test -f $@ && \ + msgmerge --update --backup=simple --suffix=.bak --force-po --no-wrap --sort-by-file $@ $< || \ + msginit -i $< -o $@ -l $* --no-translator --no-wrap + +# Make the mo files +mo: $(mo_dirs) $(mo_files) + +$(TEXTDOMAINDIR)/%/$(CATEGORY)/$(TEXTDOMAIN).mo: $(po_dir)/%.po + msgfmt --check --statistics -o $@ $< + +# Output directories for mo files +$(mo_dirs): + mkdir -p $@ + + # Install section install: config install_dirs install_prog install_conf install_man install_doc Modified: lastbash/lastbash =================================================================== --- lastbash/lastbash 2007-03-26 15:41:01 UTC (rev 228) +++ lastbash/lastbash 2007-04-17 17:15:27 UTC (rev 229) @@ -37,8 +37,8 @@ # Program identification PROG_NAME="lastbash" PROG_TITLE="LastBASH" -PROG_DESC="Console player for Last.fm" -PROG_VER="0.3.2" +PROG_DESC=$"Console player for Last.fm" +PROG_VER="0.3.3" AUTHOR="Costin Stroie" AUTHOR_EMAIL="cs...@us..." @@ -90,12 +90,16 @@ # Set some shell options shopt -s nocasematch +# Localization stuff +TEXTDOMAIN="lastbash" +TEXTDOMAINDIR="messages" + # Labels -LBL_ARTIST="Artist" -LBL_ALBUM="Album" -LBL_TRACK="Title" -LBL_LENGTH="Length" -LBL_ACTION="Action" +LBL_ARTIST=$"Artist" +LBL_ALBUM=$"Album" +LBL_TRACK=$"Title" +LBL_LENGTH=$"Length" +LBL_ACTION=$"Action" # Home directory and configuration files #----------------------------------------------------------------------------- @@ -119,8 +123,10 @@ #----------------------------------------------------------------------------- function debug_header() { + local MSG + printf -v MSG " %s `date`" $"Debug session started on" debug "--------------------------------------------------------" - debug " Debug session started on `date`" + debug "${MSG}" debug "--------------------------------------------------------" } @@ -128,8 +134,10 @@ #----------------------------------------------------------------------------- function debug_footer() { + local MSG + printf -v MSG " %s `date`" $"Debug session ended on" debug "--------------------------------------------------------" - debug " Debug session ended on `date`" + debug "${MSG}" debug "--------------------------------------------------------" } @@ -226,7 +234,7 @@ fi # The first row contains the columns titles - [ -f "${HISTORY_CVS_FILE}" ] || echo "\"Artist\",\"Album\",\"Track\",\"Length\",\"Action\"" > "${HISTORY_CVS_FILE}" + [ -f "${HISTORY_CVS_FILE}" ] || echo "\"${LBL_ARTIST}\",\"${LBL_ALBUM}\",\"${LBL_TRACK}\",\"${LBL_LENGTH}\",\"${LBL_ACTION}\"" > "${HISTORY_CVS_FILE}" local ARTIST ALBUM TRACK DURATION ACTION @@ -271,13 +279,14 @@ #----------------------------------------------------------------------------- function init() { - local P MP + local P MP MSG # Check the bash version if [ "${BASH_VERSINFO[0]}" -lt "3" ] then - echo "Bash version 3 is needed." - debug "${FUNCNAME}: Unsupported Bash version: $BASH_VERSION" + echo $"Bash version 3 is needed." + printf -v MSG "%s: %s: %s" "${FUNCNAME}" $"Unsupported Bash version" "${BASH_VERSION}" + debug "${MSG}" exit 1 fi @@ -1123,7 +1132,7 @@ then MSG="${META_STATION}" else - MSG="Not streaming, please launch the player" + MSG=$"Not streaming, please launch the player" fi # Format the status line @@ -1388,7 +1397,7 @@ local PREV_ACTION="${META_ACTION}" # Set the status line - tui_sbar "Retrieving metadata..." + tui_sbar $"Retrieving metadata..." # Fetch the metadata if lastfm_metadata "${LASTFM_SESSION}" @@ -1432,7 +1441,7 @@ RET="0" else RET="1" - tui_sbar "Metadata retrieving failed" + tui_sbar $"Metadata retrieving failed" fi # Restore the status bar @@ -1450,7 +1459,7 @@ local RET # Set the status line - tui_sbar "Connecting to Last.fm..." + tui_sbar $"Connecting to Last.fm..." # Try connecting lastfm_connect "${LASTFM_USER}" "${LASTFM_PASS}" @@ -1466,20 +1475,20 @@ tui_lastfm_station "${LASTFM_STATION}" else # Update the status line - tui_sbar "Connected" + tui_sbar $"Connected" sleep 1 # Get the initial metadata tui_metadata fi elif [ "${RET}" == "2" ] then - tui_sbar "Last.fm session failed, check credentials" + tui_sbar $"Last.fm session failed, check credentials" elif [ "${RET}" == "3" ] then - tui_sbar "Player banned, contact the author" + tui_sbar $"Player banned, contact the author" else RET="1" - tui_sbar "Last.fm handshake failed" + tui_sbar $"Last.fm handshake failed" fi # Return the status code @@ -1495,7 +1504,7 @@ local RET ERRMSG # Set the status line - tui_sbar "Setting new Last.fm station..." + tui_sbar $"Setting new Last.fm station..." # Try changing the station lastfm_station "${LASTFM_SESSION}" "$1" Added: lastbash/po/de.po =================================================================== --- lastbash/po/de.po (rev 0) +++ lastbash/po/de.po 2007-04-17 17:15:27 UTC (rev 229) @@ -0,0 +1,93 @@ +# Translation catalog for LastBASH +# Copyright (C) 2007 Costin Stroie <cs...@us...> +# This file is distributed under the same license as the lastbash package. +# $Id: header.pot 29 2007-02-28 15:55:54Z cstroie $ +# vim: set ft=po nowrap nu enc=utf8: +msgid "" +msgstr "" +"Project-Id-Version: lastbash-0.3.3\n" +"POT-Creation-Date: 2007-04-17 20:02+0300\n" +"Last-Translator: Automatically generated\n" +"Language-Team: none\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"PO-Revision-Date: 2007-04-17 20:10+0300\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: lastbash:102 +msgid "Action" +msgstr "Tätigkeit " + +#: lastbash:99 +msgid "Album" +msgstr "Album " + +#: lastbash:98 +msgid "Artist" +msgstr "Künstler " + +#: lastbash:287 +msgid "Bash version 3 is needed." +msgstr "Schlagversion 3 ist erforderlich. " + +#: lastbash:1478 +msgid "Connected" +msgstr "Angeschlossen " + +#: lastbash:1462 +msgid "Connecting to Last.fm..." +msgstr "Anschließen an Last.fm… " + +#: lastbash:40 +msgid "Console player for Last.fm" +msgstr "Konsole Spieler für Last.fm " + +#: lastbash:138 +msgid "Debug session ended on" +msgstr "Den Lernabschnitt ausprüfen, der an beendet wird " + +#: lastbash:127 +msgid "Debug session started on" +msgstr "Den Lernabschnitt ausprüfen, der an begonnen wird " + +#: lastbash:1491 +msgid "Last.fm handshake failed" +msgstr "Last.fm Händedruck fällt aus " + +#: lastbash:1485 +msgid "Last.fm session failed, check credentials" +msgstr "Last.fm Lernabschnitt fiel, überprüfung Bescheinigungen aus " + +#: lastbash:101 +msgid "Length" +msgstr "Länge " + +#: lastbash:1444 +msgid "Metadata retrieving failed" +msgstr "Metadatenzurückholen verlassen " + +#: lastbash:1135 +msgid "Not streaming, please launch the player" +msgstr "Nicht strömend, den Spieler bitte ausstoßen " + +#: lastbash:1488 +msgid "Player banned, contact the author" +msgstr "Der verbotene Spieler, treten mit dem Autor in Verbindung " + +#: lastbash:1400 +msgid "Retrieving metadata..." +msgstr "Metadaten zurückholen… " + +#: lastbash:1507 +msgid "Setting new Last.fm station..." +msgstr "Einstellung neue Last.fm Station… " + +#: lastbash:100 +msgid "Title" +msgstr "Titel " + +#: lastbash:288 +msgid "Unsupported Bash version" +msgstr "Ungestützte Schlagversion " + Added: lastbash/po/fr.po =================================================================== --- lastbash/po/fr.po (rev 0) +++ lastbash/po/fr.po 2007-04-17 17:15:27 UTC (rev 229) @@ -0,0 +1,93 @@ +# Translation catalog for LastBASH +# Copyright (C) 2007 Costin Stroie <cs...@us...> +# This file is distributed under the same license as the lastbash package. +# $Id: header.pot 29 2007-02-28 15:55:54Z cstroie $ +# vim: set ft=po nowrap nu enc=utf8: +msgid "" +msgstr "" +"Project-Id-Version: lastbash-0.3.3\n" +"POT-Creation-Date: 2007-04-17 20:02+0300\n" +"Last-Translator: Automatically generated\n" +"Language-Team: none\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"PO-Revision-Date: 2007-04-17 20:11+0300\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#: lastbash:102 +msgid "Action" +msgstr "Action " + +#: lastbash:99 +msgid "Album" +msgstr "Album " + +#: lastbash:98 +msgid "Artist" +msgstr "Artiste " + +#: lastbash:287 +msgid "Bash version 3 is needed." +msgstr "La version 3 de Bash est nécessaire." + +#: lastbash:1478 +msgid "Connected" +msgstr "Relié " + +#: lastbash:1462 +msgid "Connecting to Last.fm..." +msgstr "Se relier à Last.fm… " + +#: lastbash:40 +msgid "Console player for Last.fm" +msgstr "Joueur de console pour Last.fm " + +#: lastbash:138 +msgid "Debug session ended on" +msgstr "Corriger la session finie dessus " + +#: lastbash:127 +msgid "Debug session started on" +msgstr "Corriger la session commencée dessus " + +#: lastbash:1491 +msgid "Last.fm handshake failed" +msgstr "La poignée de main de Last.fm échoue " + +#: lastbash:1485 +msgid "Last.fm session failed, check credentials" +msgstr "La session de Last.fm a échoué, des qualifications de contrôle " + +#: lastbash:101 +msgid "Length" +msgstr "Longueur " + +#: lastbash:1444 +msgid "Metadata retrieving failed" +msgstr "Recherche de méta-données échouée " + +#: lastbash:1135 +msgid "Not streaming, please launch the player" +msgstr "En ne coulant pas, lancer svp le joueur " + +#: lastbash:1488 +msgid "Player banned, contact the author" +msgstr "Le joueur interdit, contactent l'auteur " + +#: lastbash:1400 +msgid "Retrieving metadata..." +msgstr "Recherchant des méta-données… " + +#: lastbash:1507 +msgid "Setting new Last.fm station..." +msgstr "Plaçant la nouvelle station de Last.fm… " + +#: lastbash:100 +msgid "Title" +msgstr "Titre" + +#: lastbash:288 +msgid "Unsupported Bash version" +msgstr "Version non soutenue de coup " + Added: lastbash/po/header.pot =================================================================== --- lastbash/po/header.pot (rev 0) +++ lastbash/po/header.pot 2007-04-17 17:15:27 UTC (rev 229) @@ -0,0 +1,15 @@ +# Translation catalog for LastBASH +# Copyright (C) 2007 Costin Stroie <cs...@us...> +# This file is distributed under the same license as the lastbash package. +# $Id: header.pot 29 2007-02-28 15:55:54Z cstroie $ +# vim: set ft=po nowrap nu enc=utf8: +msgid "" +msgstr "" +"Project-Id-Version: NAME-VERSION\n" +"POT-Creation-Date: DATE\n" +"Last-Translator: Automatically generated\n" +"Language-Team: none\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + Added: lastbash/po/ro.po =================================================================== --- lastbash/po/ro.po (rev 0) +++ lastbash/po/ro.po 2007-04-17 17:15:27 UTC (rev 229) @@ -0,0 +1,91 @@ +# Translation catalog for lastbash +# Copyright (C) 2006 Costin Stroie <cs...@us...> +# This file is distributed under the same license as the lastbash package. +# $Id: ro.po 28 2007-02-28 15:55:29Z cstroie $ +# vim: set ft=po nowrap nu enc=utf8: +msgid "" +msgstr "" +"Project-Id-Version: subproc\n" +"POT-Creation-Date: 2007-04-17 19:57+0300\n" +"PO-Revision-Date: 2007-04-17 19:59+0300\n" +"Last-Translator: Costin Stroie <cs...@us...>\n" +"Language-Team: ro_RO\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: lastbash:40 +msgid "Console player for Last.fm" +msgstr "Player in consolă pentru Last.fm" + +#: lastbash:98 +msgid "Artist" +msgstr "Artist" + +#: lastbash:99 +msgid "Album" +msgstr "Album" + +#: lastbash:100 +msgid "Title" +msgstr "Titlu" + +#: lastbash:101 +msgid "Length" +msgstr "Durată" + +#: lastbash:102 +msgid "Action" +msgstr "Acţiune" + +#: lastbash:127 +msgid "Debug session started on" +msgstr "Sesiune de depanare iniţiată la" + +#: lastbash:138 +msgid "Debug session ended on" +msgstr "Sesiune de depanare încheiată la" + +#: lastbash:287 +msgid "Bash version 3 is needed." +msgstr "Este necesară versiunea Bash 3." + +#: lastbash:288 +msgid "Unsupported Bash version" +msgstr "Versiune Bash nesuportată" + +#: lastbash:1135 +msgid "Not streaming, please launch the player" +msgstr "Lansaţi playerul" + +#: lastbash:1400 +msgid "Retrieving metadata..." +msgstr "Descărcare metadata..." + +#: lastbash:1444 +msgid "Metadata retrieving failed" +msgstr "Decărcarea metadata a eşuat" + +#: lastbash:1462 +msgid "Connecting to Last.fm..." +msgstr "În conectare la Last.fm..." + +#: lastbash:1478 +msgid "Connected" +msgstr "Conectat" + +#: lastbash:1485 +msgid "Last.fm session failed, check credentials" +msgstr "Sesiunea Last.fm a eşuat, verificaţi datele de autentificare" + +#: lastbash:1488 +msgid "Player banned, contact the author" +msgstr "Playerul este interzis, contactaţi autorul" + +#: lastbash:1491 +msgid "Last.fm handshake failed" +msgstr "Negocierea Last.fm a eşuat" + +#: lastbash:1507 +msgid "Setting new Last.fm station..." +msgstr "Stabilim o nouă staţie Last.fm..." Added: lastbash/po/ru.po =================================================================== --- lastbash/po/ru.po (rev 0) +++ lastbash/po/ru.po 2007-04-17 17:15:27 UTC (rev 229) @@ -0,0 +1,112 @@ +# Translation catalog for LastBASH +# Copyright (C) 2007 Costin Stroie <cs...@us...> +# This file is distributed under the same license as the lastbash package. +# $Id: header.pot 29 2007-02-28 15:55:54Z cstroie $ +# vim: set ft=po nowrap nu enc=utf8: +msgid "" +msgstr "" +"Project-Id-Version: lastbash-0.3.3\n" +"POT-Creation-Date: 2007-04-17 20:02+0300\n" +"Last-Translator: Automatically generated\n" +"Language-Team: none\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"PO-Revision-Date: 2007-04-17 20:12+0300\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" + +#: lastbash:102 +#, fuzzy +msgid "Action" +msgstr "Действий " + +#: lastbash:99 +#, fuzzy +msgid "Album" +msgstr " " + +#: lastbash:98 +#, fuzzy +msgid "Artist" +msgstr " " + +#: lastbash:287 +#, fuzzy +msgid "Bash version 3 is needed." +msgstr "Bash, версия 3 не требуется. " + +#: lastbash:1478 +#, fuzzy +msgid "Connected" +msgstr "Подключен " + +#: lastbash:1462 +#, fuzzy +msgid "Connecting to Last.fm..." +msgstr "Подключение к Last.fm. .. " + +#: lastbash:40 +#, fuzzy +msgid "Console player for Last.fm" +msgstr "Консоль игрока на Last.fm " + +#: lastbash:138 +#, fuzzy +msgid "Debug session ended on" +msgstr "Отладка сессия закончилась " + +#: lastbash:127 +#, fuzzy +msgid "Debug session started on" +msgstr "Отладка сессия началась " + +#: lastbash:1491 +#, fuzzy +msgid "Last.fm handshake failed" +msgstr "Last.fm не рукопожатие " + +#: lastbash:1485 +#, fuzzy +msgid "Last.fm session failed, check credentials" +msgstr "Last.fm не сессии, проверьте полномочия " + +#: lastbash:101 +#, fuzzy +msgid "Length" +msgstr " " + +#: lastbash:1444 +#, fuzzy +msgid "Metadata retrieving failed" +msgstr "Метаданные поиска не " + +#: lastbash:1135 +#, fuzzy +msgid "Not streaming, please launch the player" +msgstr "Не в потоковом режиме, можно начать игрок " + +#: lastbash:1488 +#, fuzzy +msgid "Player banned, contact the author" +msgstr "Игроку запрещен, связаться с автором " + +#: lastbash:1400 +#, fuzzy +msgid "Retrieving metadata..." +msgstr "Получение метаданных ... " + +#: lastbash:1507 +#, fuzzy +msgid "Setting new Last.fm station..." +msgstr "Установка новых Last.fm станции ... " + +#: lastbash:100 +#, fuzzy +msgid "Title" +msgstr " " + +#: lastbash:288 +#, fuzzy +msgid "Unsupported Bash version" +msgstr "Неподдерживаемая версия Bash " + This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <cs...@us...> - 2007-04-17 17:17:53
|
Revision: 230 http://lastbash.svn.sourceforge.net/lastbash/?rev=230&view=rev Author: cstroie Date: 2007-04-17 10:17:51 -0700 (Tue, 17 Apr 2007) Log Message: ----------- Some svn ignore properties set. Property Changed: ---------------- lastbash/ lastbash/po/ Property changes on: lastbash ___________________________________________________________________ Name: svn:ignore - lastbash.config *.1.ps *.1.html *.swp *.bak + lastbash.config *.1.ps *.1.html *.swp *.bak messages Property changes on: lastbash/po ___________________________________________________________________ Name: svn:ignore + *.swp *.bak lastbash.pot This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <cs...@us...> - 2007-04-25 15:32:01
|
Revision: 232 http://lastbash.svn.sourceforge.net/lastbash/?rev=232&view=rev Author: cstroie Date: 2007-04-25 08:31:55 -0700 (Wed, 25 Apr 2007) Log Message: ----------- Improved the l10n method. Modified Paths: -------------- lastbash/lastbash lastbash/po/de.po lastbash/po/fr.po lastbash/po/ro.po lastbash/po/ru.po Modified: lastbash/lastbash =================================================================== --- lastbash/lastbash 2007-04-24 17:53:56 UTC (rev 231) +++ lastbash/lastbash 2007-04-25 15:31:55 UTC (rev 232) @@ -417,7 +417,7 @@ # Compute some string sizes and padding local L LL - LBL_MAXLENGTH=0 + LBL_MAXLENGTH="0" for L in LBL_ARTIST LBL_ALBUM LBL_TRACK LBL_LENGTH LBL_ACTION do LL=${!L} @@ -442,7 +442,7 @@ if [ "${FIRST_INSTANCE}" ] then # One last message - tui_sbar "Quitting. Good bye." + tui_sbar $"Quitting. Good bye." # Stop the player, if running player_quit @@ -1032,8 +1032,14 @@ HISTORY_FIELD_PADD[2]=${T_EMPTYLINE:0:${HISTORY_FIELD_SIZE[2]}} HISTORY_FIELD_PADD[3]=${T_EMPTYLINE:0:${HISTORY_FIELD_SIZE[3]}} + # Compute statusbar related sizes and paddings + SBAR_UNAME_SIZE="15" + SBAR_UNAME_PADD=${T_EMPTYLINE:0:${SBAR_UNAME_SIZE}} + SBAR_MAIN_SIZE=$(( T_COLUMNS - SBAR_UNAME_SIZE - 12 )) + SBAR_MAIN_PADD=${T_EMPTYLINE:0:${SBAR_MAIN_SIZE}} + # Compute the current max line length - TCURRENT_MAX=$(( ${T_COLUMNS} - 13 )) + TCURRENT_MAX=$(( T_COLUMNS - LBL_MAXLENGTH - 6 )) } # Function: Display the Text User Interface {{{1 @@ -1124,7 +1130,7 @@ { # $1 - the text to print - local LINE L1 L2 L3 L4 S MSG + local LINE LEDS L1 L2 L3 L4 S MSG UNAME # Set the leds # - R: the player is running # - P: record to profile is on @@ -1134,10 +1140,8 @@ [ "${META_RTP}" == "1" ] && L2="P" || L2="-" [ "${META_DISCOVERY}" == "1" ] && L3="D" || L3="-" [ "${DEBUG}" == "y" ] && L4="B" || L4="-" + LEDS="[${L1}${L2}${L3}${L4}]" - # Compute the main field size - S=$(( T_COLUMNS - 27 )) - # Set the message to display if [ "$1" ] then @@ -1148,9 +1152,13 @@ else MSG=$"Not streaming, please launch the player" fi + MSG="${MSG:0:${SBAR_MAIN_SIZE}}" + # Trim the username, if too long + UNAME="${LASTFM_USER:0:15}" + # Format the status line - printf -v LINE " %-${S}s %-15s [%c%c%c%c] " "${MSG:0:$S}" "${LASTFM_USER}" "${L1}" "${L2}" "${L3}" "${L4}" + LINE=" ${MSG}${SBAR_MAIN_PADD:${#MSG}} ${UNAME}${SBAR_UNAME_PADD:${#UNAME}} ${LEDS} " # Move the cursor on lower-left corner and print tput cup ${T_LINES} 0 echo -ne "${T_COLOR_WHITE}${T_BGCOLOR_BLUE}${LINE}${T_COLOR_NORMAL}" @@ -1522,17 +1530,17 @@ if [ "${RET}" == "0" ] then # Update the status line - tui_sbar "Station changed" + tui_sbar $"Station changed" else case "${RET}" in - "1") ERRMSG="Not enough content to play this station" ;; - "2") ERRMSG="The group has not enough members for radio" ;; - "3") ERRMSG="The artist has not enough fans for radio" ;; - "4") ERRMSG="The item is not available for streaming" ;; - "5") ERRMSG="Feature available only to subscribers" ;; - "6") ERRMSG="Not enough neighbours for this radio" ;; - "7") ERRMSG="Streaming system is offline for maintenance" ;; - *) ERRMSG="Changing station failed for unknown error" ;; + "1") ERRMSG=$"Not enough content to play this station" ;; + "2") ERRMSG=$"The group has not enough members for radio" ;; + "3") ERRMSG=$"The artist has not enough fans for radio" ;; + "4") ERRMSG=$"The item is not available for streaming" ;; + "5") ERRMSG=$"Feature available only to subscribers" ;; + "6") ERRMSG=$"Not enough neighbours for this radio" ;; + "7") ERRMSG=$"Streaming system is offline for maintenance" ;; + *) ERRMSG=$"Changing station failed for unknown error" ;; esac # Display the detailed error messages @@ -1553,21 +1561,22 @@ { # $1 - command - local RET + local RET M # Set the status line - tui_sbar "Sending command: $1" + printf -v M $"Sending command: %s" "$1" + tui_sbar "${M}" # Try sending the command if lastfm_command "${LASTFM_SESSION}" "$1" then RET="0" # Update the status line - tui_sbar "Command sent successfully" + tui_sbar $"Command sent successfully" else RET="1" # Update the status line - tui_sbar "Error sending command" + tui_sbar $"Error sending command" fi # Return the status code @@ -1668,17 +1677,17 @@ if [ "${META_RTP}" == "1" ] then - tui_sbar "Disabling RTP..." + tui_sbar $"Disabling RTP..." lastfm_command "${LASTFM_SESSION}" "nortp" || RET="1" else - tui_sbar "Enabling RTP..." + tui_sbar $"Enabling RTP..." lastfm_command "${LASTFM_SESSION}" "rtp" || RET="2" fi # Say something if action failed if [ "${RET}" != "0" ] then - tui_sbar "Action failed" + tui_sbar $"Action failed" fi # Sleep one moment and refresh the metadata @@ -1697,17 +1706,17 @@ if [ "${META_DISCOVERY}" == "1" ] then - tui_sbar "Disable discovery mode..." + tui_sbar $"Disable discovery mode..." lastfm_station "${LASTFM_SESSION}" "lastfm://settings/discovery/off" || RET="1" else - tui_sbar "Enable discovery mode..." + tui_sbar $"Enable discovery mode..." lastfm_station "${LASTFM_SESSION}" "lastfm://settings/discovery/on" || RET="2" fi # Say something if action failed if [ "${RET}" != "0" ] then - tui_sbar "Action failed" + tui_sbar $"Action failed" fi # Sleep one moment and refresh the metadata @@ -1724,10 +1733,10 @@ { if [ "${HISTORY_SCROLL_DOWN}" == "y" ] then - tui_sbar "History scroll upward" + tui_sbar $"History scroll upward" HISTORY_SCROLL_DOWN="n" else - tui_sbar "History scroll downward" + tui_sbar $"History scroll downward" HISTORY_SCROLL_DOWN="y" fi @@ -1745,11 +1754,11 @@ { if [ "${DEBUG}" == "y" ] then - tui_sbar "Debug mode disabled" + tui_sbar $"Debug mode disabled" debug_footer DEBUG="n" else - tui_sbar "Debug mode enabled" + tui_sbar $"Debug mode enabled" debug_header DEBUG="y" fi @@ -2049,18 +2058,20 @@ #----------------------------------------------------------------------------- function player_start() { + local M + # Return if no player is to be used [ "${USE_PLAYER}" != "y" ] && return if ! type -t mkfifo >/dev/null 2>&1 then - tui_sbar "No way to control the player, mkfifo is absent" "2" + tui_sbar $"No way to control the player, mkfifo is absent" "2" debug "${FUNCNAME}: mkfifo is absent" return 1 fi # Set the status line - tui_sbar "Starting the backend player..." + tui_sbar $"Starting the backend player..." # Create the named pipe if [ -e "${PLAYER_PIPE}" ] @@ -2073,7 +2084,7 @@ debug "${FUNCNAME}: Pipe created" else debug "${FUNCNAME}: Pipe not created" - tui_sbar "Unable to create the player controlling pipe" "1" + tui_sbar $"Unable to create the player controlling pipe" "1" return 2 fi @@ -2088,7 +2099,7 @@ PLAYER_PID=$! else debug "${FUNCNAME}: No supported player found" - tui_sbar "No supported player found" + tui_sbar $"No supported player found" fi # Wait a second @@ -2098,13 +2109,15 @@ if player_running then debug "${FUNCNAME}: Player ${PLAYER} started" - tui_sbar "Player started (${PLAYER})" + printf -v M "Player started (%s)" "${PLAYER}" + tui_sbar "${M}" RET="0" # Load the stream, if configured to [ "${AUTO_PLAY}" == "y" ] && player_load else debug "${FUNCNAME}: Could not start player ${PLAYER}" - tui_sbar "Player ${PLAYER} could not be started" + printf -v M "Player %s could not be started" "${PLAYER}" + tui_sbar "${M}" RET="3" fi @@ -2122,7 +2135,7 @@ local RET # Set the status line - tui_sbar "Loading the stream..." + tui_sbar $"Loading the stream..." # Load the stream and start playing if [ "${PLAYER}" == "mplayer" ] @@ -2135,7 +2148,7 @@ RET=$? else debug "${FUNCNAME}: No supported player running" - tui_sbar "No supported player is running" + tui_sbar $"No supported player is running" RET="1" fi @@ -2145,10 +2158,10 @@ # Update the status line if [ "${RET}" == "0" ] then - tui_sbar "Stream loaded and playing" "5" + tui_sbar $"Stream loaded and playing" "5" tui_metadata else - tui_sbar "Stream not loaded" + tui_sbar $"Stream not loaded" fi # Return the status @@ -2164,7 +2177,7 @@ local RET # Set the status line - tui_sbar "Pause/Unpause playing the stream..." + tui_sbar $"Pause/Unpause playing the stream..." # Stop playing if [ "${PLAYER}" == "mplayer" ] @@ -2178,7 +2191,7 @@ else RET="1" debug "${FUNCNAME}: No supported player running" - tui_sbar "No supported player is running" + tui_sbar $"No supported player is running" fi # Restore the status bar @@ -2199,7 +2212,7 @@ local RET # Set the status line - tui_sbar "Muting/Unmuting..." + tui_sbar $"Muting/Unmuting..." # Stop playing if [ "${PLAYER}" == "mplayer" ] @@ -2213,7 +2226,7 @@ else RET="1" debug "${FUNCNAME}: No supported player running" - tui_sbar "No supported player is running" + tui_sbar $"No supported player is running" fi # Restore the status bar @@ -2233,21 +2246,21 @@ local RET # Set the status line - tui_sbar "Stop playing the stream..." + tui_sbar $"Stop playing the stream..." # Stop playing if [ "${PLAYER}" == "mplayer" ] then RET="1" - tui_sbar "Command not supported" + tui_sbar $"Command not supported" elif [ "${PLAYER}" == "mpg123" ] then RET="1" - tui_sbar "Command not supported" + tui_sbar $"Command not supported" else RET="1" debug "${FUNCNAME}: No supported player running" - tui_sbar "No supported player is running" + tui_sbar $"No supported player is running" fi # Restore the status bar @@ -2265,7 +2278,7 @@ player_running || return # Set the status line - tui_sbar "Closing the player..." + tui_sbar $"Closing the player..." if [ "${PLAYER}" == "mplayer" ] then @@ -2276,7 +2289,7 @@ kill "${PLAYER_PID}" RET=$? else - tui_sbar "No supported player is running" + tui_sbar $"No supported player is running" debug "${FUNCNAME}: No supported player running" RET="1" fi @@ -2287,11 +2300,11 @@ # Check the result if [ "${RET}" == "0" ] then - tui_sbar "Player closed" + tui_sbar $"Player closed" # Remove the FIFO rm -f "${PLAYER_PIPE}" else - tui_sbar "Could not close the player" + tui_sbar $"Could not close the player" fi # Return the status @@ -2372,7 +2385,7 @@ # FIXME Terminal left in wrong status "QUIT") quit 0 ;; # Any other command - *) tui_sbar "Command not understood: $1" "1" ;; + *) tui_sbar $"Command not understood: $1" "1" ;; esac } @@ -2398,13 +2411,13 @@ rm -f "${COMMAND_FILE}" else # There is no command file - tui_sbar "No commands to execute" + tui_sbar $"No commands to execute" fi # Remove the lock rm -f "${COMMAND_FILE_LOCK}" else - tui_sbar "Lockfile present, remote call ignored" + tui_sbar $"Lockfile present, remote call ignored" fi # Restore the status bar @@ -2451,7 +2464,7 @@ #----------------------------------------------------------------------------- function sigtstp() { - tui_sbar "Cannot suspend" "1" + tui_sbar $"Cannot suspend" "1" } # Function: The read key loop {{{1 Modified: lastbash/po/de.po =================================================================== --- lastbash/po/de.po 2007-04-24 17:53:56 UTC (rev 231) +++ lastbash/po/de.po 2007-04-25 15:31:55 UTC (rev 232) @@ -6,88 +6,262 @@ msgid "" msgstr "" "Project-Id-Version: lastbash-0.3.3\n" -"POT-Creation-Date: 2007-04-17 20:02+0300\n" +"POT-Creation-Date: 2007-04-25 18:15+0300\n" +"PO-Revision-Date: 2007-04-17 20:10+0300\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"PO-Revision-Date: 2007-04-17 20:10+0300\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: lastbash:102 -msgid "Action" -msgstr "Tätigkeit " +#: lastbash:40 +msgid "Console player for Last.fm" +msgstr "Konsole Spieler für Last.fm " +#: lastbash:98 +msgid "Artist" +msgstr "Künstler " + #: lastbash:99 msgid "Album" msgstr "Album " -#: lastbash:98 -msgid "Artist" -msgstr "Künstler " +#: lastbash:100 +msgid "Title" +msgstr "Titel " -#: lastbash:287 -msgid "Bash version 3 is needed." -msgstr "Schlagversion 3 ist erforderlich. " +#: lastbash:101 +msgid "Length" +msgstr "Länge " -#: lastbash:1478 -msgid "Connected" -msgstr "Angeschlossen " +#: lastbash:102 +msgid "Action" +msgstr "Tätigkeit " -#: lastbash:1462 -msgid "Connecting to Last.fm..." -msgstr "Anschließen an Last.fm… " +#: lastbash:127 +msgid "Debug session started on" +msgstr "Den Lernabschnitt ausprüfen, der an begonnen wird " -#: lastbash:40 -msgid "Console player for Last.fm" -msgstr "Konsole Spieler für Last.fm " - #: lastbash:138 msgid "Debug session ended on" msgstr "Den Lernabschnitt ausprüfen, der an beendet wird " -#: lastbash:127 -msgid "Debug session started on" -msgstr "Den Lernabschnitt ausprüfen, der an begonnen wird " +#: lastbash:287 +msgid "Bash version 3 is needed." +msgstr "Schlagversion 3 ist erforderlich. " -#: lastbash:1491 -msgid "Last.fm handshake failed" -msgstr "Last.fm Händedruck fällt aus " +#: lastbash:288 +msgid "Unsupported Bash version" +msgstr "Ungestützte Schlagversion " -#: lastbash:1485 -msgid "Last.fm session failed, check credentials" -msgstr "Last.fm Lernabschnitt fiel, überprüfung Bescheinigungen aus " +#: lastbash:445 +msgid "Quitting. Good bye." +msgstr "" -#: lastbash:101 -msgid "Length" -msgstr "Länge " +#: lastbash:1153 +msgid "Not streaming, please launch the player" +msgstr "Nicht strömend, den Spieler bitte ausstoßen " -#: lastbash:1444 +#: lastbash:1203 +msgid "Error while creating the HTML file." +msgstr "" + +#: lastbash:1205 +msgid "Not streaming" +msgstr "" + +#: lastbash:1416 +msgid "Retrieving metadata..." +msgstr "Metadaten zurückholen… " + +#: lastbash:1460 msgid "Metadata retrieving failed" msgstr "Metadatenzurückholen verlassen " -#: lastbash:1135 -msgid "Not streaming, please launch the player" -msgstr "Nicht strömend, den Spieler bitte ausstoßen " +#: lastbash:1478 +msgid "Connecting to Last.fm..." +msgstr "Anschließen an Last.fm… " -#: lastbash:1488 +#: lastbash:1494 +msgid "Connected" +msgstr "Angeschlossen " + +#: lastbash:1501 +msgid "Last.fm session failed, check credentials" +msgstr "Last.fm Lernabschnitt fiel, überprüfung Bescheinigungen aus " + +#: lastbash:1504 msgid "Player banned, contact the author" msgstr "Der verbotene Spieler, treten mit dem Autor in Verbindung " -#: lastbash:1400 -msgid "Retrieving metadata..." -msgstr "Metadaten zurückholen… " +#: lastbash:1507 +msgid "Last.fm handshake failed" +msgstr "Last.fm Händedruck fällt aus " -#: lastbash:1507 +#: lastbash:1523 msgid "Setting new Last.fm station..." msgstr "Einstellung neue Last.fm Station… " -#: lastbash:100 -msgid "Title" -msgstr "Titel " +#: lastbash:1533 +msgid "Station changed" +msgstr "" -#: lastbash:288 -msgid "Unsupported Bash version" +#: lastbash:1536 +msgid "Not enough content to play this station" +msgstr "" + +#: lastbash:1537 +msgid "The group has not enough members for radio" +msgstr "" + +#: lastbash:1538 +msgid "The artist has not enough fans for radio" +msgstr "" + +#: lastbash:1539 +msgid "The item is not available for streaming" +msgstr "" + +#: lastbash:1540 +msgid "Feature available only to subscribers" +msgstr "" + +#: lastbash:1541 +msgid "Not enough neighbours for this radio" +msgstr "" + +#: lastbash:1542 +msgid "Streaming system is offline for maintenance" +msgstr "" + +#: lastbash:1543 +msgid "Changing station failed for unknown error" +msgstr "" + +#: lastbash:1567 +msgid "Sending command: %s" +msgstr "" + +#: lastbash:1575 +msgid "Command sent successfully" +msgstr "" + +#: lastbash:1579 +msgid "Error sending command" +msgstr "" + +#: lastbash:1680 +msgid "Disabling RTP..." +msgstr "" + +#: lastbash:1683 +msgid "Enabling RTP..." +msgstr "" + +#: lastbash:1690 lastbash:1719 +#, fuzzy +msgid "Action failed" +msgstr "Tätigkeit " + +#: lastbash:1709 +msgid "Disable discovery mode..." +msgstr "" + +#: lastbash:1712 +msgid "Enable discovery mode..." +msgstr "" + +#: lastbash:1736 +msgid "History scroll upward" +msgstr "" + +#: lastbash:1739 +msgid "History scroll downward" +msgstr "" + +#: lastbash:1757 +msgid "Debug mode disabled" +msgstr "" + +#: lastbash:1761 +#, fuzzy +msgid "Debug mode enabled" +msgstr "Den Lernabschnitt ausprüfen, der an beendet wird " + +#: lastbash:2068 +msgid "No way to control the player, mkfifo is absent" +msgstr "" + +#: lastbash:2074 +msgid "Starting the backend player..." +msgstr "" + +#: lastbash:2087 +msgid "Unable to create the player controlling pipe" +msgstr "" + +#: lastbash:2102 +#, fuzzy +msgid "No supported player found" msgstr "Ungestützte Schlagversion " +#: lastbash:2138 +msgid "Loading the stream..." +msgstr "" + +#: lastbash:2151 lastbash:2194 lastbash:2229 lastbash:2263 lastbash:2292 +msgid "No supported player is running" +msgstr "" + +#: lastbash:2161 +msgid "Stream loaded and playing" +msgstr "" + +#: lastbash:2164 +msgid "Stream not loaded" +msgstr "" + +#: lastbash:2180 +msgid "Pause/Unpause playing the stream..." +msgstr "" + +#: lastbash:2215 +msgid "Muting/Unmuting..." +msgstr "" + +#: lastbash:2249 +msgid "Stop playing the stream..." +msgstr "" + +#: lastbash:2255 lastbash:2259 +msgid "Command not supported" +msgstr "" + +#: lastbash:2281 +msgid "Closing the player..." +msgstr "" + +#: lastbash:2303 +msgid "Player closed" +msgstr "" + +#: lastbash:2307 +msgid "Could not close the player" +msgstr "" + +#: lastbash:2388 +msgid "Command not understood: $1" +msgstr "" + +#: lastbash:2414 +msgid "No commands to execute" +msgstr "" + +#: lastbash:2420 +msgid "Lockfile present, remote call ignored" +msgstr "" + +#: lastbash:2467 +msgid "Cannot suspend" +msgstr "" Modified: lastbash/po/fr.po =================================================================== --- lastbash/po/fr.po 2007-04-24 17:53:56 UTC (rev 231) +++ lastbash/po/fr.po 2007-04-25 15:31:55 UTC (rev 232) @@ -6,88 +6,262 @@ msgid "" msgstr "" "Project-Id-Version: lastbash-0.3.3\n" -"POT-Creation-Date: 2007-04-17 20:02+0300\n" +"POT-Creation-Date: 2007-04-25 18:15+0300\n" +"PO-Revision-Date: 2007-04-17 20:11+0300\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"PO-Revision-Date: 2007-04-17 20:11+0300\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" -#: lastbash:102 -msgid "Action" -msgstr "Action " +#: lastbash:40 +msgid "Console player for Last.fm" +msgstr "Joueur de console pour Last.fm " +#: lastbash:98 +msgid "Artist" +msgstr "Artiste " + #: lastbash:99 msgid "Album" msgstr "Album " -#: lastbash:98 -msgid "Artist" -msgstr "Artiste " +#: lastbash:100 +msgid "Title" +msgstr "Titre" -#: lastbash:287 -msgid "Bash version 3 is needed." -msgstr "La version 3 de Bash est nécessaire." +#: lastbash:101 +msgid "Length" +msgstr "Longueur " -#: lastbash:1478 -msgid "Connected" -msgstr "Relié " +#: lastbash:102 +msgid "Action" +msgstr "Action " -#: lastbash:1462 -msgid "Connecting to Last.fm..." -msgstr "Se relier à Last.fm… " +#: lastbash:127 +msgid "Debug session started on" +msgstr "Corriger la session commencée dessus " -#: lastbash:40 -msgid "Console player for Last.fm" -msgstr "Joueur de console pour Last.fm " - #: lastbash:138 msgid "Debug session ended on" msgstr "Corriger la session finie dessus " -#: lastbash:127 -msgid "Debug session started on" -msgstr "Corriger la session commencée dessus " +#: lastbash:287 +msgid "Bash version 3 is needed." +msgstr "La version 3 de Bash est nécessaire." -#: lastbash:1491 -msgid "Last.fm handshake failed" -msgstr "La poignée de main de Last.fm échoue " +#: lastbash:288 +msgid "Unsupported Bash version" +msgstr "Version non soutenue de coup " -#: lastbash:1485 -msgid "Last.fm session failed, check credentials" -msgstr "La session de Last.fm a échoué, des qualifications de contrôle " +#: lastbash:445 +msgid "Quitting. Good bye." +msgstr "" -#: lastbash:101 -msgid "Length" -msgstr "Longueur " +#: lastbash:1153 +msgid "Not streaming, please launch the player" +msgstr "En ne coulant pas, lancer svp le joueur " -#: lastbash:1444 +#: lastbash:1203 +msgid "Error while creating the HTML file." +msgstr "" + +#: lastbash:1205 +msgid "Not streaming" +msgstr "" + +#: lastbash:1416 +msgid "Retrieving metadata..." +msgstr "Recherchant des méta-données… " + +#: lastbash:1460 msgid "Metadata retrieving failed" msgstr "Recherche de méta-données échouée " -#: lastbash:1135 -msgid "Not streaming, please launch the player" -msgstr "En ne coulant pas, lancer svp le joueur " +#: lastbash:1478 +msgid "Connecting to Last.fm..." +msgstr "Se relier à Last.fm… " -#: lastbash:1488 +#: lastbash:1494 +msgid "Connected" +msgstr "Relié " + +#: lastbash:1501 +msgid "Last.fm session failed, check credentials" +msgstr "La session de Last.fm a échoué, des qualifications de contrôle " + +#: lastbash:1504 msgid "Player banned, contact the author" msgstr "Le joueur interdit, contactent l'auteur " -#: lastbash:1400 -msgid "Retrieving metadata..." -msgstr "Recherchant des méta-données… " +#: lastbash:1507 +msgid "Last.fm handshake failed" +msgstr "La poignée de main de Last.fm échoue " -#: lastbash:1507 +#: lastbash:1523 msgid "Setting new Last.fm station..." msgstr "Plaçant la nouvelle station de Last.fm… " -#: lastbash:100 -msgid "Title" -msgstr "Titre" +#: lastbash:1533 +msgid "Station changed" +msgstr "" -#: lastbash:288 -msgid "Unsupported Bash version" +#: lastbash:1536 +msgid "Not enough content to play this station" +msgstr "" + +#: lastbash:1537 +msgid "The group has not enough members for radio" +msgstr "" + +#: lastbash:1538 +msgid "The artist has not enough fans for radio" +msgstr "" + +#: lastbash:1539 +msgid "The item is not available for streaming" +msgstr "" + +#: lastbash:1540 +msgid "Feature available only to subscribers" +msgstr "" + +#: lastbash:1541 +msgid "Not enough neighbours for this radio" +msgstr "" + +#: lastbash:1542 +msgid "Streaming system is offline for maintenance" +msgstr "" + +#: lastbash:1543 +msgid "Changing station failed for unknown error" +msgstr "" + +#: lastbash:1567 +msgid "Sending command: %s" +msgstr "" + +#: lastbash:1575 +msgid "Command sent successfully" +msgstr "" + +#: lastbash:1579 +msgid "Error sending command" +msgstr "" + +#: lastbash:1680 +msgid "Disabling RTP..." +msgstr "" + +#: lastbash:1683 +msgid "Enabling RTP..." +msgstr "" + +#: lastbash:1690 lastbash:1719 +#, fuzzy +msgid "Action failed" +msgstr "Action " + +#: lastbash:1709 +msgid "Disable discovery mode..." +msgstr "" + +#: lastbash:1712 +msgid "Enable discovery mode..." +msgstr "" + +#: lastbash:1736 +msgid "History scroll upward" +msgstr "" + +#: lastbash:1739 +msgid "History scroll downward" +msgstr "" + +#: lastbash:1757 +msgid "Debug mode disabled" +msgstr "" + +#: lastbash:1761 +#, fuzzy +msgid "Debug mode enabled" +msgstr "Corriger la session finie dessus " + +#: lastbash:2068 +msgid "No way to control the player, mkfifo is absent" +msgstr "" + +#: lastbash:2074 +msgid "Starting the backend player..." +msgstr "" + +#: lastbash:2087 +msgid "Unable to create the player controlling pipe" +msgstr "" + +#: lastbash:2102 +#, fuzzy +msgid "No supported player found" msgstr "Version non soutenue de coup " +#: lastbash:2138 +msgid "Loading the stream..." +msgstr "" + +#: lastbash:2151 lastbash:2194 lastbash:2229 lastbash:2263 lastbash:2292 +msgid "No supported player is running" +msgstr "" + +#: lastbash:2161 +msgid "Stream loaded and playing" +msgstr "" + +#: lastbash:2164 +msgid "Stream not loaded" +msgstr "" + +#: lastbash:2180 +msgid "Pause/Unpause playing the stream..." +msgstr "" + +#: lastbash:2215 +msgid "Muting/Unmuting..." +msgstr "" + +#: lastbash:2249 +msgid "Stop playing the stream..." +msgstr "" + +#: lastbash:2255 lastbash:2259 +msgid "Command not supported" +msgstr "" + +#: lastbash:2281 +msgid "Closing the player..." +msgstr "" + +#: lastbash:2303 +msgid "Player closed" +msgstr "" + +#: lastbash:2307 +msgid "Could not close the player" +msgstr "" + +#: lastbash:2388 +msgid "Command not understood: $1" +msgstr "" + +#: lastbash:2414 +msgid "No commands to execute" +msgstr "" + +#: lastbash:2420 +msgid "Lockfile present, remote call ignored" +msgstr "" + +#: lastbash:2467 +msgid "Cannot suspend" +msgstr "" Modified: lastbash/po/ro.po =================================================================== --- lastbash/po/ro.po 2007-04-24 17:53:56 UTC (rev 231) +++ lastbash/po/ro.po 2007-04-25 15:31:55 UTC (rev 232) @@ -6,8 +6,8 @@ msgid "" msgstr "" "Project-Id-Version: subproc\n" -"POT-Creation-Date: 2007-04-17 19:57+0300\n" -"PO-Revision-Date: 2007-04-17 19:59+0300\n" +"POT-Creation-Date: 2007-04-25 18:15+0300\n" +"PO-Revision-Date: 2007-04-25 18:30+0300\n" "Last-Translator: Costin Stroie <cs...@us...>\n" "Language-Team: ro_RO\n" "MIME-Version: 1.0\n" @@ -54,38 +54,210 @@ msgid "Unsupported Bash version" msgstr "Versiune Bash nesuportată" -#: lastbash:1135 +#: lastbash:445 +msgid "Quitting. Good bye." +msgstr "Ieşire. La revedere." + +#: lastbash:1153 msgid "Not streaming, please launch the player" msgstr "Lansaţi playerul" -#: lastbash:1400 +#: lastbash:1203 +msgid "Error while creating the HTML file." +msgstr "Eroare la crearea fişierului HTML." + +#: lastbash:1205 +msgid "Not streaming" +msgstr "Nu se recepţionează nimic" + +#: lastbash:1416 msgid "Retrieving metadata..." msgstr "Descărcare metadata..." -#: lastbash:1444 +#: lastbash:1460 msgid "Metadata retrieving failed" msgstr "Decărcarea metadata a eşuat" -#: lastbash:1462 +#: lastbash:1478 msgid "Connecting to Last.fm..." msgstr "În conectare la Last.fm..." -#: lastbash:1478 +#: lastbash:1494 msgid "Connected" msgstr "Conectat" -#: lastbash:1485 +#: lastbash:1501 msgid "Last.fm session failed, check credentials" msgstr "Sesiunea Last.fm a eşuat, verificaţi datele de autentificare" -#: lastbash:1488 +#: lastbash:1504 msgid "Player banned, contact the author" msgstr "Playerul este interzis, contactaţi autorul" -#: lastbash:1491 +#: lastbash:1507 msgid "Last.fm handshake failed" msgstr "Negocierea Last.fm a eşuat" -#: lastbash:1507 +#: lastbash:1523 msgid "Setting new Last.fm station..." msgstr "Stabilim o nouă staţie Last.fm..." + +#: lastbash:1533 +msgid "Station changed" +msgstr "Staţia a fost schimbată" + +#: lastbash:1536 +msgid "Not enough content to play this station" +msgstr "Nu există conţinut suficient pentru a putea asculta această staţie" + +#: lastbash:1537 +msgid "The group has not enough members for radio" +msgstr "Grupul nu are suficienţi membri pentru ascultare" + +#: lastbash:1538 +msgid "The artist has not enough fans for radio" +msgstr "Artistul nu are destui fani pentru ascultare" + +#: lastbash:1539 +msgid "The item is not available for streaming" +msgstr "Respectivul element nu este disponibil pentru recepţie" + +#: lastbash:1540 +msgid "Feature available only to subscribers" +msgstr "Disponibil doar pentru cei înscrişi" + +#: lastbash:1541 +msgid "Not enough neighbours for this radio" +msgstr "Nu există destui vecini pentru acest radio" + +#: lastbash:1542 +msgid "Streaming system is offline for maintenance" +msgstr "Sistemul de emisie este oprit pentru întreţinere" + +#: lastbash:1543 +msgid "Changing station failed for unknown error" +msgstr "Schimbarea staţiei a eşuat dintr-un motiv necunoscut" + +#: lastbash:1567 +msgid "Sending command: %s" +msgstr "Se trmite comanda: %s" + +#: lastbash:1575 +msgid "Command sent successfully" +msgstr "Comanda a fost trimisă cu succes" + +#: lastbash:1579 +msgid "Error sending command" +msgstr "Eroare la trimiterea comenzii" + +#: lastbash:1680 +msgid "Disabling RTP..." +msgstr "Dezactivare RTP..." + +#: lastbash:1683 +msgid "Enabling RTP..." +msgstr "Activare RTP..." + +#: lastbash:1690 lastbash:1719 +msgid "Action failed" +msgstr "Acţiunea a eşuat" + +#: lastbash:1709 +msgid "Disable discovery mode..." +msgstr "Dezactivare mod \"discovery\"" + +#: lastbash:1712 +msgid "Enable discovery mode..." +msgstr "Activare mod \"discovery\"" + +#: lastbash:1736 +msgid "History scroll upward" +msgstr "Istoric sortat ascendent" + +#: lastbash:1739 +msgid "History scroll downward" +msgstr "Istoric sortat descendent" + +#: lastbash:1757 +msgid "Debug mode disabled" +msgstr "Mod de depanare dezactivat" + +#: lastbash:1761 +msgid "Debug mode enabled" +msgstr "Modul de depanare activat" + +#: lastbash:2068 +msgid "No way to control the player, mkfifo is absent" +msgstr "Nici o posibilitate de a controla playerul, mkfifo este absent" + +#: lastbash:2074 +msgid "Starting the backend player..." +msgstr "Lansare player în fundal..." + +#: lastbash:2087 +msgid "Unable to create the player controlling pipe" +msgstr "Eroare la crearea controlerului pentru player" + +#: lastbash:2102 +msgid "No supported player found" +msgstr "Nici un player suportat nu a fost găsit" + +#: lastbash:2138 +msgid "Loading the stream..." +msgstr "Încărcare flux audio..." + +#: lastbash:2151 lastbash:2194 lastbash:2229 lastbash:2263 lastbash:2292 +msgid "No supported player is running" +msgstr "Nici un player suportat nu este în execuţie" + +#: lastbash:2161 +msgid "Stream loaded and playing" +msgstr "Fluxul audio este încărcat" + +#: lastbash:2164 +msgid "Stream not loaded" +msgstr "Fluxul audio nu este încărcat" + +#: lastbash:2180 +msgid "Pause/Unpause playing the stream..." +msgstr "Pauză/Reluare a redării..." + +#: lastbash:2215 +msgid "Muting/Unmuting..." +msgstr "Dezactivare/Activare ieşire audio (mut)..." + +#: lastbash:2249 +msgid "Stop playing the stream..." +msgstr "Oprire flux audio..." + +#: lastbash:2255 lastbash:2259 +msgid "Command not supported" +msgstr "Comandă nesuportată" + +#: lastbash:2281 +msgid "Closing the player..." +msgstr "Închidere player..." + +#: lastbash:2303 +msgid "Player closed" +msgstr "Player închis" + +#: lastbash:2307 +msgid "Could not close the player" +msgstr "Eroare la închiderea playerului" + +#: lastbash:2388 +msgid "Command not understood: $1" +msgstr "Comandă neînţeleasă: $1" + +#: lastbash:2414 +msgid "No commands to execute" +msgstr "Nu există comenzi în coada de execuţie" + +#: lastbash:2420 +msgid "Lockfile present, remote call ignored" +msgstr "Fişier de blocare prezent, apelul de execuţie este ignorat" + +#: lastbash:2467 +msgid "Cannot suspend" +msgstr "Nu se poate suspenda" Modified: lastbash/po/ru.po =================================================================== --- lastbash/po/ru.po 2007-04-24 17:53:56 UTC (rev 231) +++ lastbash/po/ru.po 2007-04-25 15:31:55 UTC (rev 232) @@ -6,107 +6,281 @@ msgid "" msgstr "" "Project-Id-Version: lastbash-0.3.3\n" -"POT-Creation-Date: 2007-04-17 20:02+0300\n" +"POT-Creation-Date: 2007-04-25 18:15+0300\n" +"PO-Revision-Date: 2007-04-17 20:12+0300\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"PO-Revision-Date: 2007-04-17 20:12+0300\n" "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" -#: lastbash:102 +#: lastbash:40 #, fuzzy -msgid "Action" -msgstr "Действий " +msgid "Console player for Last.fm" +msgstr "Консоль игрока на Last.fm " +#: lastbash:98 +#, fuzzy +msgid "Artist" +msgstr " " + #: lastbash:99 #, fuzzy msgid "Album" msgstr " " -#: lastbash:98 +#: lastbash:100 #, fuzzy -msgid "Artist" +msgid "Title" msgstr " " -#: lastbash:287 +#: lastbash:101 #, fuzzy -msgid "Bash version 3 is needed." -msgstr "Bash, версия 3 не требуется. " +msgid "Length" +msgstr " " -#: lastbash:1478 +#: lastbash:102 #, fuzzy -msgid "Connected" -msgstr "Подключен " +msgid "Action" +msgstr "Действий " -#: lastbash:1462 +#: lastbash:127 #, fuzzy -msgid "Connecting to Last.fm..." -msgstr "Подключение к Last.fm. .. " +msgid "Debug session started on" +msgstr "Отладка сессия началась " -#: lastbash:40 -#, fuzzy -msgid "Console player for Last.fm" -msgstr "Консоль игрока на Last.fm " - #: lastbash:138 #, fuzzy msgid "Debug session ended on" msgstr "Отладка сессия закончилась " -#: lastbash:127 +#: lastbash:287 #, fuzzy -msgid "Debug session started on" -msgstr "Отладка сессия началась " +msgid "Bash version 3 is needed." +msgstr "Bash, версия 3 не требуется. " -#: lastbash:1491 +#: lastbash:288 #, fuzzy -msgid "Last.fm handshake failed" -msgstr "Last.fm не рукопожатие " +msgid "Unsupported Bash version" +msgstr "Неподдерживаемая версия Bash " -#: lastbash:1485 +#: lastbash:445 +msgid "Quitting. Good bye." +msgstr "" + +#: lastbash:1153 #, fuzzy -msgid "Last.fm session failed, check credentials" -msgstr "Last.fm не сессии, проверьте полномочия " +msgid "Not streaming, please launch the player" +msgstr "Не в потоковом режиме, можно начать игрок " -#: lastbash:101 +#: lastbash:1203 +msgid "Error while creating the HTML file." +msgstr "" + +#: lastbash:1205 +msgid "Not streaming" +msgstr "" + +#: lastbash:1416 #, fuzzy -msgid "Length" -msgstr " " +msgid "Retrieving metadata..." +msgstr "Получение метаданных ... " -#: lastbash:1444 +#: lastbash:1460 #, fuzzy msgid "Metadata retrieving failed" msgstr "Метаданные поиска не " -#: lastbash:1135 +#: lastbash:1478 #, fuzzy -msgid "Not streaming, please launch the player" -msgstr "Не в потоковом режиме, можно начать игрок " +msgid "Connecting to Last.fm..." +msgstr "Подключение к Last.fm. .. " -#: lastbash:1488 +#: lastbash:1494 #, fuzzy +msgid "Connected" +msgstr "Подключен " + +#: lastbash:1501 +#, fuzzy +msgid "Last.fm session failed, check credentials" +msgstr "Last.fm не сессии, проверьте полномочия " + +#: lastbash:1504 +#, fuzzy msgid "Player banned, contact the author" msgstr "Игроку запрещен, связаться с автором " -#: lastbash:1400 +#: lastbash:1507 #, fuzzy -msgid "Retrieving metadata..." -msgstr "Получение метаданных ... " +msgid "Last.fm handshake failed" +msgstr "Last.fm не рукопожатие " -#: lastbash:1507 +#: lastbash:1523 #, fuzzy msgid "Setting new Last.fm station..." msgstr "Установка новых Last.fm станции ... " -#: lastbash:100 +#: lastbash:1533 +msgid "Station changed" +msgstr "" + +#: lastbash:1536 +msgid "Not enough content to play this station" +msgstr "" + +#: lastbash:1537 +msgid "The group has not enough members for radio" +msgstr "" + +#: lastbash:1538 +msgid "The artist has not enough fans for radio" +msgstr "" + +#: lastbash:1539 +msgid "The item is not available for streaming" +msgstr "" + +#: lastbash:1540 +msgid "Feature available only to subscribers" +msgstr "" + +#: lastbash:1541 +msgid "Not enough neighbours for this radio" +msgstr "" + +#: lastbash:1542 +msgid "Streaming system is offline for maintenance" +msgstr "" + +#: lastbash:1543 +msgid "Changing station failed for unknown error" +msgstr "" + +#: lastbash:1567 +msgid "Sending command: %s" +msgstr "" + +#: lastbash:1575 +msgid "Command sent successfully" +msgstr "" + +#: lastbash:1579 +msgid "Error sending command" +msgstr "" + +#: lastbash:1680 +msgid "Disabling RTP..." +msgstr "" + +#: lastbash:1683 +msgid "Enabling RTP..." +msgstr "" + +#: lastbash:1690 lastbash:1719 #, fuzzy -msgid "Title" -msgstr " " +msgid "Action failed" +msgstr "Действий " -#: lastbash:288 +#: lastbash:1709 +msgid "Disable discovery mode..." +msgstr "" + +#: lastbash:1712 +msgid "Enable discovery mode..." +msgstr "" + +#: lastbash:1736 +msgid "History scroll upward" +msgstr "" + +#: lastbash:1739 +msgid "History scroll downward" +msgstr "" + +#: lastbash:1757 +msgid "Debug mode disabled" +msgstr "" + +#: lastbash:1761 #, fuzzy -msgid "Unsupported Bash version" +msgid "Debug mode enabled" +msgstr "Отладка сессия закончилась " + +#: lastbash:2068 +msgid "No way to control the player, mkfifo is absent" +msgstr "" + +#: lastbash:2074 +msgid "Starting the backend player..." +msgstr "" + +#: lastbash:2087 +msgid "Unable to create the player controlling pipe" +msgstr "" + +#: lastbash:2102 +#, fuzzy +msgid "No supported player found" msgstr "Неподдерживаемая версия Bash " +#: lastbash:2138 +msgid "Loading the stream..." +msgstr "" + +#: lastbash:2151 lastbash:2194 lastbash:2229 lastbash:2263 lastbash:2292 +msgid "No supported player is running" +msgstr "" + +#: lastbash:2161 +msgid "Stream loaded and playing" +msgstr "" + +#: lastbash:2164 +msgid "Stream not loaded" +msgstr "" + +#: lastbash:2180 +msgid "Pause/Unpause playing the stream..." +msgstr "" + +#: lastbash:2215 +msgid "Muting/Unmuting..." +msgstr "" + +#: lastbash:2249 +msgid "Stop playing the stream..." +msgstr "" + +#: lastbash:2255 lastbash:2259 +msgid "Command not supported" +msgstr "" + +#: lastbash:2281 +msgid "Closing the player..." +msgstr "" + +#: lastbash:2303 +msgid "Player closed" +msgstr "" + +#: lastbash:2307 +msgid "Could not close the player" +msgstr "" + +#: lastbash:2388 +msgid "Command not understood: $1" +msgstr "" + +#: lastbash:2414 +msgid "No commands to execute" +msgstr "" + +#: lastbash:2420 +msgid "Lockfile present, remote call ignored" +msgstr "" + +#: lastbash:2467 +msgid "Cannot suspend" +msgstr "" This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <cs...@us...> - 2007-04-25 15:36:08
|
Revision: 233 http://lastbash.svn.sourceforge.net/lastbash/?rev=233&view=rev Author: cstroie Date: 2007-04-25 08:36:06 -0700 (Wed, 25 Apr 2007) Log Message: ----------- More strings added to l10n. Modified Paths: -------------- lastbash/lastbash lastbash/po/de.po lastbash/po/fr.po lastbash/po/ro.po lastbash/po/ru.po Modified: lastbash/lastbash =================================================================== --- lastbash/lastbash 2007-04-25 15:31:55 UTC (rev 232) +++ lastbash/lastbash 2007-04-25 15:36:06 UTC (rev 233) @@ -1810,7 +1810,7 @@ { local RET INPUT - if tui_station_change_input INPUT "Last.fm URL" + if tui_station_change_input INPUT $"Last.fm URL" then if tui_lastfm_station "${INPUT}" then @@ -1838,7 +1838,7 @@ { local RET INPUT - if tui_station_change_input INPUT "Tags" + if tui_station_change_input INPUT $"Tags" then if tui_lastfm_station "lastfm://globaltags/${INPUT}" then @@ -1866,7 +1866,7 @@ { local RET INPUT - if tui_station_change_input INPUT "Group" + if tui_station_change_input INPUT $"Group" then if tui_lastfm_station "lastfm://group/${INPUT}" then @@ -1894,7 +1894,7 @@ { local RET INPUT - if tui_station_change_input INPUT "User's neighbours" + if tui_station_change_input INPUT $"User's neighbours" then if tui_lastfm_station "lastfm://user/${INPUT}/neighbours" then @@ -1922,7 +1922,7 @@ { local RET INPUT - if tui_station_change_input INPUT "Recommended to user" + if tui_station_change_input INPUT $"Recommended to user" then if tui_lastfm_station "lastfm://user/${INPUT}/recommended/100" then @@ -1950,7 +1950,7 @@ { local RET INPUT - if tui_station_change_input INPUT "Similar artists to" + if tui_station_change_input INPUT $"Similar artists to" then if tui_lastfm_station "lastfm://artist/${INPUT}/similarartists" then @@ -1978,7 +1978,7 @@ { local RET INPUT - if tui_station_change_input INPUT "Artist fan" + if tui_station_change_input INPUT $"Artist fan" then if tui_lastfm_station "lastfm://artist/${INPUT}/fans" then Modified: lastbash/po/de.po =================================================================== --- lastbash/po/de.po 2007-04-25 15:31:55 UTC (rev 232) +++ lastbash/po/de.po 2007-04-25 15:36:06 UTC (rev 233) @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: lastbash-0.3.3\n" -"POT-Creation-Date: 2007-04-25 18:15+0300\n" +"POT-Creation-Date: 2007-04-25 18:34+0300\n" "PO-Revision-Date: 2007-04-17 20:10+0300\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" @@ -189,6 +189,35 @@ msgid "Debug mode enabled" msgstr "Den Lernabschnitt ausprüfen, der an beendet wird " +#: lastbash:1813 +msgid "Last.fm URL" +msgstr "" + +#: lastbash:1841 +msgid "Tags" +msgstr "" + +#: lastbash:1869 +msgid "Group" +msgstr "" + +#: lastbash:1897 +msgid "User's neighbours" +msgstr "" + +#: lastbash:1925 +msgid "Recommended to user" +msgstr "" + +#: lastbash:1953 +msgid "Similar artists to" +msgstr "" + +#: lastbash:1981 +#, fuzzy +msgid "Artist fan" +msgstr "Künstler " + #: lastbash:2068 msgid "No way to control the player, mkfifo is absent" msgstr "" Modified: lastbash/po/fr.po =================================================================== --- lastbash/po/fr.po 2007-04-25 15:31:55 UTC (rev 232) +++ lastbash/po/fr.po 2007-04-25 15:36:06 UTC (rev 233) @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: lastbash-0.3.3\n" -"POT-Creation-Date: 2007-04-25 18:15+0300\n" +"POT-Creation-Date: 2007-04-25 18:34+0300\n" "PO-Revision-Date: 2007-04-17 20:11+0300\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" @@ -189,6 +189,35 @@ msgid "Debug mode enabled" msgstr "Corriger la session finie dessus " +#: lastbash:1813 +msgid "Last.fm URL" +msgstr "" + +#: lastbash:1841 +msgid "Tags" +msgstr "" + +#: lastbash:1869 +msgid "Group" +msgstr "" + +#: lastbash:1897 +msgid "User's neighbours" +msgstr "" + +#: lastbash:1925 +msgid "Recommended to user" +msgstr "" + +#: lastbash:1953 +msgid "Similar artists to" +msgstr "" + +#: lastbash:1981 +#, fuzzy +msgid "Artist fan" +msgstr "Artiste " + #: lastbash:2068 msgid "No way to control the player, mkfifo is absent" msgstr "" Modified: lastbash/po/ro.po =================================================================== --- lastbash/po/ro.po 2007-04-25 15:31:55 UTC (rev 232) +++ lastbash/po/ro.po 2007-04-25 15:36:06 UTC (rev 233) @@ -6,8 +6,8 @@ msgid "" msgstr "" "Project-Id-Version: subproc\n" -"POT-Creation-Date: 2007-04-25 18:15+0300\n" -"PO-Revision-Date: 2007-04-25 18:30+0300\n" +"POT-Creation-Date: 2007-04-25 18:34+0300\n" +"PO-Revision-Date: 2007-04-25 18:35+0300\n" "Last-Translator: Costin Stroie <cs...@us...>\n" "Language-Team: ro_RO\n" "MIME-Version: 1.0\n" @@ -186,6 +186,34 @@ msgid "Debug mode enabled" msgstr "Modul de depanare activat" +#: lastbash:1813 +msgid "Last.fm URL" +msgstr "URL Last.fm" + +#: lastbash:1841 +msgid "Tags" +msgstr "Taguri" + +#: lastbash:1869 +msgid "Group" +msgstr "Grup" + +#: lastbash:1897 +msgid "User's neighbours" +msgstr "Vecinii utilizatorului" + +#: lastbash:1925 +msgid "Recommended to user" +msgstr "Recomandate utilizatorului" + +#: lastbash:1953 +msgid "Similar artists to" +msgstr "Artişti similari cu" + +#: lastbash:1981 +msgid "Artist fan" +msgstr "Fanii artistului" + #: lastbash:2068 msgid "No way to control the player, mkfifo is absent" msgstr "Nici o posibilitate de a controla playerul, mkfifo este absent" Modified: lastbash/po/ru.po =================================================================== --- lastbash/po/ru.po 2007-04-25 15:31:55 UTC (rev 232) +++ lastbash/po/ru.po 2007-04-25 15:36:06 UTC (rev 233) @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: lastbash-0.3.3\n" -"POT-Creation-Date: 2007-04-25 18:15+0300\n" +"POT-Creation-Date: 2007-04-25 18:34+0300\n" "PO-Revision-Date: 2007-04-17 20:12+0300\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" @@ -208,6 +208,35 @@ msgid "Debug mode enabled" msgstr "Отладка сессия закончилась " +#: lastbash:1813 +msgid "Last.fm URL" +msgstr "" + +#: lastbash:1841 +msgid "Tags" +msgstr "" + +#: lastbash:1869 +msgid "Group" +msgstr "" + +#: lastbash:1897 +msgid "User's neighbours" +msgstr "" + +#: lastbash:1925 +msgid "Recommended to user" +msgstr "" + +#: lastbash:1953 +msgid "Similar artists to" +msgstr "" + +#: lastbash:1981 +#, fuzzy +msgid "Artist fan" +msgstr " " + #: lastbash:2068 msgid "No way to control the player, mkfifo is absent" msgstr "" This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <cs...@us...> - 2008-01-14 13:19:42
|
Revision: 240 http://lastbash.svn.sourceforge.net/lastbash/?rev=240&view=rev Author: cstroie Date: 2008-01-14 05:19:23 -0800 (Mon, 14 Jan 2008) Log Message: ----------- Added support for 'nc' as http client. Modified Paths: -------------- lastbash/VERSION lastbash/lastbash lastbash/lastbash.config.in Modified: lastbash/VERSION =================================================================== --- lastbash/VERSION 2007-11-26 09:15:30 UTC (rev 239) +++ lastbash/VERSION 2008-01-14 13:19:23 UTC (rev 240) @@ -1 +1 @@ -0.3.2 +0.3.3 Modified: lastbash/lastbash =================================================================== --- lastbash/lastbash 2007-11-26 09:15:30 UTC (rev 239) +++ lastbash/lastbash 2008-01-14 13:19:23 UTC (rev 240) @@ -67,7 +67,7 @@ # Internal stuff PLAYERS="mplayer" -HTTP_CLIENTS="wget curl" +HTTP_CLIENTS="wget curl nc" REQ_PROGRAMS="rm date tput stty md5sum dd chmod" HTML_TEMPLATE="${HOME_DIR}/lastbash_template.html" PLAYER_PID="" @@ -520,6 +520,7 @@ case "${HTTP_CLIENT}" in "wget") HTTP_CLIENT_FUNCTION="http_get_wget" ;; "curl") HTTP_CLIENT_FUNCTION="http_get_curl" ;; + "nc") HTTP_CLIENT_FUNCTION="http_get_nc" ;; *) HTTP_CLIENT_FUNCTION="http_get_builtin" ;; esac @@ -660,6 +661,32 @@ return "${RET}" } +# Function: HTTP GET method: nc implementation {{{1 +#----------------------------------------------------------------------------- +function http_get_nc() +{ + # $1 - output file + # $2 - host + # $3 - port + # $4 - path + + local REQUEST RET="0" + + # Construct the request + REQUEST="GET $4 HTTP/1.0\r\nHost: $2:$3\r\nUser-Agent: ${PROG_TITLE}/${PROG_VER}\r\nConnection: Close\r\n\r\n" + + # Send the request + if echo -ne "${REQUEST}" | nc -w "5" "$2" "$3" > "$1" + then + RET="0" + else + RET="1" + fi + + # Return the status code + return "${RET}" +} + # Function: HTTP GET method: builtin implementation {{{1 #----------------------------------------------------------------------------- function http_get_builtin() Modified: lastbash/lastbash.config.in =================================================================== --- lastbash/lastbash.config.in 2007-11-26 09:15:30 UTC (rev 239) +++ lastbash/lastbash.config.in 2008-01-14 13:19:23 UTC (rev 240) @@ -22,7 +22,7 @@ # Automatically start playing. Possible values: 'y' or 'n' AUTO_PLAY="y" -# HTTP client to use. Possible values: 'wget', 'curl', 'builtin', 'auto' +# HTTP client to use. Possible values: 'wget', 'curl', 'nc', 'builtin', 'auto' HTTP_CLIENT="auto" # Save the metadata (artist-track) of the current playing track to a file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |