Skip to content

Commit

Permalink
luci-app-ddns: string fixes (sp/gr)
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Donald <[email protected]>
  • Loading branch information
systemcrash committed Sep 4, 2024
1 parent 96be7a3 commit e8e6c1a
Show file tree
Hide file tree
Showing 38 changed files with 653 additions and 653 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,12 @@ return view.extend({
services: {},

/*
* Services list is gen by 3 different source:
* Services list is generated by 3 different sources:
* 1. /usr/share/ddns/default contains the service installed by opkg
* 2. /usr/share/ddns/custom contains any service installed by the
* user or the ddns script (for example when service are
* user or the ddns script (for example when services are
* downloaded)
* 3. /usr/share/ddns/list contains all the service that can be
* 3. /usr/share/ddns/list contains all the services that can be
* downloaded by using the ddns script ('service on demand' feature)
*
* (Special services that requires a dedicated package ARE NOT
Expand Down Expand Up @@ -101,10 +101,10 @@ return view.extend({
},

/*
* Check if the service is supported.
* If the script doesn't find any json assume a 'service on demand' install.
* If a json is found check if the ip type is supported.
* Invalidate the service_name if is not supported.
* Check whether or not the service is supported.
* If the script doesn't find any JSON, assume a 'service on demand' install.
* If a JSON is found, check if the IP type is supported.
* Invalidate the service_name if it is not supported.
*/
handleCheckService : function(s, service_name, ipv6, ev, section_id) {

Expand Down Expand Up @@ -399,7 +399,7 @@ return view.extend({
// Advanced Configuration Section

o = s.taboption('global', form.Flag, 'upd_privateip', _("Allow non-public IP's"));
o.description = _("Non-public and by default blocked IP's") + ':'
o.description = _("Non-public and by default blocked IPs") + ':'
+ '<br /><strong>IPv4: </strong>'
+ '0/8, 10/8, 100.64/10, 127/8, 169.254/16, 172.16/12, 192.168/16'
+ '<br /><strong>IPv6: </strong>'
Expand All @@ -417,13 +417,13 @@ return view.extend({
o.rmempty = true;

o = s.taboption('global', form.Value, 'ddns_rundir', _('Status directory'));
o.description = _('Directory contains PID and other status information for each running section.');
o.description = _('Contains PID and other status information for each running section.');
o.default = "/var/run/ddns";
o.optional = true;
o.rmempty = true;

o = s.taboption('global', form.Value, 'ddns_logdir', _('Log directory'));
o.description = _('Directory contains Log files for each running section.');
o.description = _('Contains Log files for each running section.');
o.default = "/var/log/ddns";
o.optional = true;
o.rmempty = true;
Expand All @@ -449,12 +449,12 @@ return view.extend({

}

o = s.taboption('global', form.Value, 'cacert', _('Ca Certs path'));
o.description = _('Ca Certs path that will be used to download services data. Set IGNORE to skip certificate validation.');
o = s.taboption('global', form.Value, 'cacert', _('CA Certs path'));
o.description = _('CA certificates path that will be used to download services data. Set IGNORE to skip certificate validation.');
o.placeholder = 'IGNORE';

o = s.taboption('global', form.Value, 'services_url', _('Services URL Download'));
o.description = _('Url used to download services file. By default is the master openwrt ddns package repo.');
o.description = _('Source URL for services file. Defaults to the master openwrt ddns package repo.');
o.placeholder = 'https://raw.githubusercontent.com/openwrt/packages/master/net/ddns-scripts/files';

// DDns services
Expand Down Expand Up @@ -523,7 +523,7 @@ return view.extend({
service_name.validate = function(section_id, value) {
if (value == '') return _("Select a service");
if (s2.service_supported == null) return _("Checking the service support...");
if (!s2.service_supported) return _("Service doesn't support this ip type");
if (!s2.service_supported) return _("Service doesn't support this IP type");
return true;
};

Expand Down Expand Up @@ -611,7 +611,7 @@ return view.extend({

o = s.taboption('basic', form.Flag, 'enabled',
_('Enabled'),
_("If this service section is disabled it could not be started.")
_("If this service section is disabled it will not be started.")
+ "<br />" +
_("Neither from LuCI interface nor from console."));
o.modalonly = true;
Expand All @@ -620,7 +620,7 @@ return view.extend({

o = s.taboption('basic', form.Value, 'lookup_host',
_("Lookup Hostname"),
_("Hostname/FQDN to validate, if IP update happen or necessary"));
_("Hostname/FQDN to validate, whether an IP update is necessary"));
o.rmempty = false;
o.placeholder = "myhost.example.com";
o.datatype = 'and(minlength(3),hostname("strict"))';
Expand Down Expand Up @@ -657,7 +657,7 @@ return view.extend({
if (value == '') return _("Select a service");
if (s.service_available == null) return _("Checking the service support...");
if (!s.service_available) return _('Service not installed');
if (!s.service_supported) return _("Service doesn't support this ip type");
if (!s.service_supported) return _("Service doesn't support this IP type");
return true;
};

Expand All @@ -677,7 +677,7 @@ return view.extend({
if (!s.service_supported) {
o = s.taboption('basic', form.DummyValue, '_not_supported', '&nbsp');
o.cfgvalue = function () {
return _("Service doesn't support this ip type")
return _("Service doesn't support this IP type")
};
}

Expand All @@ -699,9 +699,9 @@ return view.extend({

o = s.taboption('basic', form.Value, 'update_url',
_("Custom update-URL"),
_("Update URL to be used for updating your DDNS Provider.")
_("Update URL for updating your DDNS Provider.")
+ "<br />" +
_("Follow instructions you will find on their WEB page."));
_("Follow instructions found on their WEB page."));
o.modalonly = true;
o.rmempty = true;
o.optional = true;
Expand All @@ -710,15 +710,15 @@ return view.extend({
var other = this.section.children.filter(function(o) { return o.option == 'update_script' })[0].formvalue(section_id);

if ((value == "" && other == "") || (value != "" && other != "")) {
return _("Insert a Update Script OR a Update URL");
return _("Insert an Update Script OR an Update URL");
}

return true;
};

o = s.taboption('basic', form.Value, 'update_script',
_("Custom update-script"),
_("Custom update script to be used for updating your DDNS Provider."));
_("Custom update script for updating your DDNS Provider."));
o.modalonly = true;
o.rmempty = true;
o.optional = true;
Expand All @@ -727,7 +727,7 @@ return view.extend({
var other = this.section.children.filter(function(o) { return o.option == 'update_url' })[0].formvalue(section_id);

if ((value == "" && other == "") || (value != "" && other != "")) {
return _("Insert a Update Script OR a Update URL");
return _("Insert an Update Script OR an Update URL");
}

return true;
Expand Down Expand Up @@ -1006,14 +1006,14 @@ return view.extend({
force_to_sec = _this.time_res[force_unit || 'minutes'] * formvalue;

if (force_to_sec != 0 && force_to_sec < check_to_sec)
return _("Values lower 'Check Interval' except '0' are not supported");
return _("Values lower than 'Check Interval' except '0' are invalid");

return true;
};

o = s.taboption("timer", form.ListValue, "force_unit",
_('Force Unit'),
_("Interval unit to force updates sent to DDNS Provider."));
_("Interval unit for forced updates sent to DDNS Provider."));
o.modalonly = true;
o.optional = true;
o.default = "minutes"
Expand All @@ -1033,7 +1033,7 @@ return view.extend({

o = s.taboption("timer", form.Value, "retry_interval",
_("Error Retry Interval"),
_("The interval between which each successive retry commences."));
_("The interval between which each subsequent retry commences."));
o.placeholder = "60";
o.optional = true;
o.modalonly = true;
Expand Down
32 changes: 16 additions & 16 deletions applications/luci-app-ddns/po/ar/ddns.po
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,12 @@ msgstr ""
"المحددة بشكل صحيح!"

#: applications/luci-app-ddns/htdocs/luci-static/resources/view/ddns/overview.js:452
msgid "Ca Certs path"
msgid "CA Certs path"
msgstr "مسار شهادات Ca"

#: applications/luci-app-ddns/htdocs/luci-static/resources/view/ddns/overview.js:453
msgid ""
"Ca Certs path that will be used to download services data. Set IGNORE to "
"CA certificates path that will be used to download services data. Set IGNORE to "
"skip certificate validation."
msgstr ""
"مسار شهادات Ca الذي سيتم استخدامه لتنزيل بيانات الخدمات. قم بتعيين IGNORE "
Expand Down Expand Up @@ -116,7 +116,7 @@ msgid "Currently DDNS updates are not started at boot or on interface events."
msgstr "لا يتم حاليًا بدء تحديثات DDNS عند التمهيد أو في أحداث الواجهة."

#: applications/luci-app-ddns/htdocs/luci-static/resources/view/ddns/overview.js:721
msgid "Custom update script to be used for updating your DDNS Provider."
msgid "Custom update script for updating your DDNS Provider."
msgstr "برنامج نصي للتحديث مخصص ليتم استخدامه لتحديث مزود DDNS."

#: applications/luci-app-ddns/htdocs/luci-static/resources/view/ddns/overview.js:701
Expand Down Expand Up @@ -186,12 +186,12 @@ msgid "Defines which IP address 'IPv4/IPv6' is send to the DDNS provider"
msgstr "يحدد عنوان IP الذي يتم إرساله \"IPv4 / IPv6\" إلى مزود DDNS"

#: applications/luci-app-ddns/htdocs/luci-static/resources/view/ddns/overview.js:426
msgid "Directory contains Log files for each running section."
msgid "Contains Log files for each running section."
msgstr "يحتوي الدليل على ملفات السجل لكل قسم قيد التشغيل."

#: applications/luci-app-ddns/htdocs/luci-static/resources/view/ddns/overview.js:420
msgid ""
"Directory contains PID and other status information for each running section."
"Contains PID and other status information for each running section."
msgstr "يحتوي الدليل على PID ومعلومات الحالة الأخرى لكل قسم قيد التشغيل."

#: applications/luci-app-ddns/htdocs/luci-static/resources/view/ddns/overview.js:17
Expand Down Expand Up @@ -255,7 +255,7 @@ msgid "File"
msgstr "ملف"

#: applications/luci-app-ddns/htdocs/luci-static/resources/view/ddns/overview.js:704
msgid "Follow instructions you will find on their WEB page."
msgid "Follow instructions found on their WEB page."
msgstr "اتبع التعليمات التي ستجدها على صفحة الويب الخاصة بهم."

#: applications/luci-app-ddns/htdocs/luci-static/resources/view/ddns/overview.js:412
Expand Down Expand Up @@ -309,7 +309,7 @@ msgid "HTTPS not supported"
msgstr "HTTPS غير مدعوم"

#: applications/luci-app-ddns/htdocs/luci-static/resources/view/ddns/overview.js:623
msgid "Hostname/FQDN to validate, if IP update happen or necessary"
msgid "Hostname/FQDN to validate, whether an IP update is necessary"
msgstr "اسم المضيف / FQDN للتحقق ، إذا حدث تحديث IP أو ضروريًا"

#: applications/luci-app-ddns/htdocs/luci-static/resources/view/ddns/overview.js:790
Expand Down Expand Up @@ -351,7 +351,7 @@ msgstr ""
"إذا تم تثبيت حزمة Wget و cURL ، فسيتم استخدام Wget بشكل افتراضي للاتصال."

#: applications/luci-app-ddns/htdocs/luci-static/resources/view/ddns/overview.js:614
msgid "If this service section is disabled it could not be started."
msgid "If this service section is disabled it will not be started."
msgstr "إذا تم تعطيل قسم الخدمة هذا ، فلا يمكن بدء تشغيله."

#: applications/luci-app-ddns/htdocs/luci-static/resources/view/ddns/overview.js:393
Expand All @@ -376,7 +376,7 @@ msgstr "معلومة"

#: applications/luci-app-ddns/htdocs/luci-static/resources/view/ddns/overview.js:713
#: applications/luci-app-ddns/htdocs/luci-static/resources/view/ddns/overview.js:730
msgid "Insert a Update Script OR a Update URL"
msgid "Insert an Update Script OR an Update URL"
msgstr "أدخل برنامج نصي للتحديث أو عنوان URL للتحديث"

#: applications/luci-app-ddns/htdocs/luci-static/resources/view/ddns/overview.js:395
Expand Down Expand Up @@ -405,7 +405,7 @@ msgid "Interval unit to check for changed IP"
msgstr "وحدة الفاصل الزمني للتحقق من تغيير IP"

#: applications/luci-app-ddns/htdocs/luci-static/resources/view/ddns/overview.js:1016
msgid "Interval unit to force updates sent to DDNS Provider."
msgid "Interval unit for forced updates sent to DDNS Provider."
msgstr "وحدة الفاصل الزمني لفرض التحديثات المرسلة إلى مزود DDNS."

#: applications/luci-app-ddns/htdocs/luci-static/resources/view/ddns/overview.js:1138
Expand Down Expand Up @@ -503,7 +503,7 @@ msgid "No logging"
msgstr "لا تسجيل"

#: applications/luci-app-ddns/htdocs/luci-static/resources/view/ddns/overview.js:402
msgid "Non-public and by default blocked IP's"
msgid "Non-public and by default blocked IPs"
msgstr "غير عام وبشكل افتراضي عناوين IP المحظورة"

#: applications/luci-app-ddns/htdocs/luci-static/resources/view/ddns/overview.js:218
Expand Down Expand Up @@ -647,7 +647,7 @@ msgstr "اختر الخدمة"
#: applications/luci-app-ddns/htdocs/luci-static/resources/view/ddns/overview.js:526
#: applications/luci-app-ddns/htdocs/luci-static/resources/view/ddns/overview.js:660
#: applications/luci-app-ddns/htdocs/luci-static/resources/view/ddns/overview.js:680
msgid "Service doesn't support this ip type"
msgid "Service doesn't support this IP type"
msgstr "الخدمة لا تدعم هذا النوع من بروتوكول الإنترنت"

#: applications/luci-app-ddns/htdocs/luci-static/resources/view/ddns/overview.js:659
Expand Down Expand Up @@ -714,7 +714,7 @@ msgid "The default setting of '0' will retry infinitely."
msgstr "الإعداد الافتراضي \"0\" سيعيد المحاولة بلا حدود."

#: applications/luci-app-ddns/htdocs/luci-static/resources/view/ddns/overview.js:1036
msgid "The interval between which each successive retry commences."
msgid "The interval between which each subsequent retry commences."
msgstr ""
"عند حدوث خطأ ، سيتوقف البرنامج النصي عن التنفيذ بعد عدد معين من المحاولات."

Expand Down Expand Up @@ -766,12 +766,12 @@ msgid "Update DDns Services List"
msgstr "تحديث قائمة خدمات DDns"

#: applications/luci-app-ddns/htdocs/luci-static/resources/view/ddns/overview.js:702
msgid "Update URL to be used for updating your DDNS Provider."
msgid "Update URL for updating your DDNS Provider."
msgstr "تحديث URL لاستخدامه لتحديث مزود DDNS الخاص بك."

#: applications/luci-app-ddns/htdocs/luci-static/resources/view/ddns/overview.js:457
msgid ""
"Url used to download services file. By default is the master openwrt ddns "
"Source URL for services file. Defaults to the master openwrt ddns "
"package repo."
msgstr ""
"يستخدم عنوان Url لتنزيل ملف الخدمات. بشكل افتراضي ، يتم إعادة تعيين حزمة "
Expand Down Expand Up @@ -802,7 +802,7 @@ msgid "Values below 5 minutes == 300 seconds are not supported"
msgstr "القيم الأقل من 5 دقائق == 300 ثانية غير معتمدة"

#: applications/luci-app-ddns/htdocs/luci-static/resources/view/ddns/overview.js:1009
msgid "Values lower 'Check Interval' except '0' are not supported"
msgid "Values lower than 'Check Interval' except '0' are invalid"
msgstr "القيم الأقل من \"التحقق من الفاصل الزمني\" باستثناء \"0\" غير مدعومة"

#: applications/luci-app-ddns/htdocs/luci-static/resources/view/ddns/overview.js:15
Expand Down
Loading

0 comments on commit e8e6c1a

Please sign in to comment.