mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 02:24:16 +02:00
[fix] missing categories i18n
This commit is contained in:
@@ -10,6 +10,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
|||||||
- not using HTTP sessions anymore to perform the searches. It seems to avoid URLs not being found after an internet drop event.
|
- not using HTTP sessions anymore to perform the searches. It seems to avoid URLs not being found after an internet drop event.
|
||||||
|
|
||||||
### Fixes
|
### Fixes
|
||||||
|
- missing categories i18n [48](https://github.com/vinifmor/bauh/issues/48)
|
||||||
- not verifying if an icon path is a file
|
- not verifying if an icon path is a file
|
||||||
- Web:
|
- Web:
|
||||||
- not handling HTTP connection issues
|
- not handling HTTP connection issues
|
||||||
|
|||||||
@@ -171,4 +171,5 @@ files=Dateien
|
|||||||
all_files=Alle Dateien
|
all_files=Alle Dateien
|
||||||
file_chooser.title=Dateiauswahl
|
file_chooser.title=Dateiauswahl
|
||||||
message.file.not_exist=Datei existiert nicht
|
message.file.not_exist=Datei existiert nicht
|
||||||
message.file.not_exist.body=Die Datei {} scheint nicht zu existieren
|
message.file.not_exist.body=Die Datei {} scheint nicht zu existieren
|
||||||
|
development=Entwicklung
|
||||||
@@ -175,4 +175,5 @@ files=files
|
|||||||
all_files=all files
|
all_files=all files
|
||||||
file_chooser.title=File selector
|
file_chooser.title=File selector
|
||||||
message.file.not_exist=File does not exist
|
message.file.not_exist=File does not exist
|
||||||
message.file.not_exist.body=The file {} seems not to exist
|
message.file.not_exist.body=The file {} seems not to exist
|
||||||
|
development=development
|
||||||
@@ -172,4 +172,5 @@ files=files
|
|||||||
all_files=tutti i files
|
all_files=tutti i files
|
||||||
file_chooser.title=Selettore file
|
file_chooser.title=Selettore file
|
||||||
message.file.not_exist=File non esiste
|
message.file.not_exist=File non esiste
|
||||||
message.file.not_exist.body=Il file {} sembra non esistere
|
message.file.not_exist.body=Il file {} sembra non esistere
|
||||||
|
development=sviluppo
|
||||||
@@ -19,7 +19,10 @@ class I18n(dict):
|
|||||||
return self.current.__getitem__(item)
|
return self.current.__getitem__(item)
|
||||||
except KeyError:
|
except KeyError:
|
||||||
if self.default:
|
if self.default:
|
||||||
return self.default.__getitem__(item)
|
try:
|
||||||
|
return self.default.__getitem__(item)
|
||||||
|
except KeyError:
|
||||||
|
return item
|
||||||
else:
|
else:
|
||||||
return item
|
return item
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user