From 93b95d83106b193a2d261e6543044d33063d1c44 Mon Sep 17 00:00:00 2001 From: Bernhard Landauer Date: Mon, 13 Feb 2017 20:25:30 +0100 Subject: [PATCH] translatable strings for basics https://github.com/Chrysostomus/aif-dev/issues/20 --- manjaro-architect | 6 +++--- translations/english.trans | 4 ++++ 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/manjaro-architect b/manjaro-architect index 92207ea..3329c70 100644 --- a/manjaro-architect +++ b/manjaro-architect @@ -24,7 +24,7 @@ ANSWER="/tmp/.aif" # Basic menu selections PACKAGES="/tmp/.pkgs" # Packages to install MOUNT_OPTS="/tmp/.mnt_opts" # Filesystem Mount options -INIT="/tmp/.init" +INIT="/tmp/.init" # init systemd|openrc # Save retyping VERSION="Manjaro Installation Framework 0.7" @@ -99,7 +99,7 @@ FILE="" # File(s) to be reviewed # Add locale on-the-fly and sets source translation file for installer select_language() { - dialog --backtitle "$VERSION - $SYSTEM ($ARCHI)" --title " Select Language " --menu "\nLanguage" 0 0 10 \ + dialog --backtitle "$VERSION - $SYSTEM ($ARCHI)" --title "$_SelLang" --menu "\n$_Lang" 0 0 10 \ "1" $"English (en_**)" \ "2" $"Español (es_ES)" \ "3" $"Português [Brasil] (pt_BR)" \ @@ -176,7 +176,7 @@ nw_client(){ mk_connection() { if [[ ! $(ping -c 2 google.com) ]]; then - dialog --backtitle "$VERSION - $SYSTEM ($ARCHI)" --title " No Internet Detected. " --yesno "\nestablish connection?" 0 0 && nw_client || clear && exit 0 + dialog --backtitle "$VERSION - $SYSTEM ($ARCHI)" --title "$_NoCon" --yesno "\n$_EstCon" 0 0 && nw_client || clear && exit 0 fi } diff --git a/translations/english.trans b/translations/english.trans index 94c9cfd..325584e 100644 --- a/translations/english.trans +++ b/translations/english.trans @@ -17,6 +17,10 @@ _PassReEntBody="\nRe-enter the password.\n" _ErrTitle="Error" _PassErrBody="\nThe passwords entered do not match. Please try again.\n\n" +# Basics +_SelLang=" Select Language " +_Lang="Language" + # Security and Tweaks _SecMenuTitle="Security and systemd Tweaks" _SecJournTitle="Amend journald logging"