From de5a1ce97960565bbb3d1f5dbddaecac611dab13 Mon Sep 17 00:00:00 2001 From: JoseluCross Date: Tue, 7 Jun 2016 13:04:30 +0200 Subject: [PATCH 1/3] Repair spanish translation --- jka-toolkit/i18n/apw/es.mo | Bin 4450 -> 4451 bytes jka-toolkit/i18n/apw/es.po | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/jka-toolkit/i18n/apw/es.mo b/jka-toolkit/i18n/apw/es.mo index 3a34282409be0bb46ddb7e0bf9fb3d9e8c4ad871..d39581be5d53decb23a10bf3ca875f9ad757c647 100644 GIT binary patch delta 242 zcmXBOu@1pt6o%nbVorjdxnR9hw3L=%HVObj|&T!Dz)C5(zp)BnnYYGp)i7h+bt48kJ-!J20&s_}PIC zct5Hq=iYmg`*NS|WgXd0B@Hd9ga`ETjCHirQU%*s#s#i$gGCH+iEnIR&;H;0I4AG1 zhIj1X2fNsG{@HWn{T4?C0~R+-VIm_HFo))`7MkJ&&0{;v;t8qfisnAVK0a`S)nFWr KC4-rjkADHw*BR*m diff --git a/jka-toolkit/i18n/apw/es.po b/jka-toolkit/i18n/apw/es.po index 0d4939d..36d91c8 100644 --- a/jka-toolkit/i18n/apw/es.po +++ b/jka-toolkit/i18n/apw/es.po @@ -46,7 +46,7 @@ msgid "" "\t{-Ir | Ir}\tReinstall packages (Updates system also for preventing " "problems)" msgstr "" -"\t{-Ir | Ir}Reinstala paquetes (Actualiza el sistema para prevenir problemas" +"\t{-Ir | Ir}\tReinstala paquetes (Actualiza el sistema para prevenir problemas" #: apw:27 msgid "\t{-R | R}\tRemoves a package" From 14fb0e4f026b0aaf8f5bdb7b7bd3c24aa37da774 Mon Sep 17 00:00:00 2001 From: JoseluCross Date: Tue, 7 Jun 2016 13:41:45 +0200 Subject: [PATCH 2/3] Repair translations --- jka-toolkit/apw | 9 +++- jka-toolkit/i18n/apw/apw.pot | 38 ++++++++------- jka-toolkit/i18n/apw/es.mo | Bin 4451 -> 4545 bytes jka-toolkit/i18n/apw/es.po | 72 +++++++++++++++-------------- jka-toolkit/i18n/jkazip/es.mo | Bin 3211 -> 3352 bytes jka-toolkit/i18n/jkazip/es.po | 12 +++-- jka-toolkit/i18n/jkazip/jkazip.pot | 12 +++-- jka-toolkit/jkazip | 10 ++-- 8 files changed, 85 insertions(+), 68 deletions(-) diff --git a/jka-toolkit/apw b/jka-toolkit/apw index a36c6bd..73a15c0 100755 --- a/jka-toolkit/apw +++ b/jka-toolkit/apw @@ -84,9 +84,14 @@ SO=$(cat /etc/apw.conf) #Reading packages to install/remove.. (The rest of $) , it has to be done before the option echo, logically packages=$2 +#Control the incompleted arguments +if [ -z $package ];then + echo "$(gettext "No package specified, aborting")" + exit +fi for (( i=3; i<=$#; i++ )) do - valtmp=$(echo $* | cut -f$i -d" ") + valtmp=$(echo $* | cut -f$i -d" ") packages="$packages $valtmp" done @@ -264,4 +269,4 @@ if [[ $SO = "pacman" ]];then *Rd) pacman -Rs $packages;; esac -fi \ No newline at end of file +fi diff --git a/jka-toolkit/i18n/apw/apw.pot b/jka-toolkit/i18n/apw/apw.pot index d07b9b0..9fc5256 100644 --- a/jka-toolkit/i18n/apw/apw.pot +++ b/jka-toolkit/i18n/apw/apw.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-06-06 20:17+0200\n" +"POT-Creation-Date: 2016-06-07 13:27+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -82,7 +82,7 @@ msgstr "" msgid "apw - A Packager Wrapper" msgstr "" -#: apw:39 apw:258 +#: apw:39 apw:263 msgid "Use apw -h for help" msgstr "" @@ -104,64 +104,68 @@ msgid "" "delete this file)" msgstr "" -#: apw:102 +#: apw:89 +msgid "No package specified, aborting" +msgstr "" + +#: apw:107 msgid "Updating system" msgstr "" -#: apw:122 +#: apw:127 msgid "Not supported on your distribution. Use -U instead" msgstr "" -#: apw:126 apw:137 +#: apw:131 apw:142 msgid "You are going to install %s and dependencies" msgstr "" -#: apw:145 +#: apw:150 msgid "Not supported on your distribution. Use -I instead" msgstr "" -#: apw:149 +#: apw:154 msgid "You are going to reinstall %s" msgstr "" -#: apw:167 +#: apw:172 msgid "Not supported on your distribution. Use -Ir instead" msgstr "" -#: apw:171 apw:181 +#: apw:176 apw:186 msgid "You are going to remove %s" msgstr "" -#: apw:188 +#: apw:193 msgid "Not supported on your distribution. Use -R instead" msgstr "" -#: apw:192 apw:201 +#: apw:197 apw:206 msgid "Removing %s along with his dependencies that are not more in use" msgstr "" -#: apw:198 apw:207 apw:224 apw:234 +#: apw:203 apw:212 apw:229 apw:239 msgid "Not supported on your distribution" msgstr "" -#: apw:210 +#: apw:215 msgid "Cleaning package manager" msgstr "" -#: apw:227 +#: apw:232 msgid "" "Cleaning system from dependencies that are not in use (BE CAREFUL, ONLY " "ADVANCED)" msgstr "" -#: apw:237 +#: apw:242 msgid "Searching %s" msgstr "" -#: apw:246 +#: apw:251 msgid "Installing files: %s" msgstr "" -#: apw:257 +#: apw:262 msgid "Invalid option especified" msgstr "" diff --git a/jka-toolkit/i18n/apw/es.mo b/jka-toolkit/i18n/apw/es.mo index d39581be5d53decb23a10bf3ca875f9ad757c647..2636f282462c5107779ebfabe1d3522ae727aa89 100644 GIT binary patch delta 941 zcmZwFKWGzC9Ki8klQhw)sr_S(HtMx$Y=;a+TZB>}XoU(EF<`N!6fT!*8!bt^q+J9v zbZDWaODKp+7biC{ixfIYC*2$hopk8X!J$xb*6;7`5Ck8*eBOI^dG~w2_dDqQl&F1c z4{Zvqj~=IwG>Hu1bbue)wV=oyOyd27V-|;qLf2O@&i7@HfrZD|hZASKjh>?h@(Lg0N7R7YqF(A#sHt2=&B$wf zfZKQ#TR5hHY1DwTs8_q<&v&q<4~`jRu>Y(GLCQSp##PjsSV#TiJJbNbV+V%Xyi~?e z-ycBDPzLp?ULXk)O2FM0+@{yrLqDhYuc_r=Zlt=YevqpbvMQ8>+jR4QKh~PiMhxz$ zH6vZR@SoPs8fSBZrVRdRn%SsUj8-+7|Jx{NNzl1=;Y!^i1GkzvkVvCB_$3%O%BJDGWQqU~X$7GcYXIO_hoI`h!NENOj zH%bD>F@-^V!amGlKZcyvdO2?jN4b87CHRY8^tePSu@T#Ozw|Qc=E5R2;{oakFHjS@ z#bJEG2>RS4LzN~m%KExkqy>Ml1DiZn1){jl`UL0kD}Q~AY_!tH80YicSQ^U diff --git a/jka-toolkit/i18n/apw/es.po b/jka-toolkit/i18n/apw/es.po index 36d91c8..59aea8d 100644 --- a/jka-toolkit/i18n/apw/es.po +++ b/jka-toolkit/i18n/apw/es.po @@ -22,37 +22,37 @@ msgstr "" msgid "apw - A Packager Wrapper, a Idea from JKA Network, version %s" msgstr "apw - A Package Wrapper, una idea de JKA Network, versión %s" -#: apw:22 +#: apw:23 msgid "\tUsage: apw