Add script to detect obsolete or undefined locale strings
This commit is contained in:
parent
e7ef615053
commit
4fb5be96b1
6 changed files with 258 additions and 49 deletions
|
|
@ -5,7 +5,6 @@
|
|||
"db_version_id_does_not_belong_to_the_given_date": "version_id does not belong to the given date",
|
||||
"db_key_incorrect": "The key is probably incorrect",
|
||||
"db_database_error": "Database error",
|
||||
"database_path": "Database path",
|
||||
"database_maintenance": "Database maintenance",
|
||||
"database_compact": "Compact the database",
|
||||
"database_compact_explanation": "Compacting runs VACUUM on the database. This can help reduce its size.",
|
||||
|
|
@ -33,9 +32,7 @@
|
|||
"system": "System",
|
||||
"light": "Light",
|
||||
"dark": "Dark",
|
||||
"behaviour": "Behaviour",
|
||||
"never": "Never",
|
||||
"browse": "Browse",
|
||||
"close_tab": "Close tab",
|
||||
"previous": "Previous",
|
||||
"previous_day": "Previous day",
|
||||
|
|
@ -45,7 +42,6 @@
|
|||
"show": "Show",
|
||||
"history": "History",
|
||||
"view_history": "View History",
|
||||
"export": "Export",
|
||||
"export_accessible_flag": "&Export",
|
||||
"export_entries": "Export entries",
|
||||
"export_complete": "Export complete",
|
||||
|
|
@ -123,20 +119,11 @@
|
|||
"tags": "Tags",
|
||||
"tag": "Tag",
|
||||
"manage_tags": "Manage tags",
|
||||
"main_window_manage_tags_accessible_flag": "Manage &Tags",
|
||||
"add_tag_placeholder": "Add a tag and press Enter",
|
||||
"tag_browser_title": "Tag Browser",
|
||||
"tag_browser_instructions": "Click a tag to expand and see all pages with that tag. Click a date to open it. Select a tag to edit its name, change its color, or delete it globally.",
|
||||
"tag_name": "Tag name",
|
||||
"tag_color_hex": "Hex colour",
|
||||
"color_hex": "Colour",
|
||||
"date": "Date",
|
||||
"pick_color": "Pick colour",
|
||||
"invalid_color_title": "Invalid colour",
|
||||
"invalid_color_message": "Please enter a valid hex colour like #RRGGBB.",
|
||||
"add": "Add",
|
||||
"remove": "Remove",
|
||||
"ok": "OK",
|
||||
"add_a_tag": "Add a tag",
|
||||
"edit_tag_name": "Edit tag name",
|
||||
"new_tag_name": "New tag name:",
|
||||
|
|
@ -164,6 +151,7 @@
|
|||
"bug_report_send_failed": "Could not send bug report.",
|
||||
"bug_report_sent_ok": "Bug report sent. Thank you!",
|
||||
"send": "Send",
|
||||
"reminder": "Reminder",
|
||||
"set_reminder": "Set reminder prompt",
|
||||
"set_reminder_prompt": "Enter a time",
|
||||
"reminder_no_text_fallback": "You scheduled a reminder to alert you now!",
|
||||
|
|
@ -201,7 +189,6 @@
|
|||
"invalid_activity_title": "Invalid activity",
|
||||
"invalid_project_message": "The project is invalid",
|
||||
"invalid_project_title": "Invalid project",
|
||||
"label_key": "Label",
|
||||
"manage_activities": "Manage activities",
|
||||
"manage_projects": "Manage projects",
|
||||
"manage_projects_activities": "Manage project activities",
|
||||
|
|
@ -217,8 +204,14 @@
|
|||
"rename_activity": "Rename activity",
|
||||
"rename_project": "Rename project",
|
||||
"run_report": "Run report",
|
||||
"add_project_label": "Add a project",
|
||||
"add_activity_title": "Add activity",
|
||||
"add_activity_label": "Add an activity",
|
||||
"rename_activity_label": "Rename activity",
|
||||
"add_project_title": "Add project",
|
||||
"add_project_label": "Add a project",
|
||||
"rename_activity_title": "Rename this activity",
|
||||
"rename_project_label": "Rename project",
|
||||
"rename_project_title": "Rename this project",
|
||||
"select_activity_message": "Select an activity",
|
||||
"select_activity_title": "Select activity",
|
||||
"select_project_message": "Select a project",
|
||||
|
|
@ -235,7 +228,6 @@
|
|||
"time_log_total_hours": "Total time spent",
|
||||
"time_log_with_total": "Time log ({hours:.2f}h)",
|
||||
"time_log_total_hours": "Total for day: {hours:.2f}h",
|
||||
"title_key": "title",
|
||||
"update_time_entry": "Update time entry",
|
||||
"time_report_total": "Total: {hours:.2f} hours",
|
||||
"no_report_title": "No report",
|
||||
|
|
|
|||
|
|
@ -5,7 +5,6 @@
|
|||
"db_version_id_does_not_belong_to_the_given_date": "version_id ne correspond pas à la date indiquée",
|
||||
"db_key_incorrect": "La clé est peut-être incorrecte",
|
||||
"db_database_error": "Erreur de base de données",
|
||||
"database_path": "Chemin de la base de données",
|
||||
"database_maintenance": "Maintenance de la base de données",
|
||||
"database_compact": "Compacter la base de données",
|
||||
"database_compact_explanation": "La compaction exécute VACUUM sur la base de données. Cela peut aider à réduire sa taille.",
|
||||
|
|
@ -33,9 +32,7 @@
|
|||
"system": "Système",
|
||||
"light": "Clair",
|
||||
"dark": "Sombre",
|
||||
"behaviour": "Comportement",
|
||||
"never": "Jamais",
|
||||
"browse": "Parcourir",
|
||||
"previous": "Précédent",
|
||||
"previous_day": "Jour précédent",
|
||||
"next": "Suivant",
|
||||
|
|
@ -44,7 +41,6 @@
|
|||
"show": "Afficher",
|
||||
"history": "Historique",
|
||||
"view_history": "Afficher l'historique",
|
||||
"export": "Exporter",
|
||||
"export_accessible_flag": "E&xporter",
|
||||
"export_entries": "Exporter les entrées",
|
||||
"export_complete": "Exportation terminée",
|
||||
|
|
@ -117,16 +113,8 @@
|
|||
"add_tag_placeholder": "Ajouter une étiquette et appuyez sur Entrée",
|
||||
"tag_browser_title": "Navigateur de étiquettes",
|
||||
"tag_browser_instructions": "Cliquez sur une étiquette pour l'étendre et voir toutes les pages avec cette étiquette. Cliquez sur une date pour l'ouvrir. Sélectionnez une étiquette pour modifier son nom, changer sa couleur ou la supprimer globalement.",
|
||||
"tag_name": "Nom de l'étiquette",
|
||||
"tag_color_hex": "Couleur hexadécimale",
|
||||
"color_hex": "Couleur",
|
||||
"date": "Date",
|
||||
"pick_color": "Choisir la couleur",
|
||||
"invalid_color_title": "Couleur invalide",
|
||||
"invalid_color_message": "Veuillez entrer une couleur hexadécimale valide comme #RRGGBB.",
|
||||
"add": "Ajouter",
|
||||
"remove": "Supprimer",
|
||||
"ok": "OK",
|
||||
"add_a_tag": "Ajouter une étiquette",
|
||||
"edit_tag_name": "Modifier le nom de l'étiquette",
|
||||
"new_tag_name": "Nouveau nom de l'étiquette :",
|
||||
|
|
|
|||
|
|
@ -3,9 +3,8 @@
|
|||
"db_issues_reported": "problema/i segnalato/i",
|
||||
"db_reopen_failed_after_rekey": "Riapertura fallita dopo il cambio chiave",
|
||||
"db_version_id_does_not_belong_to_the_given_date": "version_id non appartiene alla data indicata",
|
||||
"db_key_incorrect": "La chiave è probabilmente errata",
|
||||
"db_database_error": "Errore del database",
|
||||
"database_path": "Percorso del database",
|
||||
"db_key_incorrect": "La chiave è probabilmente errata",
|
||||
"database_maintenance": "Manutenzione del database",
|
||||
"database_compact": "Compatta il database",
|
||||
"database_compact_explanation": "La compattazione esegue VACUUM sul database. Può aiutare a ridurne le dimensioni.",
|
||||
|
|
@ -33,9 +32,7 @@
|
|||
"system": "Sistema",
|
||||
"light": "Chiaro",
|
||||
"dark": "Scuro",
|
||||
"behaviour": "Comportamento",
|
||||
"never": "Mai",
|
||||
"browse": "Sfoglia",
|
||||
"previous": "Precedente",
|
||||
"previous_day": "Giorno precedente",
|
||||
"next": "Successivo",
|
||||
|
|
@ -44,7 +41,6 @@
|
|||
"show": "Mostra",
|
||||
"history": "Cronologia",
|
||||
"view_history": "Visualizza cronologia",
|
||||
"export": "Esporta",
|
||||
"export_accessible_flag": "&Esporta",
|
||||
"export_entries": "Esporta voci",
|
||||
"export_complete": "Esportazione completata",
|
||||
|
|
@ -116,16 +112,8 @@
|
|||
"add_tag_placeholder": "Aggiungi un tag e premi Invio",
|
||||
"tag_browser_title": "Browser dei tag",
|
||||
"tag_browser_instructions": "Fai clic su un tag per espandere e vedere tutte le pagine con quel tag. Fai clic su una data per aprirla. Seleziona un tag per modificarne il nome, cambiarne il colore o eliminarlo globalmente.",
|
||||
"tag_name": "Nome del tag",
|
||||
"tag_color_hex": "Colore esadecimale",
|
||||
"color_hex": "Colore",
|
||||
"date": "Data",
|
||||
"pick_color": "Scegli colore",
|
||||
"invalid_color_title": "Colore non valido",
|
||||
"invalid_color_message": "Inserisci un colore esadecimale valido come #RRGGBB.",
|
||||
"add": "Aggiungi",
|
||||
"remove": "Rimuovi",
|
||||
"ok": "OK",
|
||||
"add_a_tag": "Aggiungi un tag",
|
||||
"edit_tag_name": "Modifica nome tag",
|
||||
"new_tag_name": "Nuovo nome tag:",
|
||||
|
|
|
|||
|
|
@ -230,7 +230,7 @@ class SettingsDialog(QDialog):
|
|||
self.idle_spin.setSingleStep(1)
|
||||
self.idle_spin.setAccelerated(True)
|
||||
self.idle_spin.setSuffix(" min")
|
||||
self.idle_spin.setSpecialValueText(strings._("Never"))
|
||||
self.idle_spin.setSpecialValueText(strings._("never"))
|
||||
self.idle_spin.setValue(getattr(cfg, "idle_minutes", 15))
|
||||
priv.addWidget(self.idle_spin, 0, Qt.AlignLeft)
|
||||
|
||||
|
|
|
|||
|
|
@ -69,18 +69,18 @@ class ToolBar(QToolBar):
|
|||
self.actH3.setCheckable(True)
|
||||
self.actH3.setShortcut("Ctrl+3")
|
||||
self.actH3.triggered.connect(lambda: self.headingRequested.emit(14))
|
||||
self.actNormal = QAction("N", self)
|
||||
self.actNormal = QAction("P", self)
|
||||
self.actNormal.setToolTip(strings._("toolbar_normal_paragraph_text"))
|
||||
self.actNormal.setCheckable(True)
|
||||
self.actNormal.setShortcut("Ctrl+N")
|
||||
self.actNormal.setShortcut("Ctrl+.")
|
||||
self.actNormal.triggered.connect(lambda: self.headingRequested.emit(0))
|
||||
|
||||
self.actFontSmaller = QAction("N-", self)
|
||||
self.actFontSmaller = QAction("P-", self)
|
||||
self.actFontSmaller.setToolTip(strings._("toolbar_font_smaller"))
|
||||
self.actFontSmaller.setShortcut("Ctrl+Shift+-")
|
||||
self.actFontSmaller.triggered.connect(self.fontSizeSmallerRequested)
|
||||
|
||||
self.actFontLarger = QAction("N+", self)
|
||||
self.actFontLarger = QAction("P+", self)
|
||||
self.actFontLarger.setToolTip(strings._("toolbar_font_larger"))
|
||||
self.actFontLarger.setShortcut("Ctrl+Shift+=")
|
||||
self.actFontLarger.triggered.connect(self.fontSizeLargerRequested)
|
||||
|
|
@ -167,9 +167,9 @@ class ToolBar(QToolBar):
|
|||
self._style_letter_button(self.actH1, "H1")
|
||||
self._style_letter_button(self.actH2, "H2")
|
||||
self._style_letter_button(self.actH3, "H3")
|
||||
self._style_letter_button(self.actNormal, "N")
|
||||
self._style_letter_button(self.actFontSmaller, "N-")
|
||||
self._style_letter_button(self.actFontLarger, "N+")
|
||||
self._style_letter_button(self.actNormal, "P")
|
||||
self._style_letter_button(self.actFontSmaller, "P-")
|
||||
self._style_letter_button(self.actFontLarger, "P+")
|
||||
|
||||
# Lists
|
||||
self._style_letter_button(self.actBullets, "•")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue