amethyst: fix some translation issues

i18n
Fries 2 years ago committed by fries1234
parent 05a078042d
commit 7b5a939574

@ -98,7 +98,7 @@ installing-from-aur = Installiere {$amountOfPkgs} aus der AUR
remove-installed-make-deps = Möchten Sie die ausschließlich zum Bauen verwendeten Abhängigkeiten entfernen?
done = Fertig!
# operations::aur_install
aur-rpc-crash = AUR RPC Aufruf ist fehlgeschlagen:
aur-rpc-crash = AUR RPC Aufruf ist fehlgeschlagen: {$error}
failed-to-build = Konnte nicht gebaut werden
makepkg-failed = makepkg ist fehlgeschlagen
unknown-error = Unbekannter Fehler

@ -117,7 +117,7 @@ remove-installed-make-deps = Do you want to remove the installed make dependenci
done = Done!
# operations::aur_install
aur-rpc-crash = AUR RPC Call failed with
aur-rpc-crash = AUR RPC Call failed with: {$error}
failed-to-build = Failed to build
makepkg-failed = makepkg failed
unknown-error = Unknown error
@ -132,7 +132,7 @@ error-occurred = An error occurred
# internal::detect
sudo-prompt-failed = Sudo prompt failed
scanning-pacnew-files = Scanning for pacnew files"
scanning-pacnew-files = Scanning for pacnew files
no-pacnew-found = No .pacnew files found
pacnew-found = pacnew files found
pacnew-warning =
@ -142,7 +142,7 @@ pacnew-warning =
run-pacdiff-now = Would you like to run pacdiff now?
pacdiff-warning =
Pacdiff uses vimdiff by default to edit files for merging. You can focus panes by mousing over them and pressing left click, and scroll up and down using your mouse's scroll wheel (or the arrow keys). To exit vimdiff, press the following key combination: ESC, :qa!, ENTER
You can surpress this warning in the future by setting `pacdiff_warn` to "false" in ~/.config/ame/config.toml
You can suppress this warning in the future by setting `pacdiff_warn` to "false" in ~/.config/ame/config.toml
# internal::config
config-docs = # See https://getcryst.al/docs/amethyst/config for more information on config keys

@ -115,7 +115,7 @@ remove-installed-make-deps = Rimuovere le dipendenze di compilazione?
done = Fatto!
# operations::aur_install
aur-rpc-crash = La chiamata RCP a AUR non è riuscita:
aur-rpc-crash = La chiamata RCP a AUR non è riuscita: {$error}
failed-to-build = Errore di compilazione
makepkg-failed = Errore di makepkg
unknown-error = Errore sconosciuto

@ -115,7 +115,7 @@ remove-installed-make-deps = Vill du ta bort de installerade byggberoendena?
done = Klart!
# operations::aur_install
aur-rpc-crash = AUR RPC-anrop misslyckades med
aur-rpc-crash = AUR RPC-anrop misslyckades med: {$error}
failed-to-build = Misslyckades att bygga
makepkg-failed = makepkg misslyckades
unknown-error = Okänt fel
@ -130,7 +130,7 @@ error-occurred = Ett fel inträffade
# internal::detect
sudo-prompt-failed = Sudo prompt misslyckades
scanning-pacnew-files = Letar efter nya pacnew filer"
scanning-pacnew-files = Letar efter nya pacnew filer
no-pacnew-found = Inga .pacnew filer hittades
pacnew-found = pacnew filer hittades
pacnew-warning =

@ -96,7 +96,11 @@ pub async fn aur_install(packages: Vec<String>, options: Options) {
if let Err(e) = aur_install_internal(AurInstall::new(options, packages)).await {
match e {
AppError::Rpc(e) => {
crash!(AppExitCode::RpcError, "{} {e}", fl!("aur-rpc-crash"))
fl_crash!(
AppExitCode::RpcError,
"aur-rpc-crash",
error = e.to_string()
)
}
AppError::BuildStepViolation => {
fl_crash!(AppExitCode::MakePkgError, "failed-to-build")

Loading…
Cancel
Save