Changeset 499
- Timestamp:
- 11/25/06 15:36:18 (2 years ago)
- Files:
-
- trunk/po/POTFILES.in (modified) (1 diff)
- trunk/po/es.mo (modified) (previous)
- trunk/po/es.po (modified) (12 diffs)
- trunk/po/mesk.pot (modified) (10 diffs)
- trunk/src/mesk/audio/__init__.py (modified) (1 diff)
- trunk/src/mesk/audio/mpeg.py (moved) (moved from trunk/src/mesk/audio/mp3.py) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/po/POTFILES.in
r495 r499 17 17 src/main_window.py 18 18 src/mesk/audio/__init__.py 19 src/mesk/audio/mp 3.py19 src/mesk/audio/mpeg.py 20 20 src/mesk/audio/oggvorbis.py 21 21 src/mesk/audio/source.py trunk/po/es.po
r495 r499 8 8 "Project-Id-Version: 0.1.1\n" 9 9 "Report-Msgid-Bugs-To: \n" 10 "POT-Creation-Date: 2006-11-2 4 19:56-0700\n"10 "POT-Creation-Date: 2006-11-25 15:35-0700\n" 11 11 "PO-Revision-Date: 2006-04-15 17:38-0600\n" 12 12 "Last-Translator: Travis Shirk <travis@pobox.com>\n" … … 141 141 142 142 #: ../src/data/glade/playlist.glade.h:1 143 msgid "Name" 144 msgstr "Nombre" 143 #, fuzzy 144 msgid "<b>Comments:</b>" 145 msgstr "<b>Copyright:</b>" 145 146 146 147 #: ../src/data/glade/playlist.glade.h:2 148 #, fuzzy 149 msgid "<b>Options:</b>" 150 msgstr "<b>Descripción:</b>" 151 152 #: ../src/data/glade/playlist.glade.h:3 153 #, fuzzy 154 msgid "<b>Playlist Name:</b>" 155 msgstr "<b>Nombre Plugin</b>" 156 157 #: ../src/data/glade/playlist.glade.h:4 158 msgid "Read Only" 159 msgstr "" 160 161 #: ../src/data/glade/playlist.glade.h:5 162 #, fuzzy 163 msgid "_Properties" 164 msgstr "_Anterior" 165 166 #: ../src/data/glade/playlist.glade.h:6 147 167 msgid "_Rename..." 148 168 msgstr "" … … 258 278 259 279 #. Tooltip strings 260 #: ../src/audio_control.py:43 ../src/status_icon.py:54280 #: ../src/audio_control.py:43 261 281 msgid "Play" 262 282 msgstr "Juego" … … 288 308 msgstr "No me pregunte otra vez." 289 309 290 #: ../src/main.py:2 16310 #: ../src/main.py:204 291 311 msgid "Start with profile NAME." 292 312 msgstr "Comience con el perfil NAME." 293 313 294 #: ../src/main.py:2 19314 #: ../src/main.py:207 295 315 msgid "" 296 316 "Select the amount of terminal logging. May be CRITICAL, ERROR, WARNING, " … … 301 321 302 322 #. Developer options 303 #: ../src/main.py:2 25323 #: ../src/main.py:213 304 324 msgid "Advanced Options" 305 325 msgstr "Opciones Avanzadas" 306 326 307 #: ../src/main.py:2 28327 #: ../src/main.py:216 308 328 msgid "Break in python debugger on unhandled exceptions." 309 329 msgstr "La rotura en la depuración del python encendido unhandled excepciones." 310 330 311 #: ../src/main.py:2 32331 #: ../src/main.py:220 312 332 msgid "Run using python profiler." 313 333 msgstr "Funcione con el profiler del python." 314 334 315 #: ../src/main.py:2 35335 #: ../src/main.py:223 316 336 msgid "Display Gstreamer command line options." 317 337 msgstr "LÃnea de comando de Gstreamer de la exhibición opciones." 318 338 319 #: ../src/main_window.py:115 339 #: ../src/main_window.py:120 340 #, fuzzy, python-format 341 msgid "Loading '%s'..." 342 msgstr "El crear %s..." 343 344 #: ../src/main_window.py:127 320 345 #, python-format 321 346 msgid "Error loading playlist '%s'" 322 347 msgstr "Playlist '%s' del cargamento del error" 323 348 324 #: ../src/main_window.py:267 349 #: ../src/main_window.py:145 350 #, python-format 351 msgid "'%s' loaded" 352 msgstr "" 353 354 #: ../src/main_window.py:284 325 355 msgid "Are you sure you want to quit?" 326 356 msgstr "¿Es usted seguro usted desea parar?" … … 511 541 512 542 #. Text columns 513 #: ../src/playlist_control.py:17 6543 #: ../src/playlist_control.py:177 514 544 msgid "Title" 515 545 msgstr "TÃtulo" 516 546 517 #: ../src/playlist_control.py:17 7547 #: ../src/playlist_control.py:178 518 548 msgid "Artist" 519 549 msgstr "Artista" 520 550 521 #: ../src/playlist_control.py:17 8551 #: ../src/playlist_control.py:179 522 552 msgid "Album" 523 553 msgstr "Ãlbum" 524 554 525 #: ../src/playlist_control.py:1 79555 #: ../src/playlist_control.py:180 526 556 msgid "#" 527 557 msgstr "#" 528 558 529 #: ../src/playlist_control.py:18 0559 #: ../src/playlist_control.py:181 530 560 msgid "Year" 531 561 msgstr "Año" 532 562 533 #: ../src/playlist_control.py:18 1563 #: ../src/playlist_control.py:182 534 564 msgid "Time" 535 565 msgstr "Tiempo" 536 566 537 #: ../src/playlist_control.py:47 5567 #: ../src/playlist_control.py:479 538 568 #, python-format 539 569 msgid "Are you sure you want to delete playlist '%s'?" 540 570 msgstr "¿Es usted seguro usted desea suprimir el playlist ' %s'?" 541 571 542 #: ../src/playlist_control.py:4 77572 #: ../src/playlist_control.py:481 543 573 msgid "All playlist data will be lost." 544 574 msgstr "Todos los datos del playlist serán perdidos." 545 575 546 #: ../src/playlist_control.py:66 4576 #: ../src/playlist_control.py:668 547 577 msgid "tracks" 548 578 msgstr "pistas" 549 579 550 #: ../src/playlist_control.py:1035 580 #: ../src/playlist_control.py:972 581 #, python-format 582 msgid "Adding items to '%s'..." 583 msgstr "" 584 585 #: ../src/playlist_control.py:1042 551 586 #, python-format 552 587 msgid "" … … 559 594 "%s" 560 595 561 #: ../src/playlist_control.py:10 44596 #: ../src/playlist_control.py:1051 562 597 #, python-format 563 598 msgid "" … … 570 605 "%s" 571 606 572 #: ../src/playlist_control.py:1099 607 #: ../src/playlist_control.py:1069 608 #, python-format 609 msgid "%d items added to '%s'" 610 msgstr "" 611 612 #: ../src/playlist_control.py:1112 573 613 msgid "Add Music" 574 614 msgstr "Agregue La Música" 575 615 576 #: ../src/playlist_control.py:11 21616 #: ../src/playlist_control.py:1134 577 617 msgid "All" 578 618 msgstr "Todos" 579 619 580 #: ../src/playlist_control.py:11 22620 #: ../src/playlist_control.py:1135 581 621 msgid "Audio" 582 622 msgstr "Audio" 583 623 584 #: ../src/playlist_control.py:11 23624 #: ../src/playlist_control.py:1136 585 625 msgid "Playlists" 586 626 msgstr "Playlists" … … 589 629 #. the checkbox is toggles and files when not since this is not 590 630 #. possible by default 591 #: ../src/playlist_control.py:11 28631 #: ../src/playlist_control.py:1141 592 632 msgid "Make the _dialog be able/unable to select directories" 593 633 msgstr "Haga que el _diálogo es able/unable para seleccionar directorios" 594 634 595 #: ../src/playlist_control.py:12 75635 #: ../src/playlist_control.py:1288 596 636 msgid "No match found" 597 637 msgstr "Ningún fósforo encontró" 598 638 599 #: ../src/playlist_control.py:12 76639 #: ../src/playlist_control.py:1289 600 640 #, python-format 601 641 msgid "The string '%s' does not match any playlist entries." … … 731 771 msgid "Plugin deactivation error" 732 772 msgstr "Error plugin de la desactivación" 733 734 #: ../src/status_icon.py:71735 #, fuzzy736 msgid "Show Mesk Player"737 msgstr "Jugador De la Música"738 773 739 774 #. Set frame label, one is added for non-zero display … … 875 910 "Repute.\n" 876 911 912 #~ msgid "Name" 913 #~ msgstr "Nombre" 914 915 #, fuzzy 916 #~ msgid "Show Mesk Player" 917 #~ msgstr "Jugador De la Música" 918 877 919 #, fuzzy 878 920 #~ msgid "Converting playlist '%s' to XSPF" … … 915 957 #~ msgstr "El directorio a abrirse al agregar archivos" 916 958 917 #~ msgid "Creating %s..."918 #~ msgstr "El crear %s..."919 920 959 #~ msgid "<b>Last.fm Credentials:</b>" 921 960 #~ msgstr "<b>Credenciales de last.fm:</b>" trunk/po/mesk.pot
r495 r499 9 9 "Project-Id-Version: PACKAGE VERSION\n" 10 10 "Report-Msgid-Bugs-To: \n" 11 "POT-Creation-Date: 2006-11-2 4 19:56-0700\n"11 "POT-Creation-Date: 2006-11-25 15:35-0700\n" 12 12 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 13 13 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 138 138 139 139 #: ../src/data/glade/playlist.glade.h:1 140 msgid " Name"140 msgid "<b>Comments:</b>" 141 141 msgstr "" 142 142 143 143 #: ../src/data/glade/playlist.glade.h:2 144 msgid "<b>Options:</b>" 145 msgstr "" 146 147 #: ../src/data/glade/playlist.glade.h:3 148 msgid "<b>Playlist Name:</b>" 149 msgstr "" 150 151 #: ../src/data/glade/playlist.glade.h:4 152 msgid "Read Only" 153 msgstr "" 154 155 #: ../src/data/glade/playlist.glade.h:5 156 msgid "_Properties" 157 msgstr "" 158 159 #: ../src/data/glade/playlist.glade.h:6 144 160 msgid "_Rename..." 145 161 msgstr "" … … 251 267 252 268 #. Tooltip strings 253 #: ../src/audio_control.py:43 ../src/status_icon.py:54269 #: ../src/audio_control.py:43 254 270 msgid "Play" 255 271 msgstr "" … … 281 297 msgstr "" 282 298 283 #: ../src/main.py:2 16299 #: ../src/main.py:204 284 300 msgid "Start with profile NAME." 285 301 msgstr "" 286 302 287 #: ../src/main.py:2 19303 #: ../src/main.py:207 288 304 msgid "" 289 305 "Select the amount of terminal logging. May be CRITICAL, ERROR, WARNING, " … … 292 308 293 309 #. Developer options 294 #: ../src/main.py:2 25310 #: ../src/main.py:213 295 311 msgid "Advanced Options" 296 312 msgstr "" 297 313 298 #: ../src/main.py:2 28314 #: ../src/main.py:216 299 315 msgid "Break in python debugger on unhandled exceptions." 300 316 msgstr "" 301 317 302 #: ../src/main.py:2 32318 #: ../src/main.py:220 303 319 msgid "Run using python profiler." 304 320 msgstr "" 305 321 306 #: ../src/main.py:2 35322 #: ../src/main.py:223 307 323 msgid "Display Gstreamer command line options." 308 324 msgstr "" 309 325 310 #: ../src/main_window.py:115 326 #: ../src/main_window.py:120 327 #, python-format 328 msgid "Loading '%s'..." 329 msgstr "" 330 331 #: ../src/main_window.py:127 311 332 #, python-format 312 333 msgid "Error loading playlist '%s'" 313 334 msgstr "" 314 335 315 #: ../src/main_window.py:267 336 #: ../src/main_window.py:145 337 #, python-format 338 msgid "'%s' loaded" 339 msgstr "" 340 341 #: ../src/main_window.py:284 316 342 msgid "Are you sure you want to quit?" 317 343 msgstr "" … … 485 511 486 512 #. Text columns 487 #: ../src/playlist_control.py:17 6513 #: ../src/playlist_control.py:177 488 514 msgid "Title" 489 515 msgstr "" 490 516 491 #: ../src/playlist_control.py:17 7517 #: ../src/playlist_control.py:178 492 518 msgid "Artist" 493 519 msgstr "" 494 520 495 #: ../src/playlist_control.py:17 8521 #: ../src/playlist_control.py:179 496 522 msgid "Album" 497 523 msgstr "" 498 524 499 #: ../src/playlist_control.py:1 79525 #: ../src/playlist_control.py:180 500 526 msgid "#" 501 527 msgstr "" 502 528 503 #: ../src/playlist_control.py:18 0529 #: ../src/playlist_control.py:181 504 530 msgid "Year" 505 531 msgstr "" 506 532 507 #: ../src/playlist_control.py:18 1533 #: ../src/playlist_control.py:182 508 534 msgid "Time" 509 535 msgstr "" 510 536 511 #: ../src/playlist_control.py:47 5537 #: ../src/playlist_control.py:479 512 538 #, python-format 513 539 msgid "Are you sure you want to delete playlist '%s'?" 514 540 msgstr "" 515 541 516 #: ../src/playlist_control.py:4 77542 #: ../src/playlist_control.py:481 517 543 msgid "All playlist data will be lost." 518 544 msgstr "" 519 545 520 #: ../src/playlist_control.py:66 4546 #: ../src/playlist_control.py:668 521 547 msgid "tracks" 522 548 msgstr "" 523 549 524 #: ../src/playlist_control.py:1035 550 #: ../src/playlist_control.py:972 551 #, python-format 552 msgid "Adding items to '%s'..." 553 msgstr "" 554 555 #: ../src/playlist_control.py:1042 525 556 #, python-format 526 557 msgid "" … … 530 561 msgstr "" 531 562 532 #: ../src/playlist_control.py:10 44563 #: ../src/playlist_control.py:1051 533 564 #, python-format 534 565 msgid "" … … 538 569 msgstr "" 539 570 540 #: ../src/playlist_control.py:1099 571 #: ../src/playlist_control.py:1069 572 #, python-format 573 msgid "%d items added to '%s'" 574 msgstr "" 575 576 #: ../src/playlist_control.py:1112 541 577 msgid "Add Music" 542 578 msgstr "" 543 579 544 #: ../src/playlist_control.py:11 21580 #: ../src/playlist_control.py:1134 545 581 msgid "All" 546 582 msgstr "" 547 583 548 #: ../src/playlist_control.py:11 22584 #: ../src/playlist_control.py:1135 549 585 msgid "Audio" 550 586 msgstr "" 551 587 552 #: ../src/playlist_control.py:11 23588 #: ../src/playlist_control.py:1136 553 589 msgid "Playlists" 554 590 msgstr "" … … 557 593 #. the checkbox is toggles and files when not since this is not 558 594 #. possible by default 559 #: ../src/playlist_control.py:11 28595 #: ../src/playlist_control.py:1141 560 596 msgid "Make the _dialog be able/unable to select directories" 561 597 msgstr "" 562 598 563 #: ../src/playlist_control.py:12 75599 #: ../src/playlist_control.py:1288 564 600 msgid "No match found" 565 601 msgstr "" 566 602 567 #: ../src/playlist_control.py:12 76603 #: ../src/playlist_control.py:1289 568 604 #, python-format 569 605 msgid "The string '%s' does not match any playlist entries." … … 696 732 #: ../src/preference_window.py:134 697 733 msgid "Plugin deactivation error" 698 msgstr ""699 700 #: ../src/status_icon.py:71701 msgid "Show Mesk Player"702 734 msgstr "" 703 735 trunk/src/mesk/audio/__init__.py
r496 r499 51 51 52 52 # Initialize audio format modules 53 modules = ['mp 3',53 modules = ['mpeg', 54 54 'oggvorbis', 55 55 ] trunk/src/mesk/audio/mpeg.py
r495 r499 25 25 from mesk.i18n import _ 26 26 27 # Test for mp 3support in gstreamer27 # Test for mpeg support in gstreamer 28 28 try: 29 29 gst.element_factory_make('mad') 30 30 except Exception, ex: 31 print >> sys.stderr, 'No MP3audio support'31 print >> sys.stderr, 'No mpeg (mp3) audio support' 32 32 raise 33 33 … … 45 45 from eyeD3.frames import ImageFrame 46 46 47 NAME = 'MP 3'47 NAME = 'MPEG' 48 48 MIME_TYPE = 'audio/mpeg' 49 49 EXTENSIONS = ['.mp3', '.mp2'] 50 50 51 51 from source import AudioSource, AudioMetaData 52 class Mp 3AudioSource(AudioSource):52 class MpegAudioSource(AudioSource): 53 53 def __init__(self, uri, meta_data=None): 54 54 AudioSource.__init__(self, uri, meta_data) … … 56 56 if not self.meta_data: 57 57 if self.uri.scheme == 'file': 58 self.meta_data = Mp 3MetaData(self.uri)58 self.meta_data = MpegMetaData(self.uri) 59 59 elif self.uri.scheme in ['http', 'https']: 60 self.meta_data = Mp 3MetaData()60 self.meta_data = MpegMetaData() 61 61 else: 62 62 raise UnsupportedScheme('\'%s\' URI scheme is not supported' % \ … … 103 103 104 104 from eyeD3 import TagException, InvalidAudioFormatException 105 class Mp 3MetaData(AudioMetaData):105 class MpegMetaData(AudioMetaData): 106 106 107 107 def __init__(self, uri=None): … … 116 116 audio_file = eyeD3.Mp3AudioFile(uri_path) 117 117 except (TagException, InvalidAudioFormatException), ex: 118 mesk.log.warning('Error reading mp 3source for \'%s\': %s' %118 mesk.log.warning('Error reading mpeg source for \'%s\': %s' % 119 119 (uri_path, str(ex))) 120 120 else: … … 131 131 self.frozen = True 132 132 133 # The factory class for mp 3files134 factory = Mp 3AudioSource133 # The factory class for mpeg files 134 factory = MpegAudioSource 135 135
