LibreOffice / lots

Letterhead, template, form, autotext, mail merge,... extension for LibreOffice
https://wollmux.org/
European Union Public License 1.1
53 stars 32 forks source link

Translate strings in showInfoModal calls #409

Closed kelemeng closed 1 year ago

kelemeng commented 2 years ago

I noticed in most calls of the showInfoModal function the UI strings are localized with L.m() calls, but in some cases they are not. Proposal is to review these places and translate the German strings to English and mark them for localization. Current list: $ git grep showInfoModal | grep -v "L.m" | grep -v "InfoDialog.java\:" core/src/main/java/de/muenchen/allg/itd51/wollmux/document/commands/DocumentExpander.java: InfoDialog.showInfoModal("WollMux", error); core/src/main/java/de/muenchen/allg/itd51/wollmux/event/handlers/OnCheckInstallation.java: InfoDialog.showInfoModal(title, msg); core/src/main/java/de/muenchen/allg/itd51/wollmux/mailmerge/printsettings/MailmergeWizardController.java: InfoDialog.showInfoModal("Seriendruck fehlgeschlagen", e.getMessage()); core/src/main/java/de/muenchen/allg/itd51/wollmux/mailmerge/sidebar/MailMergeController.java: InfoDialog.showInfoModal("", e1.getMessage()); core/src/main/java/de/muenchen/allg/itd51/wollmux/mailmerge/sidebar/MailMergeController.java: InfoDialog.showInfoModal("", ex.getMessage()); core/src/main/java/de/muenchen/allg/itd51/wollmux/mailmerge/sidebar/MailMergeController.java: InfoDialog.showInfoModal("", ex.getMessage()); core/src/main/java/de/muenchen/allg/itd51/wollmux/mailmerge/sidebar/MailMergeController.java: InfoDialog.showInfoModal("Druck konnte nicht gestartet werden", ex.getMessage()); core/src/main/java/de/muenchen/allg/itd51/wollmux/print/ShowDocument.java: InfoDialog.showInfoModal("WollMux", "Dokument konnte nicht angezeigt werden."); core/src/main/java/de/muenchen/allg/itd51/wollmux/print/ShowDocument.java: InfoDialog.showInfoModal("WollMux", "Dokument konnte nicht angezeigt werden."); core/src/main/java/de/muenchen/allg/itd51/wollmux/sender/dialog/PersoenlicheAbsenderlisteVerwalten.java: InfoDialog.showInfoModal(INFO_DIALOG_TITLE, core/src/main/java/de/muenchen/allg/itd51/wollmux/sender/dialog/PersoenlicheAbsenderlisteVerwalten.java: InfoDialog.showInfoModal(INFO_DIALOG_TITLE, "Der Sender konnte nicht kopiert werden."); core/src/main/java/de/muenchen/allg/itd51/wollmux/sender/dialog/PersoenlicheAbsenderlisteVerwalten.java: InfoDialog.showInfoModal(INFO_DIALOG_TITLE, core/src/main/java/de/muenchen/allg/itd51/wollmux/sender/dialog/PersoenlicheAbsenderlisteVerwalten.java: InfoDialog.showInfoModal(INFO_DIALOG_TITLE, "Es wurde nichts gefunden."); core/src/main/java/de/muenchen/allg/itd51/wollmux/sidebar/WollMuxSidebarContent.java: InfoDialog.showInfoModal("Multiformulare werden nicht mehr unterstützt", core/src/main/java/de/muenchen/allg/itd51/wollmux/slv/ContentBasedDirectiveModel.java: InfoDialog.showInfoModal("Überschneidende Druckblöcke", core/src/main/java/de/muenchen/allg/itd51/wollmux/slv/print/ContentBasedDirectivePrint.java: InfoDialog.showInfoModal("Sachleitende Verfügungen drucken", core/src/main/java/de/muenchen/allg/itd51/wollmux/slv/print/ContentBasedDirectivePrintCollect.java: InfoDialog.showInfoModal("Sachleitende Verfügungen drucken", "Die Dokumente konnten nicht gesammelt werden.");