[Player-dev] RE: [Midplayer-private-dev] CR: Update internationalizationinfrastructure for import utility
Eric Hyche ehyche at real.comLooks good. ============================================= Eric Hyche (ehyche at real.com) Technical Lead RealNetworks, Inc. > -----Original Message----- > From: midplayer-private-dev-bounces at lists.helixcommunity.org > [mailto:midplayer-private-dev-bounces at lists.helixcommunity.org > ] On Behalf Of Rusty Lynch > Sent: Wednesday, March 19, 2008 3:33 PM > To: player-dev > Cc: midplayer-private-dev at lists.helixcommunity.org > Subject: [Midplayer-private-dev] CR: Update > internationalizationinfrastructure for import utility > > Description > ---------------------------------- > In a previous changeset the media import utility was > internationalized, > but the POTFILES.in (the file used to list all source files > that contain > translatable strings) was not updated, and the additional potential > translatable strings were not added to the test translation. > > This change will complete the media import utilities > internationalization > > Files Modified > ---------------------------------- > player/mid/po/POTFILES.in > player/mid/po/test.po > > Branches > --------------------------------- > HEAD only (for now) > > Index: po/POTFILES.in > =================================================================== > RCS file: /cvsroot/player/mid/po/POTFILES.in,v > retrieving revision 1.2 > diff -u -w -r1.2 POTFILES.in > --- po/POTFILES.in 4 Mar 2008 03:57:33 -0000 1.2 > +++ po/POTFILES.in 19 Mar 2008 19:37:31 -0000 > @@ -2,3 +2,5 @@ > glade/realplayer.glade > glade/settings_dialog.glade > src/constant.py > +import/media-import > +import/media-import.glade > Index: po/test.po > =================================================================== > RCS file: /cvsroot/player/mid/po/test.po,v > retrieving revision 1.2 > diff -u -w -r1.2 test.po > --- po/test.po 4 Mar 2008 03:57:33 -0000 1.2 > +++ po/test.po 19 Mar 2008 19:37:31 -0000 > @@ -1,14 +1,26 @@ > -# SOME DESCRIPTIVE TITLE. > -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER > -# This file is distributed under the same license as the PACKAGE > package. > -# FIRST AUTHOR <EMAIL at ADDRESS>, YEAR. > +# Permission is hereby granted, free of charge, to any > person obtaining > a > +# copy of this software and associated documentation files (the > "Software"), > +# to deal in the Software without restriction, including without > limitation > +# the rights to use, copy, modify, merge, publish, distribute, > sublicense, > +# and/or sell copies of the Software, and to permit persons to whom > the > +# Software is furnished to do so, subject to the following > conditions: > +# > +# The above copyright notice and this permission notice shall be > included in > +# all copies or substantial portions of the Software. > +# > +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, > EXPRESS OR > +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF > MERCHANTABILITY, > +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT > SHALL THE > +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR > OTHER > +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, > ARISING > +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE > OR OTHER > +# DEALINGS IN THE SOFTWARE. > # > -#, fuzzy > msgid "" > -msgstr "LANG-TEST-STRING" > +msgstr "" > "Project-Id-Version: PACKAGE VERSION\n" > "Report-Msgid-Bugs-To: \n" > -"POT-Creation-Date: 2008-03-03 19:45-0800\n" > +"POT-Creation-Date: 2008-03-19 12:28-0700\n" > "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" > "Last-Translator: FULL NAME <EMAIL at ADDRESS>\n" > "Language-Team: LANGUAGE <LL at li.org>\n" > @@ -93,7 +105,7 @@ > msgid "Open Location" > msgstr "LANG-TEST-STRING" > > -#: ../glade/dialogs.glade.h:20 ../src/constant.py:178 > +#: ../glade/dialogs.glade.h:20 ../src/constant.py:185 > msgid "Properties" > msgstr "LANG-TEST-STRING" > > @@ -245,7 +257,7 @@ > msgid "Defaults" > msgstr "LANG-TEST-STRING" > > -#: ../glade/settings_dialog.glade.h:6 ../src/constant.py:198 > +#: ../glade/settings_dialog.glade.h:6 ../src/constant.py:219 > msgid "Delete" > msgstr "LANG-TEST-STRING" > > @@ -261,7 +273,7 @@ > msgid "Labels" > msgstr "LANG-TEST-STRING" > > -#: ../glade/settings_dialog.glade.h:10 ../src/constant.py:202 > +#: ../glade/settings_dialog.glade.h:10 ../src/constant.py:223 > msgid "Name" > msgstr "LANG-TEST-STRING" > > @@ -301,7 +313,7 @@ > msgid "Show each photo for " > msgstr "LANG-TEST-STRING" > > -#: ../glade/settings_dialog.glade.h:21 ../src/constant.py:203 > +#: ../glade/settings_dialog.glade.h:21 ../src/constant.py:224 > msgid "Size" > msgstr "LANG-TEST-STRING" > > @@ -344,147 +356,214 @@ > > #. > ############################################################## > ############### > #. Translatable Strings > -#: ../src/constant.py:162 > -msgid "Can not delete playing song" > +#: ../src/constant.py:169 > +msgid "A song can not be deleted while it is playing." > msgstr "LANG-TEST-STRING" > > -#: ../src/constant.py:163 > -msgid "Can not delete playing video" > +#: ../src/constant.py:170 > +msgid "A song can not be edited while it is playing." > msgstr "LANG-TEST-STRING" > > -#: ../src/constant.py:164 > +#: ../src/constant.py:171 > msgid "Can not edit playing video" > msgstr "LANG-TEST-STRING" > > -#: ../src/constant.py:165 > +#: ../src/constant.py:172 > msgid "Application is disabled while in docking mode" > msgstr "LANG-TEST-STRING" > > -#: ../src/constant.py:166 > +#: ../src/constant.py:173 > msgid "Unable to open file" > msgstr "LANG-TEST-STRING" > > -#: ../src/constant.py:167 > +#: ../src/constant.py:174 > msgid "Unable to play file" > msgstr "LANG-TEST-STRING" > > -#: ../src/constant.py:168 > +#: ../src/constant.py:175 > msgid "Delete Media" > msgstr "LANG-TEST-STRING" > > -#: ../src/constant.py:169 > +#: ../src/constant.py:176 > #, python-format > msgid "" > "Are you sure you want to delete \n" > "'%s'?" > msgstr "LANG-TEST-STRING" > > -#: ../src/constant.py:170 > +#: ../src/constant.py:177 > msgid "Please select a song to delete." > msgstr "LANG-TEST-STRING" > > -#: ../src/constant.py:171 > +#: ../src/constant.py:178 > msgid "Rename Conflict" > msgstr "LANG-TEST-STRING" > > -#: ../src/constant.py:172 > +#: ../src/constant.py:179 > #, python-format > msgid "The file '%s' already exists. Do you want to replace it?" > msgstr "LANG-TEST-STRING" > > -#: ../src/constant.py:173 > +#: ../src/constant.py:180 > msgid "Extension Changed" > msgstr "LANG-TEST-STRING" > > -#: ../src/constant.py:174 > +#: ../src/constant.py:181 > #, python-format > msgid "Are you sure you want to change the file extension > from %s to % > s?" > msgstr "LANG-TEST-STRING" > > -#: ../src/constant.py:175 > +#: ../src/constant.py:182 > msgid "Music" > msgstr "LANG-TEST-STRING" > > -#: ../src/constant.py:176 > +#: ../src/constant.py:183 > msgid "Video" > msgstr "LANG-TEST-STRING" > > -#: ../src/constant.py:177 > +#: ../src/constant.py:184 > msgid "Photos" > msgstr "LANG-TEST-STRING" > > -#: ../src/constant.py:179 > +#: ../src/constant.py:186 > msgid "Please select an item to see its propreties." > msgstr "LANG-TEST-STRING" > > -#: ../src/constant.py:180 > +#: ../src/constant.py:187 > msgid "The name can not be empty" > msgstr "LANG-TEST-STRING" > > -#: ../src/constant.py:181 > +#: ../src/constant.py:188 > msgid "Error" > msgstr "LANG-TEST-STRING" > > -#: ../src/constant.py:183 > +#: ../src/constant.py:189 > +msgid "" > +"Please input a title. \n" > +"\n" > +"A title can be any descriptive text to identify this online music." > +msgstr "LANG-TEST-STRING" > + > +#: ../src/constant.py:191 > +msgid "Please enter a valid URL" > +msgstr "LANG-TEST-STRING" > + > +#: ../src/constant.py:192 > +msgid "An error occurred when adding the online music entry." > +msgstr "LANG-TEST-STRING" > + > +#: ../src/constant.py:193 > +msgid "The stream type is not supported. Playback can not continue." > +msgstr "LANG-TEST-STRING" > + > +#: ../src/constant.py:194 > +msgid "The protocol is not supported." > +msgstr "LANG-TEST-STRING" > + > +#: ../src/constant.py:195 > +msgid "The URL is invalid." > +msgstr "LANG-TEST-STRING" > + > +#: ../src/constant.py:196 > +msgid "The file is corrupt." > +msgstr "LANG-TEST-STRING" > + > +#: ../src/constant.py:197 > +msgid "Out of memory." > +msgstr "LANG-TEST-STRING" > + > +#: ../src/constant.py:198 > +msgid "An unknown error has occurred." > +msgstr "LANG-TEST-STRING" > + > +#: ../src/constant.py:199 > +msgid "Sorting by Name" > +msgstr "LANG-TEST-STRING" > + > +#: ../src/constant.py:200 > +msgid "Sorting by Size" > +msgstr "LANG-TEST-STRING" > + > +#: ../src/constant.py:201 > +msgid "Sorting by Date" > +msgstr "LANG-TEST-STRING" > + > +#: ../src/constant.py:203 > msgid "Title" > msgstr "LANG-TEST-STRING" > > -#: ../src/constant.py:184 > +#: ../src/constant.py:204 > msgid "Length" > msgstr "LANG-TEST-STRING" > > -#: ../src/constant.py:185 > +#: ../src/constant.py:205 > msgid "Artist" > msgstr "LANG-TEST-STRING" > > -#: ../src/constant.py:186 > +#: ../src/constant.py:206 > msgid "Album" > msgstr "LANG-TEST-STRING" > > -#: ../src/constant.py:187 > +#: ../src/constant.py:207 > msgid "URL" > msgstr "LANG-TEST-STRING" > > -#: ../src/constant.py:189 > +#: ../src/constant.py:208 > +msgid "Playlist" > +msgstr "LANG-TEST-STRING" > + > +#: ../src/constant.py:210 > msgid "Online Music" > msgstr "LANG-TEST-STRING" > > -#: ../src/constant.py:190 > +#: ../src/constant.py:211 > msgid "All Songs" > msgstr "LANG-TEST-STRING" > > -#: ../src/constant.py:192 > +#: ../src/constant.py:213 > msgid "Open Location..." > msgstr "LANG-TEST-STRING" > > -#: ../src/constant.py:193 > +#: ../src/constant.py:214 > msgid "Edit" > msgstr "LANG-TEST-STRING" > > -#: ../src/constant.py:194 > +#: ../src/constant.py:215 > msgid "Sort by" > msgstr "LANG-TEST-STRING" > > -#: ../src/constant.py:195 > +#: ../src/constant.py:216 > msgid "Settings..." > msgstr "LANG-TEST-STRING" > > -#: ../src/constant.py:196 > +#: ../src/constant.py:217 > msgid "About" > msgstr "LANG-TEST-STRING" > > -#: ../src/constant.py:197 > +#: ../src/constant.py:218 > msgid "Quit" > msgstr "LANG-TEST-STRING" > > -#: ../src/constant.py:199 > +#: ../src/constant.py:220 > msgid "File Properties..." > msgstr "LANG-TEST-STRING" > > -#: ../src/constant.py:200 > +#: ../src/constant.py:221 > msgid "Rotate clockwise" > msgstr "LANG-TEST-STRING" > > -#: ../src/constant.py:201 > +#: ../src/constant.py:222 > msgid "Rotate counter-clockwise" > msgstr "LANG-TEST-STRING" > + > +#: ../import/media-import.glade.h:1 > +msgid "Copying" > +msgstr "LANG-TEST-STRING" > + > +#: ../import/media-import.glade.h:2 > +msgid "Copying ..." > +msgstr "LANG-TEST-STRING" > + > +#: ../import/media-import.glade.h:3 > +msgid "Importing Media" > +msgstr "LANG-TEST-STRING" > > > _______________________________________________ > Midplayer-private-dev mailing list > Midplayer-private-dev at lists.helixcommunity.org > http://lists.helixcommunity.org/mailman/listinfo/midplayer-private-dev >