Changeset 390

Show
Ignore:
Timestamp:
08/18/06 20:15:19 (2 years ago)
Author:
nicfit
Message:

Tips i18n and a non-stupid data structure for them, as well as a couple new ones.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/po/POTFILES.in

    r352 r390  
    66src/about_dialog.py 
    77src/album_cover_control.py 
     8src/amazon.py 
    89src/audio_control.py 
    910src/config.py 
    1011src/control.py 
    11 src/gtk_utils.py 
    1212src/main.py 
    1313src/main_window.py 
     
    2020src/mesk/common/__init__.py 
    2121src/mesk/common/uri.py 
     22src/mesk/gtk_utils.py 
    2223src/mesk/info.py 
    2324src/mesk/__init__.py 
     
    2627src/mesk/plugin/__init__.py 
    2728src/mesk/plugin/listeners.py 
     29src/mesk/plugin/plugin.py 
     30src/mesk/plugin/provider.py 
    2831src/mesk/utils.py 
     32src/mesk/window.py 
    2933src/mmkeys/setup.py 
    3034src/multi_media_keys.py 
     
    3337src/plugins/gajimstatus.py 
    3438src/preference_window.py 
     39src/tips_window.py 
  • trunk/po/es.po

    r382 r390  
    88"Project-Id-Version: 0.1.1\n" 
    99"Report-Msgid-Bugs-To: \n" 
    10 "POT-Creation-Date: 2006-08-17 21:35-0600\n" 
     10"POT-Creation-Date: 2006-08-18 20:14-0600\n" 
    1111"PO-Revision-Date: 2006-04-15 17:38-0600\n" 
    1212"Last-Translator: Travis Shirk <travis@pobox.com>\n" 
     
    2525 
    2626#: ../src/mesk_extras.glade.h:2 
    27 #, no-c-format 
    28 msgid "100%" 
     27#, fuzzy, no-c-format 
     28msgid "<b>Mesk Tip #%d</b>" 
     29msgstr "<b>Descripción:</b>" 
     30 
     31#: ../src/mesk_extras.glade.h:3 
     32msgid "<span foreground='blue'><big><b>Did You Know...</b></big></span>" 
    2933msgstr "" 
    3034 
    3135#: ../src/mesk_extras.glade.h:4 
    32 #, no-c-format 
    33 msgid "25%" 
     36msgid "Name" 
     37msgstr "" 
     38 
     39#: ../src/mesk_extras.glade.h:5 
     40msgid "Show tips window at startup" 
    3441msgstr "" 
    3542 
    3643#: ../src/mesk_extras.glade.h:6 
    37 #, no-c-format 
    38 msgid "50%" 
     44msgid "Tip Label" 
     45msgstr "" 
     46 
     47#: ../src/mesk_extras.glade.h:7 
     48msgid "_Close" 
    3949msgstr "" 
    4050 
    4151#: ../src/mesk_extras.glade.h:8 
    42 #, no-c-format 
    43 msgid "75%" 
    44 msgstr "" 
    45  
    46 #: ../src/mesk_extras.glade.h:10 
    47 #, fuzzy, no-c-format 
    48 msgid "<b>Mesk Tip #%d:</b>" 
    49 msgstr "<b>Descripción:</b>" 
    50  
    51 #: ../src/mesk_extras.glade.h:11 
    52 msgid "<span foreground='blue'><big><b>Did You Know...</b></big></span>" 
    53 msgstr "" 
    54  
    55 #: ../src/mesk_extras.glade.h:12 
    56 msgid "Do not show this dialog again" 
    57 msgstr "" 
    58  
    59 #: ../src/mesk_extras.glade.h:13 
    60 #, fuzzy 
    61 msgid "Mesk Tip" 
    62 msgstr "Mesk" 
    63  
    64 #: ../src/mesk_extras.glade.h:14 
    65 msgid "Mute" 
    66 msgstr "" 
    67  
    68 #: ../src/mesk_extras.glade.h:15 
    69 msgid "Name" 
    70 msgstr "" 
    71  
    72 #: ../src/mesk_extras.glade.h:16 
    73 msgid "Open Mixer" 
    74 msgstr "" 
    75  
    76 #: ../src/mesk_extras.glade.h:17 ../src/mesk_gui.glade.h:18 
    77 #: ../src/mesk/__init__.py:47 
    78 msgid "Playlist" 
    79 msgstr "Playlist" 
    80  
    81 #: ../src/mesk_extras.glade.h:18 
    82 msgid "The band Single Frame from Austin, Texas is <b>really</b> good." 
    83 msgstr "" 
    84  
    85 #: ../src/mesk_extras.glade.h:19 
    86 msgid "_Close" 
    87 msgstr "" 
    88  
    89 #: ../src/mesk_extras.glade.h:20 
    9052#, fuzzy 
    9153msgid "_Next" 
    9254msgstr "Después" 
    9355 
    94 #: ../src/mesk_extras.glade.h:21 
     56#: ../src/mesk_extras.glade.h:9 
    9557#, fuzzy 
    9658msgid "_Previous" 
    9759msgstr "Anterior" 
    98  
    99 #: ../src/mesk_extras.glade.h:22 
    100 msgid "_Rename..." 
    101 msgstr "" 
    10260 
    10361#: ../src/mesk_gui.glade.h:1 
     
    164122msgid "First" 
    165123msgstr "" 
     124 
     125#: ../src/mesk_gui.glade.h:18 ../src/mesk/__init__.py:47 
     126msgid "Playlist" 
     127msgstr "Playlist" 
    166128 
    167129#: ../src/mesk_gui.glade.h:19 
     
    276238msgstr "" 
    277239 
    278 #. we talk about file 
    279 #: ../src/gtk_utils.py:79 ../src/gtk_utils.py:94 
    280 #, python-format 
    281 msgid "Error: cannot open %s for reading" 
    282 msgstr "Error: no puede abrir %s para la lectura" 
    283  
    284 #: ../src/main.py:137 
     240#: ../src/main.py:139 
    285241#, fuzzy, python-format 
    286242msgid "Migrating config version %s to %s" 
    287243msgstr "Aumento de la versión %s de los config a %s" 
    288244 
    289 #: ../src/main.py:156 
     245#: ../src/main.py:158 
    290246#, fuzzy 
    291247msgid "Select a specific profile." 
    292248msgstr "Seleccione un perfil específico con excepción del defecto" 
    293249 
    294 #: ../src/main.py:159 
     250#: ../src/main.py:161 
    295251#, fuzzy 
    296252msgid "" 
     
    301257"DEBUG" 
    302258 
    303 #: ../src/main.py:166 
     259#: ../src/main.py:168 
    304260msgid "Run using python profiler." 
    305261msgstr "" 
    306262 
    307 #: ../src/main.py:169 
     263#: ../src/main.py:171 
    308264msgid "Run using python debugger." 
    309265msgstr "" 
    310266 
    311 #: ../src/main_window.py:115 
     267#: ../src/main_window.py:118 
    312268#, python-format 
    313269msgid "Error loading playlist '%s'" 
     
    400356msgstr "" 
    401357 
     358#: ../src/mesk/__init__.py:87 
     359msgid "Show tips window each time Mesk is started." 
     360msgstr "" 
     361 
    402362#: ../src/mesk/__init__.py:90 
     363msgid "The last tip displayed in the tips window." 
     364msgstr "" 
     365 
     366#: ../src/mesk/__init__.py:96 
    403367#, fuzzy, python-format 
    404368msgid "GStreamer output sink. May be %s (default), %s, '%s','%s', or '%s'" 
     
    406370"Fregadero de la salida de GStreamer. Pueden ser '%s', '%s', '%s' o '%s'" 
    407371 
    408 #: ../src/mesk/__init__.py:94 
     372#: ../src/mesk/__init__.py:100 
    409373msgid "Number of milliseconds to pause between tracks" 
    410374msgstr "Número de los milisegundos a detenerse brevemente entre las pistas" 
    411375 
    412 #: ../src/mesk/__init__.py:96 
     376#: ../src/mesk/__init__.py:102 
    413377msgid "Volume level is a value between 0.0 and 1.0" 
    414378msgstr "" 
    415379 
    416 #: ../src/mesk/__init__.py:98 
     380#: ../src/mesk/__init__.py:104 
    417381msgid "" 
    418382"The volume level mixing program. The PATH environment variable is used to " 
     
    420384msgstr "" 
    421385 
    422 #: ../src/mesk/__init__.py:104 
     386#: ../src/mesk/__init__.py:110 
    423387msgid "Playlist (file) location" 
    424388msgstr "Localización de Playlist (archivo)" 
    425389 
    426 #: ../src/mesk/__init__.py:105 
     390#: ../src/mesk/__init__.py:111 
    427391msgid "Starting playlist index" 
    428392msgstr "Comenzar índice del playlist" 
    429393 
    430 #: ../src/mesk/__init__.py:106 
     394#: ../src/mesk/__init__.py:112 
    431395msgid "Is the playlist in repeat mode" 
    432396msgstr "Es el playlist en modo de la repetición" 
    433397 
    434 #: ../src/mesk/__init__.py:107 
     398#: ../src/mesk/__init__.py:113 
    435399msgid "Is the playlist in shuffle mode" 
    436400msgstr "Es el playlist en modo de la barajadura" 
    437401 
    438 #: ../src/mesk/__init__.py:108 
     402#: ../src/mesk/__init__.py:114 
    439403msgid "The playlist queue which is a comma separated list of indices" 
    440404msgstr "La coleta del playlist que es una coma separó la lista de índices" 
    441405 
    442 #: ../src/mesk/__init__.py:111 
     406#: ../src/mesk/__init__.py:117 
    443407msgid "The directory to open when adding files" 
    444408msgstr "El directorio a abrirse al agregar archivos" 
    445409 
    446 #: ../src/mesk/__init__.py:122 ../src/mesk/__init__.py:124 
    447 #: ../src/mesk/__init__.py:126 
     410#: ../src/mesk/__init__.py:128 ../src/mesk/__init__.py:130 
     411#: ../src/mesk/__init__.py:132 
    448412#, python-format 
    449413msgid "Creating %s..." 
     
    512476 
    513477#. Text columns 
    514 #: ../src/playlist_control.py:171 
     478#: ../src/playlist_control.py:172 
    515479msgid "Title" 
    516480msgstr "Título" 
    517481 
    518 #: ../src/playlist_control.py:172 
     482#: ../src/playlist_control.py:173 
    519483msgid "Artist" 
    520484msgstr "Artista" 
    521485 
    522 #: ../src/playlist_control.py:173 
     486#: ../src/playlist_control.py:174 
    523487msgid "Album" 
    524488msgstr "Álbum" 
    525489 
    526 #: ../src/playlist_control.py:174 
     490#: ../src/playlist_control.py:175 
    527491msgid "#" 
    528492msgstr "#" 
    529493 
    530 #: ../src/playlist_control.py:175 
     494#: ../src/playlist_control.py:176 
    531495msgid "Year" 
    532496msgstr "Año" 
    533497 
    534 #: ../src/playlist_control.py:176 
     498#: ../src/playlist_control.py:177 
    535499msgid "Time" 
    536500msgstr "Tiempo" 
    537501 
    538 #: ../src/playlist_control.py:452 
     502#: ../src/playlist_control.py:453 
    539503#, python-format 
    540504msgid "Are you sure you want to delete playlist '%s'?" 
    541505msgstr "" 
    542506 
    543 #: ../src/playlist_control.py:454 
     507#: ../src/playlist_control.py:455 
    544508msgid "All playlist data will be lost." 
    545509msgstr "" 
    546510 
    547 #: ../src/playlist_control.py:632 
     511#: ../src/playlist_control.py:633 
    548512msgid "tracks" 
    549513msgstr "pistas" 
    550514 
    551 #: ../src/playlist_control.py:982 
     515#: ../src/playlist_control.py:983 
    552516#, fuzzy, python-format 
    553517msgid "" 
     
    557521msgstr "Fuente que cae del error: %s" 
    558522 
    559 #: ../src/playlist_control.py:990 
     523#: ../src/playlist_control.py:991 
    560524#, fuzzy, python-format 
    561525msgid "" 
     
    567531"%s" 
    568532 
    569 #: ../src/playlist_control.py:1045 
     533#: ../src/playlist_control.py:1046 
    570534msgid "Add Music" 
    571535msgstr "Agregue La Música" 
    572536 
    573 #: ../src/playlist_control.py:1062 
     537#: ../src/playlist_control.py:1063 
    574538msgid "All" 
    575539msgstr "" 
    576540 
    577 #: ../src/playlist_control.py:1064 
     541#: ../src/playlist_control.py:1065 
    578542msgid "Audio" 
    579543msgstr "" 
    580544 
    581 #: ../src/playlist_control.py:1065 
     545#: ../src/playlist_control.py:1066 
    582546msgid "Playlists" 
    583547msgstr "Playlists" 
     
    586550#. the checkbox is toggles and files when not since this is not 
    587551#. possible by default 
    588 #: ../src/playlist_control.py:1070 
     552#: ../src/playlist_control.py:1071 
    589553msgid "Make the _dialog be able/unable to select directories" 
    590554msgstr "Haga que el _diálogo es able/unable para seleccionar directorios" 
    591555 
    592 #: ../src/playlist_control.py:1193 
     556#: ../src/playlist_control.py:1194 
    593557#, python-format 
    594558msgid "'%s' string not found" 
     
    710674msgstr "Gajim debe funcionar para determinar cuentas." 
    711675 
    712 #: ../src/preference_window.py:57 
     676#: ../src/preference_window.py:55 
    713677msgid "Plugin" 
    714678msgstr "Plugin" 
    715679 
    716 #: ../src/preference_window.py:63 
     680#: ../src/preference_window.py:61 
    717681msgid "Enabled" 
    718682msgstr "Permita" 
    719683 
    720 #: ../src/preference_window.py:144 
     684#: ../src/preference_window.py:130 
    721685msgid "Plugin activation error" 
    722686msgstr "Error plugin de la activación" 
    723687 
    724 #: ../src/preference_window.py:147 
     688#: ../src/preference_window.py:133 
    725689msgid "Plugin deactivation error" 
    726690msgstr "Error plugin de la desactivación" 
     691 
     692#. Set frame label, one is added for non-zero display 
     693#: ../src/tips_window.py:52 
     694#, fuzzy, python-format 
     695msgid "Mesk Tip #%d" 
     696msgstr "Mesk" 
     697 
     698#: ../src/tips_window.py:84 
     699msgid "" 
     700"\n" 
     701"Creating new playlists can be done using the <b>File</b>-><b>New Playlist</" 
     702"b>\n" 
     703"menu or by pressing <b>CTRL+t</b>.\n" 
     704msgstr "" 
     705 
     706#: ../src/tips_window.py:88 
     707msgid "" 
     708"\n" 
     709"Once you have a playlist open, you can add files using the <b>Add</b> " 
     710"button\n" 
     711"at the bottom of the playlist or by drag-and-drop.\n" 
     712msgstr "" 
     713 
     714#: ../src/tips_window.py:92 
     715msgid "" 
     716"\n" 
     717"Playlist can be searched using a Firefox-like search interface.  The key\n" 
     718"bindings to open the search interface are <b>CTRL+f</b> or typing the <b>/</" 
     719"b>\n" 
     720"key.\n" 
     721msgstr "" 
     722 
     723#: ../src/tips_window.py:97 
     724msgid "" 
     725"\n" 
     726"The band Single Frame from Austin Texas is <b>really, really</b> good.\n" 
     727msgstr "" 
     728 
     729#: ../src/tips_window.py:100 
     730msgid "" 
     731"\n" 
     732"Album covers (named cover-front, cover, folder, etc.) that exist in the " 
     733"same\n" 
     734"directory as the audio track are displayed automatically.\n" 
     735msgstr "" 
     736 
     737#: ../src/tips_window.py:104 
     738msgid "" 
     739"\n" 
     740"Hovering your mouse over the album cover display will display the cover in " 
     741"it\n" 
     742"original size (with a sane maximum resolution, of course).\n" 
     743msgstr "" 
     744 
     745#~ msgid "Error: cannot open %s for reading" 
     746#~ msgstr "Error: no puede abrir %s para la lectura" 
    727747 
    728748#~ msgid "Add music..." 
  • trunk/po/mesk.pot

    r382 r390  
    99"Project-Id-Version: PACKAGE VERSION\n" 
    1010"Report-Msgid-Bugs-To: \n" 
    11 "POT-Creation-Date: 2006-08-17 21:35-0600\n" 
     11"POT-Creation-Date: 2006-08-18 20:14-0600\n" 
    1212"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 
    1313"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" 
     
    2727#: ../src/mesk_extras.glade.h:2 
    2828#, no-c-format 
    29 msgid "100%" 
     29msgid "<b>Mesk Tip #%d</b>" 
     30msgstr "" 
     31 
     32#: ../src/mesk_extras.glade.h:3 
     33msgid "<span foreground='blue'><big><b>Did You Know...</b></big></span>" 
    3034msgstr "" 
    3135 
    3236#: ../src/mesk_extras.glade.h:4 
    33 #, no-c-format 
    34 msgid "25%" 
     37msgid "Name" 
     38msgstr "" 
     39 
     40#: ../src/mesk_extras.glade.h:5 
     41msgid "Show tips window at startup" 
    3542msgstr "" 
    3643 
    3744#: ../src/mesk_extras.glade.h:6 
    38 #, no-c-format 
    39 msgid "50%" 
     45msgid "Tip Label" 
     46msgstr "" 
     47 
     48#: ../src/mesk_extras.glade.h:7 
     49msgid "_Close" 
    4050msgstr "" 
    4151 
    4252#: ../src/mesk_extras.glade.h:8 
    43 #, no-c-format 
    44 msgid "75%" 
    45 msgstr "" 
    46  
    47 #: ../src/mesk_extras.glade.h:10 
    48 #, no-c-format 
    49 msgid "<b>Mesk Tip #%d:</b>" 
    50 msgstr "" 
    51  
    52 #: ../src/mesk_extras.glade.h:11 
    53 msgid "<span foreground='blue'><big><b>Did You Know...</b></big></span>" 
    54 msgstr "" 
    55  
    56 #: ../src/mesk_extras.glade.h:12 
    57 msgid "Do not show this dialog again" 
    58 msgstr "" 
    59  
    60 #: ../src/mesk_extras.glade.h:13 
    61 msgid "Mesk Tip" 
    62 msgstr "" 
    63  
    64 #: ../src/mesk_extras.glade.h:14 
    65 msgid "Mute" 
    66 msgstr "" 
    67  
    68 #: ../src/mesk_extras.glade.h:15 
    69 msgid "Name" 
    70 msgstr "" 
    71  
    72 #: ../src/mesk_extras.glade.h:16 
    73 msgid "Open Mixer" 
    74 msgstr "" 
    75  
    76 #: ../src/mesk_extras.glade.h:17 ../src/mesk_gui.glade.h:18 
    77 #: ../src/mesk/__init__.py:47 
    78 msgid "Playlist" 
    79 msgstr "" 
    80  
    81 #: ../src/mesk_extras.glade.h:18 
    82 msgid "The band Single Frame from Austin, Texas is <b>really</b> good." 
    83 msgstr "" 
    84  
    85 #: ../src/mesk_extras.glade.h:19 
    86 msgid "_Close" 
    87 msgstr "" 
    88  
    89 #: ../src/mesk_extras.glade.h:20 
    9053msgid "_Next" 
    9154msgstr "" 
    9255 
    93 #: ../src/mesk_extras.glade.h:21 
     56#: ../src/mesk_extras.glade.h:9 
    9457msgid "_Previous" 
    95 msgstr "" 
    96  
    97 #: ../src/mesk_extras.glade.h:22 
    98 msgid "_Rename..." 
    9958msgstr "" 
    10059 
     
    160119#: ../src/mesk_gui.glade.h:17 
    161120msgid "First" 
     121msgstr "" 
     122 
     123#: ../src/mesk_gui.glade.h:18 ../src/mesk/__init__.py:47 
     124msgid "Playlist" 
    162125msgstr "" 
    163126 
     
    269232msgstr "" 
    270233 
    271 #. we talk about file 
    272 #: ../src/gtk_utils.py:79 ../src/gtk_utils.py:94 
    273 #, python-format 
    274 msgid "Error: cannot open %s for reading" 
    275 msgstr "" 
    276  
    277 #: ../src/main.py:137 
     234#: ../src/main.py:139 
    278235#, python-format 
    279236msgid "Migrating config version %s to %s" 
    280237msgstr "" 
    281238 
    282 #: ../src/main.py:156 
     239#: ../src/main.py:158 
    283240msgid "Select a specific profile." 
    284241msgstr "" 
    285242 
    286 #: ../src/main.py:159 
     243#: ../src/main.py:161 
    287244msgid "" 
    288245"Select the amount of terminal logging.  May be CRITICAL, ERROR, WARNING, " 
     
    290247msgstr "" 
    291248 
    292 #: ../src/main.py:166 
     249#: ../src/main.py:168 
    293250msgid "Run using python profiler." 
    294251msgstr "" 
    295252 
    296 #: ../src/main.py:169 
     253#: ../src/main.py:171 
    297254msgid "Run using python debugger." 
    298255msgstr "" 
    299256 
    300 #: ../src/main_window.py:115 
     257#: ../src/main_window.py:118 
    301258#, python-format 
    302259msgid "Error loading playlist '%s'" 
     
    384341msgstr "" 
    385342 
     343#: ../src/mesk/__init__.py:87 
     344msgid "Show tips window each time Mesk is started." 
     345msgstr "" 
     346 
    386347#: ../src/mesk/__init__.py:90 
     348msgid "The last tip displayed in the tips window." 
     349msgstr "" 
     350 
     351#: ../src/mesk/__init__.py:96 
    387352#, python-format 
    388353msgid "GStreamer output sink. May be %s (default), %s, '%s','%s', or '%s'" 
    389354msgstr "" 
    390355 
    391 #: ../src/mesk/__init__.py:94 
     356#: ../src/mesk/__init__.py:100 
    392357msgid "Number of milliseconds to pause between tracks" 
    393358msgstr "" 
    394359 
    395 #: ../src/mesk/__init__.py:96 
     360#: ../src/mesk/__init__.py:102 
    396361msgid "Volume level is a value between 0.0 and 1.0" 
    397362msgstr "" 
    398363 
    399 #: ../src/mesk/__init__.py:98 
     364#: ../src/mesk/__init__.py:104 
    400365msgid "" 
    401366"The volume level mixing program. The PATH environment variable is used to " 
     
    403368msgstr "" 
    404369 
    405 #: ../src/mesk/__init__.py:104 
     370#: ../src/mesk/__init__.py:110 
    406371msgid "Playlist (file) location" 
    407372msgstr "" 
    408373 
    409 #: ../src/mesk/__init__.py:105 
     374#: ../src/mesk/__init__.py:111 
    410375msgid "Starting playlist index" 
    411376msgstr "" 
    412377 
    413 #: ../src/mesk/__init__.py:106 
     378#: ../src/mesk/__init__.py:112 
    414379msgid "Is the playlist in repeat mode" 
    415380msgstr "" 
    416381 
    417 #: ../src/mesk/__init__.py:107 
     382#: ../src/mesk/__init__.py:113 
    418383msgid "Is the playlist in shuffle mode" 
    419384msgstr "" 
    420385 
    421 #: ../src/mesk/__init__.py:108 
     386#: ../src/mesk/__init__.py:114 
    422387msgid "The playlist queue which is a comma separated list of indices" 
    423388msgstr "" 
    424389 
    425 #: ../src/mesk/__init__.py:111 
     390#: ../src/mesk/__init__.py:117 
    426391msgid "The directory to open when adding files" 
    427392msgstr "" 
    428393 
    429 #: ../src/mesk/__init__.py:122 ../src/mesk/__init__.py:124 
    430 #: ../src/mesk/__init__.py:126 
     394#: ../src/mesk/__init__.py:128 ../src/mesk/__init__.py:130 
     395#: ../src/mesk/__init__.py:132 
    431396#, python-format 
    432397msgid "Creating %s..." 
     
    495460 
    496461#. Text columns 
    497 #: ../src/playlist_control.py:171 
     462#: ../src/playlist_control.py:172 
    498463msgid "Title" 
    499464msgstr "" 
    500465 
    501 #: ../src/playlist_control.py:172 
     466#: ../src/playlist_control.py:173 
    502467msgid "Artist" 
    503468msgstr "" 
    504469 
    505 #: ../src/playlist_control.py:173 
     470#: ../src/playlist_control.py:174 
    506471msgid "Album" 
    507472msgstr "" 
    508473 
    509 #: ../src/playlist_control.py:174 
     474#: ../src/playlist_control.py:175 
    510475msgid "#" 
    511476msgstr "" 
    512477 
    513 #: ../src/playlist_control.py:175 
     478#: ../src/playlist_control.py:176 
    514479msgid "Year" 
    515480msgstr "" 
    516481 
    517 #: ../src/playlist_control.py:176 
     482#: ../src/playlist_control.py:177 
    518483msgid "Time" 
    519484msgstr "" 
    520485 
    521 #: ../src/playlist_control.py:452 
     486#: ../src/playlist_control.py:453 
    522487#, python-format 
    523488msgid "Are you sure you want to delete playlist '%s'?" 
    524489msgstr "" 
    525490 
    526 #: ../src/playlist_control.py:454 
     491#: ../src/playlist_control.py:455 
    527492msgid "All playlist data will be lost." 
    528493msgstr "" 
    529494 
    530 #: ../src/playlist_control.py:632 
     495#: ../src/playlist_control.py:633 
    531496msgid "tracks" 
    532497msgstr "" 
    533498 
    534 #: ../src/playlist_control.py:982 
     499#: ../src/playlist_control.py:983 
    535500#, python-format 
    536501msgid "" 
     
    540505msgstr "" 
    541506 
    542 #: ../src/playlist_control.py:990 
     507#: ../src/playlist_control.py:991 
    543508#, python-format 
    544509msgid "" 
     
    548513msgstr "" 
    549514 
    550 #: ../src/playlist_control.py:1045 
     515#: ../src/playlist_control.py:1046 
    551516msgid "Add Music" 
    552517msgstr "" 
    553518 
    554 #: ../src/playlist_control.py:1062 
     519#: ../src/playlist_control.py:1063 
    555520msgid "All" 
    556521msgstr "" 
    557522 
    558 #: ../src/playlist_control.py:1064 
     523#: ../src/playlist_control.py:1065 
    559524msgid "Audio" 
    560525msgstr "" 
    561526 
    562 #: ../src/playlist_control.py:1065 
     527#: ../src/playlist_control.py:1066 
    563528msgid "Playlists" 
    564529msgstr "" 
     
    567532#. the checkbox is toggles and files when not since this is not 
    568533#. possible by default 
    569 #: ../src/playlist_control.py:1070 
     534#: ../src/playlist_control.py:1071 
    570535msgid "Make the _dialog be able/unable to select directories" 
    571536msgstr "" 
    572537 
    573 #: ../src/playlist_control.py:1193 
     538#: ../src/playlist_control.py:1194 
    574539#, python-format 
    575540msgid "'%s' string not found" 
     
    688653msgstr "" 
    689654 
    690 #: ../src/preference_window.py:57 
     655#: ../src/preference_window.py:55 
    691656msgid "Plugin" 
    692657msgstr "" 
    693658 
    694 #: ../src/preference_window.py:63 
     659#: ../src/preference_window.py:61 
    695660msgid "Enabled" 
    696661msgstr "" 
    697662 
    698 #: ../src/preference_window.py:144 
     663#: ../src/preference_window.py:130 
    699664msgid "Plugin activation error" 
    700665msgstr "" 
    701666 
    702 #: ../src/preference_window.py:147 
     667#: ../src/preference_window.py:133 
    703668msgid "Plugin deactivation error" 
    704669msgstr "" 
     670 
     671#. Set frame label, one is added for non-zero display 
     672#: ../src/tips_window.py:52 
     673#, python-format 
     674msgid "Mesk Tip #%d" 
     675msgstr "" 
     676 
     677#: ../src/tips_window.py:84 
     678msgid "" 
     679"\n" 
     680"Creating new playlists can be done using the <b>File</b>-><b>New Playlist</" 
     681"b>\n" 
     682"menu or by pressing <b>CTRL+t</b>.\n" 
     683msgstr "" 
     684 
     685#: ../src/tips_window.py:88 
     686msgid "" 
     687"\n" 
     688"Once you have a playlist open, you can add files using the <b>Add</b> " 
     689"button\n" 
     690"at the bottom of the playlist or by drag-and-drop.\n" 
     691msgstr "" 
     692 
     693#: ../src/tips_window.py:92 
     694msgid "" 
     695"\n" 
     696"Playlist can be searched using a Firefox-like search interface.  The key\n" 
     697"bindings to open the search interface are <b>CTRL+f</b> or typing the <b>/</" 
     698"b>\n" 
     699"key.\n" 
     700msgstr "" 
     701 
     702#: ../src/tips_window.py:97 
     703msgid "" 
     704"\n" 
     705"The band Single Frame from Austin Texas is <b>really, really</b> good.\n" 
     706msgstr "" 
     707 
     708#: ../src/tips_window.py:100 
     709msgid "" 
     710"\n" 
     711"Album covers (named cover-front, cover, folder, etc.) that exist in the " 
     712"same\n" 
     713"directory as the audio track are displayed automatically.\n" 
     714msgstr "" 
     715 
     716#: ../src/tips_window.py:104 
     717msgid "" 
     718"\n" 
     719"Hovering your mouse over the album cover display will display the cover in " 
     720"it\n" 
     721"original size (with a sane maximum resolution, of course).\n" 
     722msgstr "" 
  • trunk/src/mesk_extras.glade

    r389 r390  
    33<!-- Generated with glade3 
    44        Version: 3.0.0 
    5         Date: Fri Aug 18 19:42:49 2006 
     5        Date: Fri Aug 18 20:12:50 2006 
    66        User: travis 
    77        Host: mackaye 
     
    259259                        <property name="xalign">0.000000</property> 
    260260                        <property name="yalign">0.000000</property> 
    261                         <property name="xpad">10</property> 
    262                         <property name="ypad">5</property> 
     261                        <property name="xpad">5</property> 
    263262                        <property name="label" translatable="yes">Tip Label</property> 
    264263                        <property name="use_markup">True</property> 
    265                         <property name="selectable">True</property> 
    266264                      </widget> 
    267265                    </child> 
  • trunk/src/tips_window.py

    r389 r390  
    2424    def __init__(self): 
    2525        mesk.window.Window.__init__(self, 'tips_window', 'mesk_extras.glade') 
    26  
    27         # Parse tips 
    28         self._tips = TIPS.split('\tTIP\n') 
    29         self._tips.remove('\n') 
    30         mesk.log.debug('TipsWindow loaded with %d tips' % len(self._tips)) 
     26        mesk.log.debug('TipsWindow loaded with %d tips' % len(TIPS)) 
    3127 
    3228        # Initialize widgets 
     
    4945    def set_tip(self, tip_index): 
    5046        # Coerce out of range indexes 
    51         if tip_index < 0 or tip_index >= len(self._tips): 
     47        if tip_index < 0 or tip_index >= len(TIPS): 
    5248            tip_index = 0 
    5349        self._showing_tip = tip_index 
     
    5753                                                    (self._showing_tip + 1))) 
    5854        # Set tip label 
    59         self._tip_label.set_markup(self._tips[self._showing_tip]) 
     55        self._tip_label.set_markup(TIPS[self._showing_tip]) 
    6056 
    6157        # Set nav button sensitivities 
    62         if self._showing_tip == (len(self._tips) - 1): 
     58        if self._showing_tip == (len(TIPS) - 1): 
    6359            self._next_button.set_sensitive(False) 
    6460        else: 
     
    8480                        str(button.get_active())) 
    8581 
    86 # FIXME: i18n 
    87 TIPS = """ 
    88 \tTIP 
    89 Creating new playlists can be done using the File->New Playlist menu 
    90 or by pressing CTRL+t. 
    91 \tTIP 
    92 Once you have a playlist open, you can add files using the Add button 
     82# List of tips 
     83TIPS = [ 
     84_(""" 
     85Creating new playlists can be done using the <b>File</b>-><b>New Playlist</b> 
     86menu or by pressing <b>CTRL+t</b>. 
     87"""), 
     88_(""" 
     89Once you have a playlist open, you can add files using the <b>Add</b> button 
    9390at the bottom of the playlist or by drag-and-drop. 
    94 \tTIP 
     91"""), 
     92_(""" 
    9593Playlist can be searched using a Firefox-like search interface.  The key 
    96 bindings to open the search interface are CTRL+f or typing the '/' key. 
    97 \tTIP 
     94bindings to open the search interface are <b>CTRL+f</b> or typing the <b>/</b> 
     95key. 
     96"""), 
     97_(""" 
    9898The band Single Frame from Austin Texas is <b>really, really</b> good. 
    99 """ 
     99"""), 
     100_(""" 
     101Album covers (named cover-front, cover, folder, etc.) that exist in the same 
     102directory as the audio track are displayed automatically. 
     103"""), 
     104_(""" 
     105Hovering your mouse over the album cover display will display the cover in it 
     106original size (with a sane maximum resolution, of course). 
     107"""), 
     108