Skip to content

Commit

Permalink
translation update
Browse files Browse the repository at this point in the history
  • Loading branch information
jbleyel committed Jul 29, 2024
1 parent ade2372 commit 803543a
Show file tree
Hide file tree
Showing 47 changed files with 904 additions and 775 deletions.
20 changes: 10 additions & 10 deletions lib/python/Components/ImportChannels.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ def getFallbackSettingsValue(settings, settingName):
def importChannelsDone(SuccessFlag, message):
rmtree(tmpDir, True)
if SuccessFlag:
AddNotificationWithID("ChannelsImportOK", MessageBox, _("%s imported from fallback tuner"), type=MessageBox.TYPE_INFO, timeout=5)
AddNotificationWithID("ChannelsImportOK", MessageBox, _("%s imported from remote receiver.") % message, type=MessageBox.TYPE_INFO, timeout=5)
else:
AddNotificationWithID("ChannelsImportNOK", MessageBox, _("Import from fallback tuner failed, %s") % message, type=MessageBox.TYPE_ERROR, timeout=5)
AddNotificationWithID("ChannelsImportNOK", MessageBox, message, type=MessageBox.TYPE_ERROR, timeout=5)

global THREAD_STOPPED
THREAD_STOPPED = False
Expand All @@ -77,9 +77,9 @@ def importChannelsDone(SuccessFlag, message):
#
fallbackSetting = getFallbackSettingsValue(settings, ".terrestrial")
if "Australia" in fallbackSetting:
config.usage.remote_fallback_dvbt_region.value = "fallback DVB-T/T2 Australia"
config.usage.remote_fallback_dvbt_region.value = "Fallback DVB-T/T2 Australia"
elif "Europe" in fallbackSetting:
config.usage.remote_fallback_dvbt_region.value = "fallback DVB-T/T2 Europe"
config.usage.remote_fallback_dvbt_region.value = "Fallback DVB-T/T2 Europe"
#
tmpDir = mkdtemp(prefix="FallbackReceiver_")
if "epg" in remoteFallbackImport:
Expand All @@ -89,10 +89,10 @@ def importChannelsDone(SuccessFlag, message):
if response:
success = loads(response)
if success and not success.get("result", False):
importChannelsDone(False, _("Error when writing 'epg.dat' on the fallback receiver"))
importChannelsDone(False, _("Error writing 'epg.dat' on the remote receiver!"))
except Exception as err:
print(f"[ImportChannels] Error: Unable to save server 'epg.dat'! ({err})")
importChannelsDone(False, _("Exception Error when writing /etc/enigma2/epg.dat on the fallback receiver"))
importChannelsDone(False, _("Error writing '/etc/enigma2/epg.dat' on the remote receiver!"))
return
print("[ImportChannels] Fetching EPG location.")
epgLocation = None
Expand All @@ -110,7 +110,7 @@ def importChannelsDone(SuccessFlag, message):
epgLocation = files[0] if files else None
except Exception as err:
print(f"[ImportChannels] Error: Unable to fetch remote directory list! ({err})")
importChannelsDone(False, _("Error while retrieving location of 'epg.dat' on the fallback receiver"))
importChannelsDone(False, _("Error retrieving location of 'epg.dat' on the remote receiver!"))
return
if epgLocation:
print("[ImportChannels] Copy EPG file.")
Expand All @@ -120,7 +120,7 @@ def importChannelsDone(SuccessFlag, message):
open(join(tmpDir, "epg.dat"), "wb").write(response)
except Exception as err:
print(f"[ImportChannels] Error: Unable to fetch remote 'epg.dat' file! ({err})")
importChannelsDone(False, _("Error while retrieving epg.dat from the fallback receiver"))
importChannelsDone(False, _("Error retrieving 'epg.dat' from the remote receiver!"))
return
try:
move(join(tmpDir, "epg.dat"), config.misc.epgcache_filename.value)
Expand All @@ -129,11 +129,11 @@ def importChannelsDone(SuccessFlag, message):
move(join(tmpDir, "epg.dat"), "/epg.dat")
except OSError as err:
print(f"[ImportChannels] Error: Unable to move 'epg.dat' file! ({err})")
importChannelsDone(False, _("Error while moving 'epg.dat' to its destination"))
importChannelsDone(False, _("Error moving 'epg.dat' to its destination!"))
return
print("[ImportChannels] EPG files successfully overwritten on local receiver.")
else:
importChannelsDone(False, _("No 'epg.dat' file found on the fallback receiver"))
importChannelsDone(False, _("No 'epg.dat' file found on the remote receiver!"))
if "channels" in remoteFallbackImport:
print("[ImportChannels] Creating channel-files (tar) on server.")
cmd = f"{self.url}/bouqueteditor/api/backup?Filename={self.IMPORT_FILE}" # Create tar-file on server.
Expand Down
2 changes: 1 addition & 1 deletion lib/python/Components/UsageConfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,7 @@ def remote_fallback_changed(configElement):
config.usage.remote_fallback_openwebif_userid = ConfigText(default="root")
config.usage.remote_fallback_openwebif_password = ConfigPassword(default="default")
config.usage.remote_fallback_openwebif_port = ConfigInteger(default=80, limits=(0, 65535))
config.usage.remote_fallback_dvbt_region = ConfigText(default="fallback DVB-T/T2 Europe")
config.usage.remote_fallback_dvbt_region = ConfigText(default="Fallback DVB-T/T2 Europe")

