Skip to content

Commit

Permalink
Fix some text issues.
Browse files Browse the repository at this point in the history
Thank you Alain-Olivier !
  • Loading branch information
kassoulet committed Apr 30, 2020
1 parent 2c39364 commit bc2f10e
Show file tree
Hide file tree
Showing 59 changed files with 2,372 additions and 1,820 deletions.
16 changes: 8 additions & 8 deletions bin/soundconverter.py
Expand Up @@ -126,11 +126,11 @@ def parse_command_line():
parser.add_option('-c', '--check', dest='mode', action='callback',
callback=mode_callback, callback_kwargs={'mode':'check'},
help=_('Print which files cannot be read by gstreamer. '
'Useful before converting. This will disable the gui and '
'run in batch mode.'))
'Useful before converting. This will disable the GUI and '
'run in batch mode, from the command line.'))
parser.add_option('-b', '--batch', dest='mode', action='callback',
callback=mode_callback, callback_kwargs={'mode':'batch'},
help=_('Convert in batch mode, from command line, '
help=_('Convert in batch mode, from the command line, '
'without a graphical user interface. You '
'can use this from, say, shell scripts.'))
parser.add_option('-t', '--tags', dest="mode", action='callback',
Expand All @@ -151,10 +151,10 @@ def parse_command_line():
'option is provided')
batch_option_group.add_option('-m', '--mime-type', dest="cli-output-type",
help=_('Set the output MIME type. The default '
'is %s. Note that you probably want to set the output '
'suffix as well. Supported shortcuts and mime types: aac '
'audio/x-m4a flac audio/x-flac mp3 audio/mpeg vorbis audio/x-vorbis '
'wav audio/x-wav') % settings['cli-output-type'])
'is %s. Note that you will probably want to set the output '
'suffix as well. Supported MIME types: %s') % (settings['cli-output-type'],
'audio/x-m4a (AAC) audio/x-flac (FLAC) audio/mpeg (MP3) audio/x-vorbis (Vorbis)'
'audio/x-wav (WAV)'))
batch_option_group.add_option('-s', '--suffix', dest="cli-output-suffix",
help=_('Set the output filename suffix. '
'The default is %s. Note that the suffix does not '
Expand Down Expand Up @@ -202,7 +202,7 @@ def parse_command_line():
gui_main(NAME, VERSION, GLADEFILE, files)
else:
if not files:
print('nothing to do...')
print('nothing to do')
if settings['mode'] == 'tags':
cli_tags_main(files)
elif settings['mode'] == 'batch':
Expand Down
2 changes: 1 addition & 1 deletion data/soundconverter.glade
Expand Up @@ -787,7 +787,7 @@ Gautier Portet</property>
<object class="GtkLabel" id="label19">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">Choose...</property>
<property name="label" translatable="yes">Choose</property>
<property name="use_underline">True</property>
</object>
<packing>
Expand Down
4 changes: 4 additions & 0 deletions docker/Dockerfile
@@ -0,0 +1,4 @@
FROM ubuntu:15.10

#RUN apt-get update && apt-get install -y soundconverter

74 changes: 42 additions & 32 deletions po/ar.po
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: soundconverter\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-02-01 17:29+0100\n"
"POT-Creation-Date: 2020-04-30 13:26+0200\n"
"PO-Revision-Date: 2015-12-03 06:39+0000\n"
"Last-Translator: Mohamed Touhami MAHDI <Unknown>\n"
"Language-Team: Arabic <ar@li.org>\n"
Expand Down Expand Up @@ -175,7 +175,8 @@ msgid "Same folder as the input file"
msgstr "مشاركة المجلد"

#: ../data/soundconverter.glade.h:38
msgid "Choose..."
#, fuzzy
msgid "Choose…"
msgstr "إختر..."

#: ../data/soundconverter.glade.h:39
Expand Down Expand Up @@ -310,8 +311,8 @@ msgstr ""
msgid "Quit"
msgstr ""

#: ../data/soundconverter.glade.h:72 ../soundconverter/ui.py:1399
#: ../soundconverter/ui.py:1421 ../soundconverter/ui.py:1427
#: ../data/soundconverter.glade.h:72 ../soundconverter/ui.py:1401
#: ../soundconverter/ui.py:1423 ../soundconverter/ui.py:1429
msgid "SoundConverter"
msgstr "محول الصوتيات"

Expand Down Expand Up @@ -346,13 +347,13 @@ msgstr "_مساعدة"
#: ../bin/soundconverter.py:128
msgid ""
"Print which files cannot be read by gstreamer. Useful before converting. "
"This will disable the gui and run in batch mode."
"This will disable the GUI and run in batch mode, from the command line."
msgstr ""

#: ../bin/soundconverter.py:133
#, fuzzy
msgid ""
"Convert in batch mode, from command line, without a graphical user "
"Convert in batch mode, from the command line, without a graphical user "
"interface. You can use this from, say, shell scripts."
msgstr ""
"تحويل في طور الصدفة, من سطر الأوامر, بدون واجهة رسومية للمستخدم\n"
Expand Down Expand Up @@ -382,9 +383,8 @@ msgstr "إجبار عدد التحويلات المتزامنة."
#: ../bin/soundconverter.py:153
#, python-format
msgid ""
"Set the output MIME type. The default is %s. Note that you probably want to "
"set the output suffix as well. Supported shortcuts and mime types: aac audio/"
"x-m4a flac audio/x-flac mp3 audio/mpeg vorbis audio/x-vorbis wav audio/x-wav"
"Set the output MIME type. The default is %s. Note that you will probably "
"want to set the output suffix as well. Supported MIME types: %s"
msgstr ""

#: ../bin/soundconverter.py:159
Expand Down Expand Up @@ -434,25 +434,25 @@ msgstr ""
msgid "Plugin installation aborted."
msgstr "أجهض تثبيت المكون الإضافي."

#: ../soundconverter/gstreamer.py:563
#: ../soundconverter/gstreamer.py:564
#, python-format
msgid "Cannot create '%s' folder."
msgstr "لا يمكن إنشاء مجلد '%s'"

#: ../soundconverter/gstreamer.py:599
#: ../soundconverter/gstreamer.py:600
msgid "GStreamer Error:"
msgstr "خطء في جيستريمر"

#: ../soundconverter/gstreamer.py:808
#: ../soundconverter/gstreamer.py:810
#, python-format
msgid "Conversion done in %s"
msgstr "تم التحويل في %s"

#: ../soundconverter/namegenerator.py:71
#: ../soundconverter/namegenerator.py:77
msgid "Unknown Album"
msgstr "ألبوم مجهول"

#: ../soundconverter/namegenerator.py:72 ../soundconverter/namegenerator.py:73
#: ../soundconverter/namegenerator.py:78 ../soundconverter/namegenerator.py:79
msgid "Unknown Artist"
msgstr "فنّان مجهول"

Expand All @@ -479,12 +479,13 @@ msgstr ""
"%s\n"

#: ../soundconverter/ui.py:211
msgid "Scanning files..."
msgid "Scanning files"
msgstr ""

#: ../soundconverter/ui.py:280
msgid "Adding Files..."
msgstr ""
#, fuzzy
msgid "Adding Files…"
msgstr "إضافة ملف"

#. case 1: the single file that should be added is not supported
#: ../soundconverter/ui.py:328
Expand All @@ -505,8 +506,8 @@ msgid "Either because they are broken or not audio files."
msgstr ""

#: ../soundconverter/ui.py:343
msgid "One audiofile could not be read by gstreamer!"
msgid_plural "{} audiofiles could not be read by gstreamer!"
msgid "One audio file could not be read by GStreamer!"
msgid_plural "{} audio files could not be read by GStreamer!"
msgstr[0] ""
msgstr[1] ""

Expand Down Expand Up @@ -546,9 +547,10 @@ msgstr "فنان-ألبوم"
msgid "Available patterns:"
msgstr "الأنماط المتوفرة :"

#: ../soundconverter/ui.py:486 ../soundconverter/ui.py:1086
msgid "Add Folder..."
msgstr "إضافة مجلد..."
#: ../soundconverter/ui.py:486 ../soundconverter/ui.py:1088
#, fuzzy
msgid "Add Folder…"
msgstr "إضافة مجلد"

#: ../soundconverter/ui.py:659
#, python-format
Expand All @@ -560,36 +562,44 @@ msgstr "في المجلد %s"
msgid "Target bitrate: %s"
msgstr "معدال البت المطلوب: '%s'"

#: ../soundconverter/ui.py:1107
#: ../soundconverter/ui.py:1109
#, fuzzy
msgid "Add Files..."
msgstr "إضافة مجلد..."
msgid "Add Files"
msgstr "إضافة ملف"

#: ../soundconverter/ui.py:1286
msgid "Preparing conversion..."
#: ../soundconverter/ui.py:1288
#, fuzzy
msgid "Preparing conversion…"
msgstr "إعداد التحويل"

#: ../soundconverter/ui.py:1307
#: ../soundconverter/ui.py:1309
msgid "Converting"
msgstr "تحويل"

#: ../soundconverter/ui.py:1325
#: ../soundconverter/ui.py:1327
msgid "Canceled"
msgstr "تم إلغاء الأمر"

#: ../soundconverter/ui.py:1398 ../soundconverter/ui.py:1399
#: ../soundconverter/ui.py:1400 ../soundconverter/ui.py:1401
msgid "Paused"
msgstr "متوقّف مؤقتا"

#: ../soundconverter/ui.py:1417
#: ../soundconverter/ui.py:1419
#, python-format
msgid "%d:%02d left"
msgstr "%d:%02d متبقية"

#: ../soundconverter/ui.py:1425
#: ../soundconverter/ui.py:1427
msgid "Ready"
msgstr "جاهز"

#~ msgid "Add Folder..."
#~ msgstr "إضافة مجلد..."

#, fuzzy
#~ msgid "Add Files..."
#~ msgstr "إضافة مجلد..."

#~ msgid "dialog1"
#~ msgstr "حوار1"

Expand Down

0 comments on commit bc2f10e

Please sign in to comment.