Changeset 3445


Ignore:
Timestamp:
Jan 30, 2017, 12:30:25 PM (2 years ago)
Author:
mabarracus
Message:

Added new dialogs to lliurex-zero-installer-analytics & update translations

Location:
lliurex-zero-installers/trunk/fuentes
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • lliurex-zero-installers/trunk/fuentes/debian/changelog

    r3436 r3445  
     1lliurex-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
    17lliurex-zero-installers (0.126.3) xenial; urgency=medium
    28
  • lliurex-zero-installers/trunk/fuentes/lliurex-po/lliurex-zero-installer-analytics/ca_ES@valencia.po

    r3415 r3445  
    33# Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER
    44# This file is distributed under the same license as the PACKAGE package.
    5 # FIRST AUTHOR <m.angel.juan@gmail.com>, 2017.
    65# lliurex <m.angel.juan@gmail.com>, 2017.
    76msgid ""
     
    98"Project-Id-Version: PACKAGE VERSION\n"
    109"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"
    1312"Last-Translator: lliurex <m.angel.juan@gmail.com>\n"
    14 "Language-Team: none\n"
     13"Language-Team: Catalan\n"
    1514"Language: ca\n"
    1615"MIME-Version: 1.0\n"
     
    2019"X-Generator: Virtaal 0.7.1\n"
    2120
    22 #: lliurex-zero-installer-analytics.zmd:45
     21#: lliurex-zero-installer-analytics.zmd:18
     22msgid "Welcome to lliurex-statistics config tool\\n"
     23msgstr "Benvingut al configurador de lliurex-statistics\\n"
     24
     25#: lliurex-zero-installer-analytics.zmd:30
     26msgid "This system isn't configurable\\n"
     27msgstr "Aquest sistema no és configurable\\n"
     28
     29#: lliurex-zero-installer-analytics.zmd:50
    2330msgid ""
    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"
     33msgstr ""
     34"L'agent d'enviament d'estadistiques anonimes està %s en aquest sistema. Vols "
     35"canviar aquest estat?\\n"
    2636
    27 #: lliurex-zero-installer-analytics.zmd:49
    28 #: lliurex-zero-installer-analytics.zmd:65
     37#: lliurex-zero-installer-analytics.zmd:51
     38msgid "What state must i use in this system?\\n"
     39msgstr ""
     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
    2945msgid "enabled"
    3046msgstr "activat"
    3147
    32 #: lliurex-zero-installer-analytics.zmd:51
    33 #: lliurex-zero-installer-analytics.zmd:69
     48#: lliurex-zero-installer-analytics.zmd:57
     49#: lliurex-zero-installer-analytics.zmd:77
    3450msgid "disabled"
    3551msgstr "desactivat"
    3652
    37 #: lliurex-zero-installer-analytics.zmd:57
     53#: lliurex-zero-installer-analytics.zmd:63
    3854msgid ""
    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"
    4157msgstr ""
    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"
    4460
    45 #: lliurex-zero-installer-analytics.zmd:72
     61#: lliurex-zero-installer-analytics.zmd:64
     62msgid "What state must i use for classroom clients?\\n"
     63msgstr "Quin estat he d'utilitzar per als clients d'aula?\\n"
     64
     65#: lliurex-zero-installer-analytics.zmd:80
    4666msgid "unknown"
    4767msgstr "desconegut"
    4868
    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
     71msgid "Yes"
     72msgstr "Si"
     73
     74#: lliurex-zero-installer-analytics.zmd:89
     75#: lliurex-zero-installer-analytics.zmd:103
     76msgid "No"
     77msgstr "No"
     78
     79#: lliurex-zero-installer-analytics.zmd:91
     80#: lliurex-zero-installer-analytics.zmd:105
    5181msgid "Allow"
    52 msgstr "Permitir-lo"
     82msgstr "Permetre-ho"
    5383
    54 #: lliurex-zero-installer-analytics.zmd:81
    55 #: lliurex-zero-installer-analytics.zmd:92
     84#: lliurex-zero-installer-analytics.zmd:91
     85#: lliurex-zero-installer-analytics.zmd:105
    5686msgid "Disallow"
    57 msgstr "Denegar-lo"
     87msgstr "No permetre-ho"
  • lliurex-zero-installers/trunk/fuentes/lliurex-po/lliurex-zero-installer-analytics/en.po

    r3415 r3445  
    22# Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER
    33# 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.
    55#
    66msgid ""
     
    88"Project-Id-Version: PACKAGE VERSION\n"
    99"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"
    1414"Language: en\n"
    1515"MIME-Version: 1.0\n"
     
    1818"Plural-Forms: nplurals=2; plural=(n != 1);\n"
    1919
    20 #: lliurex-zero-installer-analytics.zmd:45
     20#: lliurex-zero-installer-analytics.zmd:18
     21msgid "Welcome to lliurex-statistics config tool\\n"
     22msgstr "Welcome to lliurex-statistics config tool\\n"
     23
     24#: lliurex-zero-installer-analytics.zmd:30
     25msgid "This system isn't configurable\\n"
     26msgstr "This system isn't configurable\\n"
     27
     28#: lliurex-zero-installer-analytics.zmd:50
    2129msgid ""
    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"
    2332msgstr ""
    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"
    2535
    26 #: lliurex-zero-installer-analytics.zmd:49
    27 #: lliurex-zero-installer-analytics.zmd:65
     36#: lliurex-zero-installer-analytics.zmd:51
     37msgid "What state must i use in this system?\\n"
     38msgstr "What state must i use in this system?\\n"
     39
     40#: lliurex-zero-installer-analytics.zmd:55
     41#: lliurex-zero-installer-analytics.zmd:73
    2842msgid "enabled"
    2943msgstr "enabled"
    3044
    31 #: lliurex-zero-installer-analytics.zmd:51
    32 #: lliurex-zero-installer-analytics.zmd:69
     45#: lliurex-zero-installer-analytics.zmd:57
     46#: lliurex-zero-installer-analytics.zmd:77
    3347msgid "disabled"
    3448msgstr "disabled"
    3549
    36 #: lliurex-zero-installer-analytics.zmd:57
     50#: lliurex-zero-installer-analytics.zmd:63
    3751msgid ""
    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"
    4054msgstr ""
    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"
    4357
    44 #: lliurex-zero-installer-analytics.zmd:72
     58#: lliurex-zero-installer-analytics.zmd:64
     59msgid "What state must i use for classroom clients?\\n"
     60msgstr "What state must i use for classroom clients?\\n"
     61
     62#: lliurex-zero-installer-analytics.zmd:80
    4563msgid "unknown"
    4664msgstr "unknown"
    4765
    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
     68msgid "Yes"
     69msgstr "Yes"
     70
     71#: lliurex-zero-installer-analytics.zmd:89
     72#: lliurex-zero-installer-analytics.zmd:103
     73msgid "No"
     74msgstr "No"
     75
     76#: lliurex-zero-installer-analytics.zmd:91
     77#: lliurex-zero-installer-analytics.zmd:105
    5078msgid "Allow"
    5179msgstr "Allow"
    5280
    53 #: lliurex-zero-installer-analytics.zmd:81
    54 #: lliurex-zero-installer-analytics.zmd:92
     81#: lliurex-zero-installer-analytics.zmd:91
     82#: lliurex-zero-installer-analytics.zmd:105
    5583msgid "Disallow"
    5684msgstr "Disallow"
  • lliurex-zero-installers/trunk/fuentes/lliurex-po/lliurex-zero-installer-analytics/es.po

    r3415 r3445  
    22# Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER
    33# This file is distributed under the same license as the PACKAGE package.
    4 # FIRST AUTHOR <m.angel.juan@gmail.com>, 2017.
    54# lliurex <m.angel.juan@gmail.com>, 2017.
    65msgid ""
     
    87"Project-Id-Version: PACKAGE VERSION\n"
    98"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"
    1211"Last-Translator: lliurex <m.angel.juan@gmail.com>\n"
    13 "Language-Team: none\n"
     12"Language-Team: Spanish\n"
    1413"Language: es\n"
    1514"MIME-Version: 1.0\n"
    16 "Content-Type: text/plain; charset=ASCII\n"
     15"Content-Type: text/plain; charset=UTF-8\n"
    1716"Content-Transfer-Encoding: 8bit\n"
    1817"Plural-Forms: nplurals=2; plural=(n != 1);\n"
    1918"X-Generator: Virtaal 0.7.1\n"
    2019
    21 #: lliurex-zero-installer-analytics.zmd:45
     20#: lliurex-zero-installer-analytics.zmd:18
     21msgid "Welcome to lliurex-statistics config tool\\n"
     22msgstr "Bienvenido al configurador de lliurex-statistics\\n"
     23
     24#: lliurex-zero-installer-analytics.zmd:30
     25msgid "This system isn't configurable\\n"
     26msgstr "Este sistema no es configurable\\n"
     27
     28#: lliurex-zero-installer-analytics.zmd:50
    2229msgid ""
    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"
    2432msgstr ""
    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"
    2635
    27 #: lliurex-zero-installer-analytics.zmd:49
    28 #: lliurex-zero-installer-analytics.zmd:65
     36#: lliurex-zero-installer-analytics.zmd:51
     37msgid "What state must i use in this system?\\n"
     38msgstr "¿Que estado debo aplicar para este sistema?\\n"
     39
     40#: lliurex-zero-installer-analytics.zmd:55
     41#: lliurex-zero-installer-analytics.zmd:73
    2942msgid "enabled"
    3043msgstr "activado"
    3144
    32 #: lliurex-zero-installer-analytics.zmd:51
    33 #: lliurex-zero-installer-analytics.zmd:69
     45#: lliurex-zero-installer-analytics.zmd:57
     46#: lliurex-zero-installer-analytics.zmd:77
    3447msgid "disabled"
    3548msgstr "desactivado"
    3649
    37 #: lliurex-zero-installer-analytics.zmd:57
     50#: lliurex-zero-installer-analytics.zmd:63
    3851msgid ""
    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"
    4154msgstr ""
    42 "Los clientes de aula tienen el estado del agente %s. Deseas cambiar el "
    43 "estado 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"
    4457
    45 #: lliurex-zero-installer-analytics.zmd:72
     58#: lliurex-zero-installer-analytics.zmd:64
     59msgid "What state must i use for classroom clients?\\n"
     60msgstr "¿Que estado debo aplicar para los clientes del aula?\\n"
     61
     62#: lliurex-zero-installer-analytics.zmd:80
    4663msgid "unknown"
    4764msgstr "desconocido"
    4865
    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
     68msgid "Yes"
     69msgstr "Si"
     70
     71#: lliurex-zero-installer-analytics.zmd:89
     72#: lliurex-zero-installer-analytics.zmd:103
     73msgid "No"
     74msgstr "No"
     75
     76#: lliurex-zero-installer-analytics.zmd:91
     77#: lliurex-zero-installer-analytics.zmd:105
    5178msgid "Allow"
    5279msgstr "Permitir"
    5380
    54 #: lliurex-zero-installer-analytics.zmd:81
    55 #: lliurex-zero-installer-analytics.zmd:92
     81#: lliurex-zero-installer-analytics.zmd:91
     82#: lliurex-zero-installer-analytics.zmd:105
    5683msgid "Disallow"
    5784msgstr "No permitir"
  • lliurex-zero-installers/trunk/fuentes/lliurex-po/lliurex-zero-installer-analytics/lliurex-zero-installer-analytics.pot

    r3415 r3445  
    22# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
    33# 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.
    55#
    66#, fuzzy
     
    99"Project-Id-Version: PACKAGE VERSION\n"
    1010"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"
    1212"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"
    1414"Language-Team: LANGUAGE <LL@li.org>\n"
    1515"Language: \n"
     
    1818"Content-Transfer-Encoding: 8bit\n"
    1919
    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
     21msgid "Welcome to lliurex-statistics config tool\\n"
    2322msgstr ""
    2423
    25 #: lliurex-zero-installer-analytics.zmd:49
    26 #: lliurex-zero-installer-analytics.zmd:65
     24#: lliurex-zero-installer-analytics.zmd:30
     25msgid "This system isn't configurable\\n"
     26msgstr ""
     27
     28#: lliurex-zero-installer-analytics.zmd:50
     29msgid ""
     30"The anonymous statistics reporting agent is %s in this system. Do you want "
     31"change this state?\\n"
     32msgstr ""
     33
     34#: lliurex-zero-installer-analytics.zmd:51
     35msgid "What state must i use in this system?\\n"
     36msgstr ""
     37
     38#: lliurex-zero-installer-analytics.zmd:55
     39#: lliurex-zero-installer-analytics.zmd:73
    2740msgid "enabled"
    2841msgstr ""
    2942
    30 #: lliurex-zero-installer-analytics.zmd:51
    31 #: lliurex-zero-installer-analytics.zmd:69
     43#: lliurex-zero-installer-analytics.zmd:57
     44#: lliurex-zero-installer-analytics.zmd:77
    3245msgid "disabled"
    3346msgstr ""
    3447
    35 #: lliurex-zero-installer-analytics.zmd:57
     48#: lliurex-zero-installer-analytics.zmd:63
    3649msgid ""
    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"
    3952msgstr ""
    4053
    41 #: lliurex-zero-installer-analytics.zmd:72
     54#: lliurex-zero-installer-analytics.zmd:64
     55msgid "What state must i use for classroom clients?\\n"
     56msgstr ""
     57
     58#: lliurex-zero-installer-analytics.zmd:80
    4259msgid "unknown"
    4360msgstr ""
    4461
    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
     64msgid "Yes"
     65msgstr ""
     66
     67#: lliurex-zero-installer-analytics.zmd:89
     68#: lliurex-zero-installer-analytics.zmd:103
     69msgid "No"
     70msgstr ""
     71
     72#: lliurex-zero-installer-analytics.zmd:91
     73#: lliurex-zero-installer-analytics.zmd:105
    4774msgid "Allow"
    4875msgstr ""
    4976
    50 #: lliurex-zero-installer-analytics.zmd:81
    51 #: lliurex-zero-installer-analytics.zmd:92
     77#: lliurex-zero-installer-analytics.zmd:91
     78#: lliurex-zero-installer-analytics.zmd:105
    5279msgid "Disallow"
    5380msgstr ""
  • lliurex-zero-installers/trunk/fuentes/lliurex-zero-installer-analytics.zmds/lliurex-zero-installer-analytics.zmd

    r3436 r3445  
    1616export TEXTDOMAIN="lliurex-zero-installer-analytics"
    1717
    18 GETTEXT="gettext -d $TEXTDOMAIN -s "
     18zenity --info --title="Lliurex-statistics" --text=$(gettext "Welcome to lliurex-statistics config tool\n")
    1919
    2020# DETECTION SECTION
     
    2828    ASK_QUESTION1="no"
    2929    ASK_QUESTION2="no"
     30    zenity --info --title="Lliurex-statistics" --text=$(gettext "This system isn't configurable\n")
     31    exit 0
    3032fi
    3133
     
    4648fi
    4749
    48 Q1=$($GETTEXT "Lliurex-statistics is %s in this system. Do you want change this state?\n")
     50Q1_A=$(gettext "The anonymous statistics reporting agent is %s in this system. Do you want change this state?\n")
     51QUESTION1_B=$(gettext "What state must i use in this system?\n")
    4952#echo Q1 $Q1
    5053VALUE_ME="$(cat /etc/lliurex-analytics/status|grep -i -o yes|uniq)"
    5154if [ -n "$VALUE_ME" ];then
    52     STATUS_ME=$($GETTEXT "enabled")
     55    STATUS_ME=$(gettext "enabled")
    5356else
    54     STATUS_ME=$($GETTEXT "disabled")
     57    STATUS_ME=$(gettext "disabled")
    5558fi
    5659
    57 QUESTION1=$(printf "$Q1" "$STATUS_ME")
     60QUESTION1_A=$(printf "$Q1_A" "$STATUS_ME")
    5861#echo QUESTION1 $QUESTION1
    5962if [ "$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")
    6165#    echo Q2 $Q2
    6266
     
    6771    if [ "x${CURRENT_VALUE}" = "x1" ]; then
    6872    #Enabled
    69         STATUS_CLASS=$($GETTEXT "enabled")
     73        STATUS_CLASS=$(gettext "enabled")
    7074    else
    7175        if [ "x${CURRENT_VALUE}" = "x0" ]; then
    7276        #Disabled
    73             STATUS_CLASS=$($GETTEXT "disabled")
     77            STATUS_CLASS=$(gettext "disabled")
    7478        else
    7579        #Unknown
    76             STATUS_CLASS=$($GETTEXT "unknown")
     80            STATUS_CLASS=$(gettext "unknown")
    7781        fi
    7882    fi
    79     QUESTION2=$(printf "$Q2" "$STATUS_CLASS")
     83    QUESTION2_A=$(printf "$Q2_A" "$STATUS_CLASS")
    8084#    echo QUESTION2 $QUESTION2
    8185fi
     
    8387
    8488# RUN QUESTIONS SECCTION
    85 
    86 zenity --question --text="$QUESTION1"  --ok-label=$($GETTEXT "Allow") --cancel-label=$($GETTEXT "Disallow") > /dev/null 2>&1
     89zenity --question --text="$QUESTION1_A"  --ok-label=$(gettext "Yes") --cancel-label=$(gettext "No") > /dev/null 2>&1
    8790if [ $? -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
    9399fi
    94100
    95101
    96102if [ "$ASK_QUESTION2" = "yes" ]; then
    97     zenity --question --text="$QUESTION2"  --ok-label=$($GETTEXT "Allow") --cancel-label=$($GETTEXT "Disallow") > /dev/null 2>&1
     103    zenity --question --text="$QUESTION2_A"  --ok-label=$(gettext "Yes") --cancel-label=$(gettext "No") > /dev/null 2>&1
    98104    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
    104113    fi
    105114fi
Note: See TracChangeset for help on using the changeset viewer.