Skip to content

Commit

Permalink
fix: added translation strings for drivers
Browse files Browse the repository at this point in the history
  • Loading branch information
lewislarsen committed Jul 6, 2024
1 parent 7ec7dbc commit aba3ae6
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
4 changes: 2 additions & 2 deletions app/Models/BackupDestination.php
Original file line number Diff line number Diff line change
Expand Up @@ -111,11 +111,11 @@ public function type(): ?string
}

if ($this->type === self::TYPE_CUSTOM_S3) {
return 'Custom S3';
return __('Custom S3');
}

if ($this->type === self::TYPE_LOCAL) {
return 'Local';
return __('Local');
}

return null;
Expand Down
4 changes: 3 additions & 1 deletion lang/da.json
Original file line number Diff line number Diff line change
Expand Up @@ -339,5 +339,7 @@
"Light": "Lys",
"Dark": "Mørk",
"System": "System",
"The username has been updated to \":username\".": "Brugernavnet er blevet opdateret til \":username\"."
"The username has been updated to \":username\".": "Brugernavnet er blevet opdateret til \":username\".",
"Local": "Lokal",
"Custom S3": "Tilpasset S3"
}
4 changes: 3 additions & 1 deletion lang/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -339,5 +339,7 @@
"Light": "Свет",
"Dark": "Тёмный",
"System": "Система",
"The username has been updated to \":username\".": "Имя пользователя было обновлено на \":username\"."
"The username has been updated to \":username\".": "Имя пользователя было обновлено на \":username\".",
"Local": "локальный",
"Custom S3": "пользовательский S3"
}
4 changes: 3 additions & 1 deletion lang/zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -339,5 +339,7 @@
"Light": "",
"Dark": "",
"System": "系统",
"The username has been updated to \":username\".": "И用户名已更新为 \":username\"."
"The username has been updated to \":username\".": "И用户名已更新为 \":username\".",
"Local": "本地",
"Custom S3": "自定义 S3"
}

0 comments on commit aba3ae6

Please sign in to comment.