Changeset 3445
- Timestamp:
- Jan 30, 2017, 12:30:25 PM (4 years ago)
- Location:
- lliurex-zero-installers/trunk/fuentes
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
lliurex-zero-installers/trunk/fuentes/debian/changelog
r3436 r3445 1 lliurex-zero-installers (0.126.4) xenial; urgency=medium 2 3 * Added new dialogs to lliurex-zero-installer-analytics & update translations 4 5 -- M.Angel Juan <m.angel.juan@gmail.com> Mon, 30 Jan 2017 12:29:28 +0100 6 1 7 lliurex-zero-installers (0.126.3) xenial; urgency=medium 2 8 -
lliurex-zero-installers/trunk/fuentes/lliurex-po/lliurex-zero-installer-analytics/ca_ES@valencia.po
r3415 r3445 3 3 # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER 4 4 # This file is distributed under the same license as the PACKAGE package. 5 # FIRST AUTHOR <m.angel.juan@gmail.com>, 2017.6 5 # lliurex <m.angel.juan@gmail.com>, 2017. 7 6 msgid "" … … 9 8 "Project-Id-Version: PACKAGE VERSION\n" 10 9 "Report-Msgid-Bugs-To: \n" 11 "POT-Creation-Date: 2017-01- 25 16:35+0100\n"12 "PO-Revision-Date: 2017-01- 25 17:17+0200\n"10 "POT-Creation-Date: 2017-01-30 12:04+0100\n" 11 "PO-Revision-Date: 2017-01-30 12:19+0200\n" 13 12 "Last-Translator: lliurex <m.angel.juan@gmail.com>\n" 14 "Language-Team: none\n"13 "Language-Team: Catalan\n" 15 14 "Language: ca\n" 16 15 "MIME-Version: 1.0\n" … … 20 19 "X-Generator: Virtaal 0.7.1\n" 21 20 22 #: lliurex-zero-installer-analytics.zmd:45 21 #: lliurex-zero-installer-analytics.zmd:18 22 msgid "Welcome to lliurex-statistics config tool\\n" 23 msgstr "Benvingut al configurador de lliurex-statistics\\n" 24 25 #: lliurex-zero-installer-analytics.zmd:30 26 msgid "This system isn't configurable\\n" 27 msgstr "Aquest sistema no és configurable\\n" 28 29 #: lliurex-zero-installer-analytics.zmd:50 23 30 msgid "" 24 "Lliurex-statistics is %s in this system. Do you want change this state?\\n" 25 msgstr "Lliurex-statistics està %s en aquest ordinador. Vol canviar l'estat?\\n" 31 "The anonymous statistics reporting agent is %s in this system. Do you want " 32 "change this state?\\n" 33 msgstr "" 34 "L'agent d'enviament d'estadistiques anonimes està %s en aquest sistema. Vols " 35 "canviar aquest estat?\\n" 26 36 27 #: lliurex-zero-installer-analytics.zmd:49 28 #: lliurex-zero-installer-analytics.zmd:65 37 #: lliurex-zero-installer-analytics.zmd:51 38 msgid "What state must i use in this system?\\n" 39 msgstr "" 40 "Quin estat he d'utilitzar en aquest sistema?\\n" 41 " " 42 43 #: lliurex-zero-installer-analytics.zmd:55 44 #: lliurex-zero-installer-analytics.zmd:73 29 45 msgid "enabled" 30 46 msgstr "activat" 31 47 32 #: lliurex-zero-installer-analytics.zmd:5 133 #: lliurex-zero-installer-analytics.zmd: 6948 #: lliurex-zero-installer-analytics.zmd:57 49 #: lliurex-zero-installer-analytics.zmd:77 34 50 msgid "disabled" 35 51 msgstr "desactivat" 36 52 37 #: lliurex-zero-installer-analytics.zmd: 5753 #: lliurex-zero-installer-analytics.zmd:63 38 54 msgid "" 39 " Classroom clients have %s status for the reporting agent. Do you want to"40 " change reporting agent status?\\n"55 "The anonymous statistics reporting agent for classroom clients have %s " 56 "status. Do you want to change reporting agent status?\\n" 41 57 msgstr "" 42 " Els clients d'aula tenen l'estat de l'agent de estadistiques %s. Vol canviar"43 " l'estat de l'agent?\\n"58 "L'agent d'enviament d'estadistiques anonimes per als clients d'aula està %s. " 59 "Vols canviar aquest estat?\\n" 44 60 45 #: lliurex-zero-installer-analytics.zmd:72 61 #: lliurex-zero-installer-analytics.zmd:64 62 msgid "What state must i use for classroom clients?\\n" 63 msgstr "Quin estat he d'utilitzar per als clients d'aula?\\n" 64 65 #: lliurex-zero-installer-analytics.zmd:80 46 66 msgid "unknown" 47 67 msgstr "desconegut" 48 68 49 #: lliurex-zero-installer-analytics.zmd:81 50 #: lliurex-zero-installer-analytics.zmd:92 69 #: lliurex-zero-installer-analytics.zmd:89 70 #: lliurex-zero-installer-analytics.zmd:103 71 msgid "Yes" 72 msgstr "Si" 73 74 #: lliurex-zero-installer-analytics.zmd:89 75 #: lliurex-zero-installer-analytics.zmd:103 76 msgid "No" 77 msgstr "No" 78 79 #: lliurex-zero-installer-analytics.zmd:91 80 #: lliurex-zero-installer-analytics.zmd:105 51 81 msgid "Allow" 52 msgstr "Perm itir-lo"82 msgstr "Permetre-ho" 53 83 54 #: lliurex-zero-installer-analytics.zmd: 8155 #: lliurex-zero-installer-analytics.zmd: 9284 #: lliurex-zero-installer-analytics.zmd:91 85 #: lliurex-zero-installer-analytics.zmd:105 56 86 msgid "Disallow" 57 msgstr " Denegar-lo"87 msgstr "No permetre-ho" -
lliurex-zero-installers/trunk/fuentes/lliurex-po/lliurex-zero-installer-analytics/en.po
r3415 r3445 2 2 # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER 3 3 # This file is distributed under the same license as the PACKAGE package. 4 # FIRST AUTHOR<m.angel.juan@gmail.com>, 2017.4 # lliurex <m.angel.juan@gmail.com>, 2017. 5 5 # 6 6 msgid "" … … 8 8 "Project-Id-Version: PACKAGE VERSION\n" 9 9 "Report-Msgid-Bugs-To: \n" 10 "POT-Creation-Date: 2017-01- 25 16:35+0100\n"11 "PO-Revision-Date: 2017-01- 25 16:35+0100\n"12 "Last-Translator: Automatically generated\n"13 "Language-Team: none\n"10 "POT-Creation-Date: 2017-01-30 12:04+0100\n" 11 "PO-Revision-Date: 2017-01-30 12:08+0100\n" 12 "Last-Translator: lliurex <m.angel.juan@gmail.com>\n" 13 "Language-Team: English\n" 14 14 "Language: en\n" 15 15 "MIME-Version: 1.0\n" … … 18 18 "Plural-Forms: nplurals=2; plural=(n != 1);\n" 19 19 20 #: lliurex-zero-installer-analytics.zmd:45 20 #: lliurex-zero-installer-analytics.zmd:18 21 msgid "Welcome to lliurex-statistics config tool\\n" 22 msgstr "Welcome to lliurex-statistics config tool\\n" 23 24 #: lliurex-zero-installer-analytics.zmd:30 25 msgid "This system isn't configurable\\n" 26 msgstr "This system isn't configurable\\n" 27 28 #: lliurex-zero-installer-analytics.zmd:50 21 29 msgid "" 22 "Lliurex-statistics is %s in this system. Do you want change this state?\\n" 30 "The anonymous statistics reporting agent is %s in this system. Do you want " 31 "change this state?\\n" 23 32 msgstr "" 24 "Lliurex-statistics is %s in this system. Do you want change this state?\\n" 33 "The anonymous statistics reporting agent is %s in this system. Do you want " 34 "change this state?\\n" 25 35 26 #: lliurex-zero-installer-analytics.zmd:49 27 #: lliurex-zero-installer-analytics.zmd:65 36 #: lliurex-zero-installer-analytics.zmd:51 37 msgid "What state must i use in this system?\\n" 38 msgstr "What state must i use in this system?\\n" 39 40 #: lliurex-zero-installer-analytics.zmd:55 41 #: lliurex-zero-installer-analytics.zmd:73 28 42 msgid "enabled" 29 43 msgstr "enabled" 30 44 31 #: lliurex-zero-installer-analytics.zmd:5 132 #: lliurex-zero-installer-analytics.zmd: 6945 #: lliurex-zero-installer-analytics.zmd:57 46 #: lliurex-zero-installer-analytics.zmd:77 33 47 msgid "disabled" 34 48 msgstr "disabled" 35 49 36 #: lliurex-zero-installer-analytics.zmd: 5750 #: lliurex-zero-installer-analytics.zmd:63 37 51 msgid "" 38 " Classroom clients have %s status for the reporting agent. Do you want to"39 " change reporting agent status?\\n"52 "The anonymous statistics reporting agent for classroom clients have %s " 53 "status. Do you want to change reporting agent status?\\n" 40 54 msgstr "" 41 " Classroom clients have %s status for the reporting agent. Do you want to"42 " change reporting agent status?\\n"55 "The anonymous statistics reporting agent for classroom clients have %s " 56 "status. Do you want to change reporting agent status?\\n" 43 57 44 #: lliurex-zero-installer-analytics.zmd:72 58 #: lliurex-zero-installer-analytics.zmd:64 59 msgid "What state must i use for classroom clients?\\n" 60 msgstr "What state must i use for classroom clients?\\n" 61 62 #: lliurex-zero-installer-analytics.zmd:80 45 63 msgid "unknown" 46 64 msgstr "unknown" 47 65 48 #: lliurex-zero-installer-analytics.zmd:81 49 #: lliurex-zero-installer-analytics.zmd:92 66 #: lliurex-zero-installer-analytics.zmd:89 67 #: lliurex-zero-installer-analytics.zmd:103 68 msgid "Yes" 69 msgstr "Yes" 70 71 #: lliurex-zero-installer-analytics.zmd:89 72 #: lliurex-zero-installer-analytics.zmd:103 73 msgid "No" 74 msgstr "No" 75 76 #: lliurex-zero-installer-analytics.zmd:91 77 #: lliurex-zero-installer-analytics.zmd:105 50 78 msgid "Allow" 51 79 msgstr "Allow" 52 80 53 #: lliurex-zero-installer-analytics.zmd: 8154 #: lliurex-zero-installer-analytics.zmd: 9281 #: lliurex-zero-installer-analytics.zmd:91 82 #: lliurex-zero-installer-analytics.zmd:105 55 83 msgid "Disallow" 56 84 msgstr "Disallow" -
lliurex-zero-installers/trunk/fuentes/lliurex-po/lliurex-zero-installer-analytics/es.po
r3415 r3445 2 2 # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER 3 3 # This file is distributed under the same license as the PACKAGE package. 4 # FIRST AUTHOR <m.angel.juan@gmail.com>, 2017.5 4 # lliurex <m.angel.juan@gmail.com>, 2017. 6 5 msgid "" … … 8 7 "Project-Id-Version: PACKAGE VERSION\n" 9 8 "Report-Msgid-Bugs-To: \n" 10 "POT-Creation-Date: 2017-01- 25 16:35+0100\n"11 "PO-Revision-Date: 2017-01- 25 17:11+0200\n"9 "POT-Creation-Date: 2017-01-30 12:04+0100\n" 10 "PO-Revision-Date: 2017-01-30 12:27+0200\n" 12 11 "Last-Translator: lliurex <m.angel.juan@gmail.com>\n" 13 "Language-Team: none\n"12 "Language-Team: Spanish\n" 14 13 "Language: es\n" 15 14 "MIME-Version: 1.0\n" 16 "Content-Type: text/plain; charset= ASCII\n"15 "Content-Type: text/plain; charset=UTF-8\n" 17 16 "Content-Transfer-Encoding: 8bit\n" 18 17 "Plural-Forms: nplurals=2; plural=(n != 1);\n" 19 18 "X-Generator: Virtaal 0.7.1\n" 20 19 21 #: lliurex-zero-installer-analytics.zmd:45 20 #: lliurex-zero-installer-analytics.zmd:18 21 msgid "Welcome to lliurex-statistics config tool\\n" 22 msgstr "Bienvenido al configurador de lliurex-statistics\\n" 23 24 #: lliurex-zero-installer-analytics.zmd:30 25 msgid "This system isn't configurable\\n" 26 msgstr "Este sistema no es configurable\\n" 27 28 #: lliurex-zero-installer-analytics.zmd:50 22 29 msgid "" 23 "Lliurex-statistics is %s in this system. Do you want change this state?\\n" 30 "The anonymous statistics reporting agent is %s in this system. Do you want " 31 "change this state?\\n" 24 32 msgstr "" 25 "Lliurex-statistics esta %s en este sistema. Quieres cambiar el estado?\\n" 33 "El agente de envio anónimo de estadísticas está %s en este sistema. Deseas " 34 "cambiar el estado?\\n" 26 35 27 #: lliurex-zero-installer-analytics.zmd:49 28 #: lliurex-zero-installer-analytics.zmd:65 36 #: lliurex-zero-installer-analytics.zmd:51 37 msgid "What state must i use in this system?\\n" 38 msgstr "¿Que estado debo aplicar para este sistema?\\n" 39 40 #: lliurex-zero-installer-analytics.zmd:55 41 #: lliurex-zero-installer-analytics.zmd:73 29 42 msgid "enabled" 30 43 msgstr "activado" 31 44 32 #: lliurex-zero-installer-analytics.zmd:5 133 #: lliurex-zero-installer-analytics.zmd: 6945 #: lliurex-zero-installer-analytics.zmd:57 46 #: lliurex-zero-installer-analytics.zmd:77 34 47 msgid "disabled" 35 48 msgstr "desactivado" 36 49 37 #: lliurex-zero-installer-analytics.zmd: 5750 #: lliurex-zero-installer-analytics.zmd:63 38 51 msgid "" 39 " Classroom clients have %s status for the reporting agent. Do you want to"40 " change reporting agent status?\\n"52 "The anonymous statistics reporting agent for classroom clients have %s " 53 "status. Do you want to change reporting agent status?\\n" 41 54 msgstr "" 42 " Los clientes de aula tienen el estado del agente %s. Deseas cambiar el"43 "e stado del agente para el aula?\\n"55 "El agente de envio anónimo de estadísticas para los clientes del aula tienen " 56 "el estado %s. Deseas cambiar el estado?\\n" 44 57 45 #: lliurex-zero-installer-analytics.zmd:72 58 #: lliurex-zero-installer-analytics.zmd:64 59 msgid "What state must i use for classroom clients?\\n" 60 msgstr "¿Que estado debo aplicar para los clientes del aula?\\n" 61 62 #: lliurex-zero-installer-analytics.zmd:80 46 63 msgid "unknown" 47 64 msgstr "desconocido" 48 65 49 #: lliurex-zero-installer-analytics.zmd:81 50 #: lliurex-zero-installer-analytics.zmd:92 66 #: lliurex-zero-installer-analytics.zmd:89 67 #: lliurex-zero-installer-analytics.zmd:103 68 msgid "Yes" 69 msgstr "Si" 70 71 #: lliurex-zero-installer-analytics.zmd:89 72 #: lliurex-zero-installer-analytics.zmd:103 73 msgid "No" 74 msgstr "No" 75 76 #: lliurex-zero-installer-analytics.zmd:91 77 #: lliurex-zero-installer-analytics.zmd:105 51 78 msgid "Allow" 52 79 msgstr "Permitir" 53 80 54 #: lliurex-zero-installer-analytics.zmd: 8155 #: lliurex-zero-installer-analytics.zmd: 9281 #: lliurex-zero-installer-analytics.zmd:91 82 #: lliurex-zero-installer-analytics.zmd:105 56 83 msgid "Disallow" 57 84 msgstr "No permitir" -
lliurex-zero-installers/trunk/fuentes/lliurex-po/lliurex-zero-installer-analytics/lliurex-zero-installer-analytics.pot
r3415 r3445 2 2 # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER 3 3 # This file is distributed under the same license as the PACKAGE package. 4 # FIRST AUTHOR < m.angel.juan@gmail.com>, 2017.4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. 5 5 # 6 6 #, fuzzy … … 9 9 "Project-Id-Version: PACKAGE VERSION\n" 10 10 "Report-Msgid-Bugs-To: \n" 11 "POT-Creation-Date: 2017-01- 25 16:35+0100\n"11 "POT-Creation-Date: 2017-01-30 12:04+0100\n" 12 12 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 13 "Last-Translator: M.Angel Jaun <m.angel.juan@gmail.com>\n"13 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" 14 14 "Language-Team: LANGUAGE <LL@li.org>\n" 15 15 "Language: \n" … … 18 18 "Content-Transfer-Encoding: 8bit\n" 19 19 20 #: lliurex-zero-installer-analytics.zmd:45 21 msgid "" 22 "Lliurex-statistics is %s in this system. Do you want change this state?\\n" 20 #: lliurex-zero-installer-analytics.zmd:18 21 msgid "Welcome to lliurex-statistics config tool\\n" 23 22 msgstr "" 24 23 25 #: lliurex-zero-installer-analytics.zmd:49 26 #: lliurex-zero-installer-analytics.zmd:65 24 #: lliurex-zero-installer-analytics.zmd:30 25 msgid "This system isn't configurable\\n" 26 msgstr "" 27 28 #: lliurex-zero-installer-analytics.zmd:50 29 msgid "" 30 "The anonymous statistics reporting agent is %s in this system. Do you want " 31 "change this state?\\n" 32 msgstr "" 33 34 #: lliurex-zero-installer-analytics.zmd:51 35 msgid "What state must i use in this system?\\n" 36 msgstr "" 37 38 #: lliurex-zero-installer-analytics.zmd:55 39 #: lliurex-zero-installer-analytics.zmd:73 27 40 msgid "enabled" 28 41 msgstr "" 29 42 30 #: lliurex-zero-installer-analytics.zmd:5 131 #: lliurex-zero-installer-analytics.zmd: 6943 #: lliurex-zero-installer-analytics.zmd:57 44 #: lliurex-zero-installer-analytics.zmd:77 32 45 msgid "disabled" 33 46 msgstr "" 34 47 35 #: lliurex-zero-installer-analytics.zmd: 5748 #: lliurex-zero-installer-analytics.zmd:63 36 49 msgid "" 37 " Classroom clients have %s status for the reporting agent. Do you want to"38 " change reporting agent status?\\n"50 "The anonymous statistics reporting agent for classroom clients have %s " 51 "status. Do you want to change reporting agent status?\\n" 39 52 msgstr "" 40 53 41 #: lliurex-zero-installer-analytics.zmd:72 54 #: lliurex-zero-installer-analytics.zmd:64 55 msgid "What state must i use for classroom clients?\\n" 56 msgstr "" 57 58 #: lliurex-zero-installer-analytics.zmd:80 42 59 msgid "unknown" 43 60 msgstr "" 44 61 45 #: lliurex-zero-installer-analytics.zmd:81 46 #: lliurex-zero-installer-analytics.zmd:92 62 #: lliurex-zero-installer-analytics.zmd:89 63 #: lliurex-zero-installer-analytics.zmd:103 64 msgid "Yes" 65 msgstr "" 66 67 #: lliurex-zero-installer-analytics.zmd:89 68 #: lliurex-zero-installer-analytics.zmd:103 69 msgid "No" 70 msgstr "" 71 72 #: lliurex-zero-installer-analytics.zmd:91 73 #: lliurex-zero-installer-analytics.zmd:105 47 74 msgid "Allow" 48 75 msgstr "" 49 76 50 #: lliurex-zero-installer-analytics.zmd: 8151 #: lliurex-zero-installer-analytics.zmd: 9277 #: lliurex-zero-installer-analytics.zmd:91 78 #: lliurex-zero-installer-analytics.zmd:105 52 79 msgid "Disallow" 53 80 msgstr "" -
lliurex-zero-installers/trunk/fuentes/lliurex-zero-installer-analytics.zmds/lliurex-zero-installer-analytics.zmd
r3436 r3445 16 16 export TEXTDOMAIN="lliurex-zero-installer-analytics" 17 17 18 GETTEXT="gettext -d $TEXTDOMAIN -s " 18 zenity --info --title="Lliurex-statistics" --text=$(gettext "Welcome to lliurex-statistics config tool\n") 19 19 20 20 # DETECTION SECTION … … 28 28 ASK_QUESTION1="no" 29 29 ASK_QUESTION2="no" 30 zenity --info --title="Lliurex-statistics" --text=$(gettext "This system isn't configurable\n") 31 exit 0 30 32 fi 31 33 … … 46 48 fi 47 49 48 Q1=$($GETTEXT "Lliurex-statistics is %s in this system. Do you want change this state?\n") 50 Q1_A=$(gettext "The anonymous statistics reporting agent is %s in this system. Do you want change this state?\n") 51 QUESTION1_B=$(gettext "What state must i use in this system?\n") 49 52 #echo Q1 $Q1 50 53 VALUE_ME="$(cat /etc/lliurex-analytics/status|grep -i -o yes|uniq)" 51 54 if [ -n "$VALUE_ME" ];then 52 STATUS_ME=$( $GETTEXT"enabled")55 STATUS_ME=$(gettext "enabled") 53 56 else 54 STATUS_ME=$( $GETTEXT"disabled")57 STATUS_ME=$(gettext "disabled") 55 58 fi 56 59 57 QUESTION1 =$(printf "$Q1" "$STATUS_ME")60 QUESTION1_A=$(printf "$Q1_A" "$STATUS_ME") 58 61 #echo QUESTION1 $QUESTION1 59 62 if [ "$ASK_QUESTION2" = "yes" ];then 60 Q2=$($GETTEXT "Classroom clients have %s status for the reporting agent. Do you want to change reporting agent status?\n") 63 Q2_A=$(gettext "The anonymous statistics reporting agent for classroom clients have %s status. Do you want to change reporting agent status?\n") 64 QUESTION2_B=$(gettext "What state must i use for classroom clients?\n") 61 65 # echo Q2 $Q2 62 66 … … 67 71 if [ "x${CURRENT_VALUE}" = "x1" ]; then 68 72 #Enabled 69 STATUS_CLASS=$( $GETTEXT"enabled")73 STATUS_CLASS=$(gettext "enabled") 70 74 else 71 75 if [ "x${CURRENT_VALUE}" = "x0" ]; then 72 76 #Disabled 73 STATUS_CLASS=$( $GETTEXT"disabled")77 STATUS_CLASS=$(gettext "disabled") 74 78 else 75 79 #Unknown 76 STATUS_CLASS=$( $GETTEXT"unknown")80 STATUS_CLASS=$(gettext "unknown") 77 81 fi 78 82 fi 79 QUESTION2 =$(printf "$Q2" "$STATUS_CLASS")83 QUESTION2_A=$(printf "$Q2_A" "$STATUS_CLASS") 80 84 # echo QUESTION2 $QUESTION2 81 85 fi … … 83 87 84 88 # RUN QUESTIONS SECCTION 85 86 zenity --question --text="$QUESTION1" --ok-label=$($GETTEXT "Allow") --cancel-label=$($GETTEXT "Disallow") > /dev/null 2>&1 89 zenity --question --text="$QUESTION1_A" --ok-label=$(gettext "Yes") --cancel-label=$(gettext "No") > /dev/null 2>&1 87 90 if [ $? -eq 0 ]; then 88 #Enable local stats 89 echo yes > /etc/lliurex-analytics/status 90 else 91 #Disable local stats 92 echo no > /etc/lliurex-analytics/status 91 zenity --question --text="$QUESTION1_B" --ok-label=$(gettext "Allow") --cancel-label=$(gettext "Disallow") > /dev/null 2>&1 92 if [ $? -eq 0 ]; then 93 #Enable local stats 94 echo yes > /etc/lliurex-analytics/status 95 else 96 #Disable local stats 97 echo no > /etc/lliurex-analytics/status 98 fi 93 99 fi 94 100 95 101 96 102 if [ "$ASK_QUESTION2" = "yes" ]; then 97 zenity --question --text="$QUESTION2 " --ok-label=$($GETTEXT "Allow") --cancel-label=$($GETTEXT "Disallow") > /dev/null 2>&1103 zenity --question --text="$QUESTION2_A" --ok-label=$(gettext "Yes") --cancel-label=$(gettext "No") > /dev/null 2>&1 98 104 if [ $? -eq 0 ]; then 99 #Enable classroom stats 100 RES="$(n4d-client -r -c NetinstallManager -m set_force_classroom_stats -a 1)" 101 else 102 #Disable classroom stats 103 RES="$(n4d-client -r -c NetinstallManager -m set_force_classroom_stats -a 0)" 105 zenity --question --text="$QUESTION2_B" --ok-label=$(gettext "Allow") --cancel-label=$(gettext "Disallow") > /dev/null 2>&1 106 if [ $? -eq 0 ]; then 107 #Enable classroom stats 108 RES="$(n4d-client -r -c NetinstallManager -m set_force_classroom_stats -a 1)" 109 else 110 #Disable classroom stats 111 RES="$(n4d-client -r -c NetinstallManager -m set_force_classroom_stats -a 0)" 112 fi 104 113 fi 105 114 fi
Note: See TracChangeset
for help on using the changeset viewer.