def setHttpStartDelay(configElement):
eSettings.setHttpStartDelay(configElement.value)
Expand Down
41 changes: 22 additions & 19 deletions po/ar.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: OpenATV\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-07-10 17:04+0000\n"
"POT-Creation-Date: 2024-07-24 15:20+0000\n"
"PO-Revision-Date: 2024-02-10 07:43+0000\n"
"Last-Translator: \"Mahmoud Habls (7OODA)\" <[email protected]>\n"
"Language-Team: Arabic <https://hosted.weblate.org/projects/openatv/enigma2-7-0-po/ar/>\n"
Expand Down Expand Up @@ -1345,7 +1345,7 @@ msgid "%s has been disabled."
msgstr ""

#, python-format
msgid "%s imported from fallback tuner"
msgid "%s imported from remote receiver."
msgstr ""

#. TRANSLATORS: The satellite with name '%s' is no longer used after a configuration change. The user is asked whether or not the satellite should be deleted.
Expand Down Expand Up @@ -7835,13 +7835,13 @@ msgstr ""
msgid "Error unzipping image '%s'!"
msgstr ""

msgid "Error when writing epg.dat on the fallback receiver"
msgid "Error writing 'epg.dat' on the remote receiver!"
msgstr ""

msgid "Error while moving epg.dat to its destination"
msgid "Error moving 'epg.dat' to its destination!"
msgstr ""

msgid "Error while retrieving epg.dat from the fallback receiver"
msgid "Error retrieving 'epg.dat' from the remote receiver!"
msgstr ""

#, python-format
Expand All @@ -7850,7 +7850,7 @@ msgid ""
"%s"
msgstr ""

msgid "Error while retrieving location of epg.dat on the fallback receiver"
msgid "Error retrieving location of 'epg.dat' on the remote receiver!"
msgstr ""

msgid "Error, unknown Result!"
Expand Down Expand Up @@ -9631,7 +9631,7 @@ msgstr ""
msgid "I/O priority for scripts"
msgstr ""

msgid "I55SE/H7/H9/H9SE/H9COMBO/H9COMBOSE/H10/H11 new Model"
msgid "I55SE/H7/H17/H9/H9SE/H9COMBO/H9COMBOSE/H10/H11 new Model"
msgstr ""

msgid "IMDb Details"
Expand Down Expand Up @@ -9931,7 +9931,7 @@ msgid "Import channels and/or EPG from remote receiver URL when receiver or enig
msgstr ""

#, python-format
msgid "Import from fallback tuner failed, %s"
msgid "Import from remote receiver failed, %s!"
msgstr ""

msgid "Import from remote receiver URL"
Expand Down Expand Up @@ -11590,6 +11590,9 @@ msgstr ""
msgid "Miscellaneous"
msgstr ""

msgid "Miscellaneous languages"
msgstr ""

msgid "Misconfiguration in channel allocation"
msgstr ""

Expand Down Expand Up @@ -12537,7 +12540,7 @@ msgstr "لا يوجد ملفات للعرض على هذا الوسيط !"
msgid "No entry in lcn db. Please do a service scan."
msgstr ""

msgid "No epg.dat file found on the fallback receiver"
msgid "No 'epg.dat' file found on the remote receiver!"
msgstr ""

#
Expand Down Expand Up @@ -18399,6 +18402,16 @@ msgstr "شاهد شريط المعلومات عند تغيير الحدث"
msgid "Show picon background color"
msgstr ""

#
#, fuzzy
msgid "Show picons in quickzap"
msgstr "قناه غير موجوده فى قائمة الخدمات"

#
#, fuzzy
msgid "Show picons in service list"
msgstr "قناه غير موجوده فى قائمة الخدمات"

msgid "Show picture information"
msgstr ""

Expand Down Expand Up @@ -24509,16 +24522,6 @@ msgstr ""
msgid "show cards with uphop 9"
msgstr ""

