mirror of
https://github.com/netinvent/npbackup.git
synced 2025-11-08 05:04:45 +08:00
More clear GUI / CLI messages
This commit is contained in:
parent
0d73965567
commit
3a8f7d0a8d
4 changed files with 4 additions and 4 deletions
|
|
@ -368,7 +368,7 @@ class NPBackupRunner:
|
|||
elif result is False:
|
||||
logger.info("No recent backup found.")
|
||||
elif result is None:
|
||||
logger.error("Cannot connect to repository.")
|
||||
logger.error("Cannot connect to repository or repository empty.")
|
||||
return result
|
||||
|
||||
@exec_timer
|
||||
|
|
|
|||
|
|
@ -169,7 +169,7 @@ def _gui_update_state(window, current_state: bool, snapshot_list: List[str]) ->
|
|||
)
|
||||
elif current_state is None:
|
||||
window["state-button"].Update(
|
||||
_t("generic.not_connected"), button_color=("white", "darkgrey")
|
||||
_t("generic.not_connected_yet"), button_color=("white", "darkgrey")
|
||||
)
|
||||
window["snapshot-list"].Update(snapshot_list)
|
||||
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ en:
|
|||
too_old: Too old
|
||||
up_to_date: Up to date
|
||||
unknown: Unknown
|
||||
not_connected: Not conntected
|
||||
not_connected_yet: Not yet conntected
|
||||
|
||||
size: Size
|
||||
path: Path
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ fr:
|
|||
too_old: Trop ancien
|
||||
up_to_date: A jour
|
||||
unknown: Inconnu
|
||||
not_connected: Non connecté
|
||||
not_connected_yet: Pas encore connecté
|
||||
|
||||
size: Taille
|
||||
path: Chemin
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue