comparison client/src/components/importconfiguration/ScheduledImports.vue @ 4231:6f31a99cd92d

clinet: fix translations process and update source strings * move strings for translations from *.po files to the component itself to let gettext() mark only the strings without the html elements. (make makemessages complains to have html elements in the .po files and stops the process).
author Fadi Abbud <fadi.abbud@intevation.de>
date Wed, 21 Aug 2019 11:13:12 +0200
parents 03e8e6cc0b79
children 3759b47f20f3
comparison
equal deleted inserted replaced
4230:f3b733fd119a 4231:6f31a99cd92d
653 } 653 }
654 } 654 }
655 return true; 655 return true;
656 }, 656 },
657 ttWaitRetry() { 657 ttWaitRetry() {
658 return this.$gettext("retryDelayDescription"); 658 return `${this.$gettext(
659 "Time between retries. Valid units are 's' , 'm' and 'h' "
660 )}<div style="text-align:left;">${this.$gettext(
661 "Examples:"
662 )}<ul><li>${this.$gettext("60 for 60 Seconds ")}
663 </li><li> ${this.$gettext("30m for 30 Minutes")}</li><li> ${this.$gettext(
664 "2h45m for for two hours and 45 Minutes"
665 )}</li></ul></div>`;
659 }, 666 },
660 ttRetries() { 667 ttRetries() {
661 return this.$gettext("retryCountDescription"); 668 return ` ${this.$gettext("Maximum retry count")}<br> ${this.$gettext(
669 "If there is no error during import, there will be no retry"
670 )}
671 <br><div style="margin-left:45px;text-align:left;"<ul><li> ${this.$gettext(
672 "Negative values mean endless retry"
673 )}
674 </li><li> ${this.$gettext("0 means no retry")}</li><li> ${this.$gettext(
675 "Positive values are the upper limit for retries"
676 )}
677 </li></ul></div>`;
662 }, 678 },
663 ttRetry() { 679 ttRetry() {
664 return this.$gettext("retryDescription"); 680 return this.$gettext("retryDescription");
665 } 681 }
666 }, 682 },