#
#, fuzzy
msgid "Show picons in quickzap"
msgstr "قناه غير موجوده فى قائمة الخدمات"

#
#, fuzzy
msgid "Show picons in service list"
msgstr "قناه غير موجوده فى قائمة الخدمات"

msgid "show program information..."
msgstr ""

Expand Down
33 changes: 18 additions & 15 deletions po/bg.po
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ msgid ""
msgstr ""
"Project-Id-Version: openATV / enigma2\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-07-10 17:04+0000\n"
"POT-Creation-Date: 2024-07-24 15:20+0000\n"
"PO-Revision-Date: 2023-08-06 06:22+0000\n"
"Last-Translator: Salif Mehmed <[email protected]>\n"
"Language-Team: Bulgarian <https://hosted.weblate.org/projects/openatv/enigma2-7-0-po/bg/>\n"
Expand Down Expand Up @@ -1186,7 +1186,7 @@ msgid "%s has been disabled."
msgstr ""

#, python-format
msgid "%s imported from fallback tuner"
msgid "%s imported from remote receiver."
msgstr ""

#. TRANSLATORS: The satellite with name '%s' is no longer used after a configuration change. The user is asked whether or not the satellite should be deleted.
Expand Down Expand Up @@ -7421,13 +7421,13 @@ msgstr ""
msgid "Error unzipping image '%s'!"
msgstr ""

msgid "Error when writing epg.dat on the fallback receiver"
msgid "Error writing 'epg.dat' on the remote receiver!"
msgstr ""

msgid "Error while moving epg.dat to its destination"
msgid "Error moving 'epg.dat' to its destination!"
msgstr ""

msgid "Error while retrieving epg.dat from the fallback receiver"
msgid "Error retrieving 'epg.dat' from the remote receiver!"
msgstr ""

#, python-format
Expand All @@ -7438,7 +7438,7 @@ msgstr ""
"Грешка при извличане на информация за резервния таймер\n"
"%s"

msgid "Error while retrieving location of epg.dat on the fallback receiver"
msgid "Error retrieving location of 'epg.dat' on the remote receiver!"
msgstr ""

msgid "Error, unknown Result!"
Expand Down Expand Up @@ -9157,7 +9157,7 @@ msgstr ""
msgid "I/O priority for scripts"
msgstr ""

msgid "I55SE/H7/H9/H9SE/H9COMBO/H9COMBOSE/H10/H11 new Model"
msgid "I55SE/H7/H17/H9/H9SE/H9COMBO/H9COMBOSE/H10/H11 new Model"
msgstr ""

msgid "IMDb Details"
Expand Down Expand Up @@ -9446,7 +9446,7 @@ msgid "Import channels and/or EPG from remote receiver URL when receiver or enig
msgstr "Импортиране на канали и/или EPG от резервния приемник при рестарт на приемника или enigma2"

#, python-format
msgid "Import from fallback tuner failed, %s"
msgid "Import from remote receiver failed, %s!"
msgstr ""

msgid "Import from remote receiver URL"
Expand Down Expand Up @@ -11000,6 +11000,9 @@ msgstr ""
msgid "Miscellaneous"
msgstr "Разни"

msgid "Miscellaneous languages"
msgstr ""

msgid "Misconfiguration in channel allocation"
msgstr "Неправилна конфигурация в разпределението на каналите"

Expand Down Expand Up @@ -11885,7 +11888,7 @@ msgstr "Няма намерени файлове на този носител!"
msgid "No entry in lcn db. Please do a service scan."
msgstr "Няма вписване в LCN db.Моля, сканирай сервиза."

msgid "No epg.dat file found on the fallback receiver"
msgid "No 'epg.dat' file found on the remote receiver!"
msgstr ""

msgid "No error"
Expand Down Expand Up @@ -17494,6 +17497,12 @@ msgstr "Показване на инфобара за постоянно по в
msgid "Show picon background color"
msgstr "Показване на цвета на фона на пиконите"

msgid "Show picons in quickzap"
msgstr "показване на пикони в бързо превключване"

msgid "Show picons in service list"
msgstr "показване на пикони в сервизния списък"

msgid "Show picture information"
msgstr ""

Expand Down Expand Up @@ -23362,12 +23371,6 @@ msgstr "показване на карти с uphop 8"
msgid "show cards with uphop 9"
msgstr "показване на карти с uphop 9"

msgid "Show picons in quickzap"
msgstr "показване на пикони в бързо превключване"

msgid "Show picons in service list"
msgstr "показване на пикони в сервизния списък"

msgid "show program information..."
msgstr "покажи информация за програмата..."

Expand Down
Loading

0 comments on commit 803543a

Please sign in to comment.