update translations

This commit is contained in:
Chris Cromer 2020-08-06 20:38:10 -04:00
parent 95d084883f
commit e093aed41a
Signed by: cromer
GPG Key ID: 39CC813FF3C8708A
9 changed files with 506 additions and 282 deletions

View File

@ -2,9 +2,9 @@
<schema id="org.tuf.manager" path="/org/tuf/manager/" gettext-domain="tuf-manager"> <schema id="org.tuf.manager" path="/org/tuf/manager/" gettext-domain="tuf-manager">
<key name="restore" type="b"> <key name="restore" type="b">
<default>false</default> <default>false</default>
<summary>Should TUF Manager restore previous settings when run</summary> <summary>Should TUF Manager restore previous settings when run?</summary>
<description> <description>
Should TUF Manager restore previous settings when run Should TUF Manager restore previous settings when run?
</description> </description>
</key> </key>
<key name="fan-mode" type="i"> <key name="fan-mode" type="i">
@ -12,9 +12,6 @@
<summary>Fan mode</summary> <summary>Fan mode</summary>
<description> <description>
The saved fan mode The saved fan mode
0 is balanced
1 is turbo
2 is silent
</description> </description>
</key> </key>
<key name="keyboard-mode" type="i"> <key name="keyboard-mode" type="i">
@ -22,10 +19,6 @@
<summary>Keyboard mode</summary> <summary>Keyboard mode</summary>
<description> <description>
The saved keyboard mode The saved keyboard mode
0 is static
1 is breathing
2 is color cycle
3 is strobing
</description> </description>
</key> </key>
<key name="keyboard-speed" type="i"> <key name="keyboard-speed" type="i">
@ -33,16 +26,13 @@
<summary>Keyboard speed</summary> <summary>Keyboard speed</summary>
<description> <description>
The saved keyboard speed The saved keyboard speed
0 is slow
1 is medium
2 is fast
</description> </description>
</key> </key>
<key name="keyboard-color" type="s"> <key name="keyboard-color" type="s">
<default>"rgb(255,0,0)"</default> <default>"rgb(255,0,0)"</default>
<summary>Keyboard color</summary> <summary>Keyboard color</summary>
<description> <description>
The saved keyboard color in rgb format The saved keyboard color in RGB format
</description> </description>
</key> </key>
</schema> </schema>

348
po/es.po
View File

@ -7,8 +7,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: tuf-manager\n" "Project-Id-Version: tuf-manager\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-08-03 22:20-0400\n" "POT-Creation-Date: 2020-08-06 20:34-0400\n"
"PO-Revision-Date: 2020-08-03 22:22-0400\n" "PO-Revision-Date: 2020-08-06 20:37-0400\n"
"Last-Translator: Chris Cromer <chris@cromer.cl>\n" "Last-Translator: Chris Cromer <chris@cromer.cl>\n"
"Language-Team: none\n" "Language-Team: none\n"
"Language: es\n" "Language: es\n"
@ -19,112 +19,242 @@ msgstr ""
"X-Generator: Poedit 2.3\n" "X-Generator: Poedit 2.3\n"
"X-Poedit-SourceCharset: UTF-8\n" "X-Poedit-SourceCharset: UTF-8\n"
#: src/cli.vala:145 #: src/cli.vala:180 src/cli.vala:287 src/cli.vala:344 src/cli.vala:362
msgid "Invalid arguments!\n" #: src/cli.vala:377 src/cli.vala:406 src/cli.vala:429 src/cli.vala:451
msgstr "¡Valor invalido!\n" #: src/cli.vala:471 src/gui-window.vala:109 src/gui-window.vala:125
#: src/gui-window.vala:135 src/main.vala.in:34 src/server.vala:50
#: src/server-main.vala:92 src/server-main.vala:122
msgid "Error: "
msgstr "Error: "
#: src/cli.vala:151 #: src/cli.vala:314
msgid ""
"Invalid arguments!\n"
"\n"
msgstr "¡Argumentos invalidos!\n"
#: src/cli.vala:320
msgid "Version: " msgid "Version: "
msgstr "Versión: " msgstr "Versión: "
#: src/cli.vala:161 src/gui-window.vala:86 #: src/cli.vala:330 src/gui-window.vala:95
msgid "Client version: " msgid "Client version: "
msgstr "Versión del cliente: " msgstr "Versión del cliente: "
#: src/cli.vala:162 src/gui-window.vala:87 #: src/cli.vala:331 src/gui-window.vala:96
msgid "Server version: " msgid "Server version: "
msgstr "Versión del servidor: " msgstr "Versión del servidor: "
#: src/cli.vala:166 #: src/cli.vala:335 src/cli.vala:338 src/cli.vala:341 src/gui-window.vala:106
msgid "Current fan mode: Balanced\n" #: src/gui-window.vala:160
msgstr ""
#: src/cli.vala:169
msgid "Current fan mode: Turbo\n"
msgstr ""
#: src/cli.vala:172
msgid "Current fan mode: Silent\n"
msgstr ""
#: src/cli.vala:175 src/cli.vala:193
msgid "Error: Could not get current fan mode!\n"
msgstr ""
#: src/cli.vala:181
msgid "Current keyboard lighting: Static\n"
msgstr "Iluminación de teclado\n"
#: src/cli.vala:184
msgid "Current keyboard lighting: Breathing\n"
msgstr ""
#: src/cli.vala:187
msgid "Current keyboard lighting: Color Cycle\n"
msgstr ""
#: src/cli.vala:190
msgid "Current keyboard lighting: Strobing\n"
msgstr "Iluminación de teclado\n"
#: src/gui-window.vala:71
msgid "The current running tuf-server version doesn't match the gui version!"
msgstr ""
#: src/gui-window.vala:96
msgid "Current fan mode: " msgid "Current fan mode: "
msgstr "" msgstr "Modo de ventilador actual: "
#: src/gui-window.vala:99 #: src/cli.vala:335
msgid "Error: Could not get current fan mode!" msgid "Balanced\n"
msgstr "" msgstr "Balanceada\n"
#: src/gui-window.vala:106 #: src/cli.vala:338
msgid "Current keyboard mode: " msgid "Turbo\n"
msgstr "Turbo\n"
#: src/cli.vala:341
msgid "Silent\n"
msgstr "Silenciosa\n"
#: src/cli.vala:344
msgid "Could not get current fan mode!\n"
msgstr "¡No se pudo obtener el modo de ventilador actual!\n"
#: src/cli.vala:350 src/cli.vala:353 src/cli.vala:356 src/cli.vala:359
msgid "Current keyboard lighting: "
msgstr "Iluminación de teclado actual: "
#: src/cli.vala:350
msgid "Static\n"
msgstr "Estática\n"
#: src/cli.vala:353
msgid "Breathing\n"
msgstr "Respiración\n"
#: src/cli.vala:356
msgid "Color Cycle\n"
msgstr "Ciclo de Color\n"
#: src/cli.vala:359
msgid "Strobing\n"
msgstr "Estroboscópica\n"
#: src/cli.vala:362
msgid "Could not get current keyboard mode!\n"
msgstr "¡No se pudo obtener el modo de teclado actual!\n"
#: src/cli.vala:368 src/cli.vala:371 src/cli.vala:374 src/gui-window.vala:132
#: src/gui-window.vala:184
msgid "Current keyboard speed: "
msgstr "Velocidad del teclado actual: "
#: src/cli.vala:368
msgid "Slow\n"
msgstr "Lenta\n"
#: src/cli.vala:371
msgid "Medium\n"
msgstr "Media\n"
#: src/cli.vala:374
msgid "Fast\n"
msgstr "Rapida\n"
#: src/cli.vala:377
msgid "Could not get current keyboard speed!\n"
msgstr "¡No se pudo obtener la velocidad actual del teclado!\n"
#: src/cli.vala:386 src/gui-window.vala:141 src/gui-window.vala:193
msgid "Current keyboard color: "
msgstr "Color de teclado actual: "
#: src/cli.vala:497
msgid "Usage:"
msgstr "Uso:"
#: src/cli.vala:497
msgid "COMMAND [SUBCOMMAND]"
msgstr "COMANDO [SUBCOMANDO]"
#: src/cli.vala:498
msgid "Print the version of tuf-cli\n"
msgstr "Imprimir la versión del tuf-cli\n"
#: src/cli.vala:499
msgid "Show this help screen\n"
msgstr "Mostrar esta pantalla de ayuda\n"
#: src/cli.vala:500
msgid "Set the fan mode\n"
msgstr "Establecer el modo del ventilador:\n"
#: src/cli.vala:501
msgid "Set the keyboard lighting\n"
msgstr "Iluminación de teclado\n"
#: src/cli.vala:502
msgid "Set the keyboard lighting speed\n"
msgstr "Establecer la Iluminación de teclado\n"
#: src/cli.vala:503
msgid "Set the keyboard color\n"
msgstr "Color del teclado\n"
#: src/cli.vala:504
msgid ""
"Show the current config\n"
"\n"
msgstr "" msgstr ""
"Mostrar la configuración actual\n"
"\n"
#: src/cli.vala:505
msgid "Examples:\n"
msgstr "Ejemplos:\n"
#: src/cli.vala:506
msgid "Silence fan:"
msgstr "Silenciar ventilador:"
#: src/cli.vala:507
msgid "Change RGB color:"
msgstr "Cambiar el color RGB:"
#: src/common.vala:41 src/common.vala:64 src/common.vala:79 src/common.vala:82
#: src/common.vala:97 src/common.vala:100 src/common.vala:114
#: src/common.vala:117 src/common.vala:132 src/common.vala:135
#: src/common.vala:149 src/common.vala:152 src/common.vala:167
#: src/common.vala:170 src/common.vala:184 src/common.vala:187
#: src/common.vala:202 src/common.vala:205 src/gui-window.vala:79
#: src/main.vala.in:31 src/server.vala:44 src/server.vala:140
#: src/server.vala:201 src/server.vala:204 src/server.vala:212
#: src/server.vala:215 src/server.vala:321 src/server.vala:324
#: src/server.vala:332 src/server.vala:335 src/server.vala:447
#: src/server.vala:450 src/server.vala:458 src/server.vala:461
#: src/server.vala:559 src/server.vala:562 src/server.vala:570
#: src/server.vala:573 src/server-main.vala:68 src/server-main.vala:88
#, c-format
msgid "Error: %s\n"
msgstr "Error: %s\n"
#: src/common.vala:50
msgid "The server and client versions do not match!"
msgstr "¡La versión del servidor y del cliente no coinciden!"
#: src/gui-window.vala:86
msgid "The current running tuf-server version doesn't match the GUI version!"
msgstr "¡La versión actual de tuf-server no coincide con la versión de GUI!"
#: src/gui-window.vala:109 #: src/gui-window.vala:109
msgid "Error: Could not get current keyboard mode!" msgid "Could not get current fan mode!"
msgstr "" msgstr "¡No se pudo obtener el modo de ventilador actual!"
#: src/gui-window.vala:116 #: src/gui-window.vala:122 src/gui-window.vala:175
msgid "Current keyboard speed: " msgid "Current keyboard mode: "
msgstr "" msgstr "Modo de teclado actual: "
#: src/gui-window.vala:119
msgid "Error: Could not get current keyboard speed!"
msgstr ""
#: src/gui-window.vala:125 #: src/gui-window.vala:125
msgid "Current keyboard color: " msgid "Could not get current keyboard mode!"
msgstr "" msgstr "¡No se pudo obtener el modo de teclado actual!"
#: src/gui-window.vala:135
msgid "Could not get current keyboard speed!"
msgstr "¡No se pudo obtener la velocidad actual del teclado!"
#: src/main.vala.in:34 #: src/main.vala.in:34
msgid "Another instance of TUF Manager is already running!" msgid "Another instance of TUF Manager is already running!\n"
msgstr "" msgstr "¡Ya se está ejecutando otra instancia de Administrador TUF!\n"
#: src/server.vala:154 src/server.vala:217 src/server.vala:236 #: src/server.vala:50
#: src/server.vala:249 src/server.vala:262 src/server.vala:321 msgid "Could not register service!\n"
#: src/server.vala:328 src/server.vala:335 src/server.vala:342 msgstr "¡No se pudo registrar el servicio!\n"
#: src/server.vala:349 src/server.vala:359 src/server.vala:414
#: src/server.vala:426 src/server.vala:433 src/server.vala:444 #: src/server.vala:166 src/server.vala:238 src/server.vala:264
#: src/server.vala:499 src/server.vala:511 src/server.vala:518 #: src/server.vala:277 src/server.vala:290 src/server.vala:365
#: src/server.vala:372 src/server.vala:379 src/server.vala:386
#: src/server.vala:393 src/server.vala:411 src/server.vala:487
#: src/server.vala:499 src/server.vala:506 src/server.vala:524
#: src/server.vala:599 src/server.vala:611 src/server.vala:618
msgid "Failed to open stream!" msgid "Failed to open stream!"
msgstr "¡Fallo al abrir stream!" msgstr "¡Fallo al abrir stream!"
#: src/server.vala:159 src/server.vala:241 src/server.vala:254 #: src/server.vala:171 src/server.vala:269 src/server.vala:282
#: src/server.vala:267 src/server.vala:364 src/server.vala:449 #: src/server.vala:295 src/server.vala:416 src/server.vala:529
msgid "File is empty!" msgid "File is empty!"
msgstr "¡El archivo está vacío!" msgstr "¡El archivo está vacío!"
#: src/server.vala:164 src/server.vala:369 src/server.vala:454 #: src/server.vala:176 src/server.vala:421 src/server.vala:534
msgid "File contains invalid value!" msgid "File contains invalid value!"
msgstr "¡El archivo contiene un valor invalido!" msgstr "¡El archivo contiene un valor invalido!"
#: src/server.vala:222 src/server.vala:419 src/server.vala:504 #: src/server.vala:243 src/server.vala:492 src/server.vala:604
msgid "Invalid value!" msgid "Invalid value!"
msgstr "¡Valor invalido!" msgstr "¡Valor invalido!"
#: src/server-main.vala:33
msgid "Run the daemon in the foreground"
msgstr "Ejecuta el daemon en primer plano"
#: src/server-main.vala:69
#, c-format
msgid "Run '%s --help' to see a full list of available command line options.\n"
msgstr "Ejecute '% s --help' para ver una lista completa de las opciones de línea de comando disponibles.\n"
#: src/server-main.vala:92
msgid "Could not create pid file!\n"
msgstr "¡No se pudo crear el archivo pid!\n"
#: src/server-main.vala:122
msgid "Could not acquire bus name!\n"
msgstr "¡No se pudo adquirir el bus name!\n"
#: data/tuf-manager.desktop.in:4 data/tuf-manager.desktop.in:5 #: data/tuf-manager.desktop.in:4 data/tuf-manager.desktop.in:5
#: data/ui/tuf.manager.window.ui:41 #: data/ui/tuf.manager.window.ui:41
msgid "TUF Manager" msgid "TUF Manager"
@ -139,48 +269,46 @@ msgstr "Software para gestionar el modo ventilador y el teclado rgb."
msgid "tuf-manager" msgid "tuf-manager"
msgstr "" msgstr ""
#: data/polkit/org.tuf.manager.policy.in:10
msgid "Authentication is required"
msgstr "Se requiere autenticación"
#: data/gschema/org.tuf.manager.gschema.xml:5 #: data/gschema/org.tuf.manager.gschema.xml:5
#: data/gschema/org.tuf.manager.gschema.xml:6 #: data/gschema/org.tuf.manager.gschema.xml:6
msgid "Should TUF Manager restore previous settings when run" msgid "Should TUF Manager restore previous settings when run?"
msgstr "" msgstr "¿Debe Administrador TUF restaurar la configuración anterior cuando se ejecuta?"
#: data/gschema/org.tuf.manager.gschema.xml:12 #: data/gschema/org.tuf.manager.gschema.xml:12
msgid "Fan mode" msgid "Fan mode"
msgstr "" msgstr "Modo del ventilador"
#: data/gschema/org.tuf.manager.gschema.xml:13 #: data/gschema/org.tuf.manager.gschema.xml:13
msgid "The saved fan mode 0 is balanced 1 is turbo 2 is silent" msgid "The saved fan mode"
msgstr "" msgstr "El modo de ventilador guardado"
#: data/gschema/org.tuf.manager.gschema.xml:22 #: data/gschema/org.tuf.manager.gschema.xml:19
msgid "Keyboard mode" msgid "Keyboard mode"
msgstr "Modo del teclado" msgstr "Modo del teclado"
#: data/gschema/org.tuf.manager.gschema.xml:23 #: data/gschema/org.tuf.manager.gschema.xml:20
msgid "" msgid "The saved keyboard mode"
"The saved keyboard mode 0 is static 1 is breathing 2 is color cycle 3 is " msgstr "El modo de teclado guardado"
"strobing"
msgstr "" #: data/gschema/org.tuf.manager.gschema.xml:26
msgid "Keyboard speed"
msgstr "Velocidad del teclado"
#: data/gschema/org.tuf.manager.gschema.xml:27
msgid "The saved keyboard speed"
msgstr "La velocidad del teclado guardada"
#: data/gschema/org.tuf.manager.gschema.xml:33 #: data/gschema/org.tuf.manager.gschema.xml:33
msgid "Keyboard speed"
msgstr ""
#: data/gschema/org.tuf.manager.gschema.xml:34
msgid "The saved keyboard speed 0 is slow 1 is medium 2 is fast"
msgstr ""
#: data/gschema/org.tuf.manager.gschema.xml:43
msgid "Keyboard color" msgid "Keyboard color"
msgstr "Color del teclado" msgstr "Color del teclado"
#: data/gschema/org.tuf.manager.gschema.xml:44 #: data/gschema/org.tuf.manager.gschema.xml:34
msgid "The saved keyboard color in rgb format" msgid "The saved keyboard color in RGB format"
msgstr "" msgstr "El color del teclado guardado en formato RGB"
#: data/polkit/org.tuf.manager.policy.in:10
msgid "Authentication is required"
msgstr "Se requiere autenticación"
#: data/ui/tuf.manager.window.ui:73 data/ui/tuf.manager.window.ui:212 #: data/ui/tuf.manager.window.ui:73 data/ui/tuf.manager.window.ui:212
msgid "Mode" msgid "Mode"
@ -241,23 +369,3 @@ msgstr "Silenciosa"
#: data/ui/tuf.manager.window.ui:250 #: data/ui/tuf.manager.window.ui:250
msgid "Fan control" msgid "Fan control"
msgstr "Control de ventilador" msgstr "Control de ventilador"
#~ msgid "Authentication failed!"
#~ msgstr "¡Autenticación falló!"
#~ msgid "Brightness"
#~ msgstr "Brillo"
#~ msgid "Off"
#~ msgstr "Apagada"
#~ msgid "Low"
#~ msgstr "Baja"
#~ msgid "High"
#~ msgstr "Alta"
#~ msgid "The TUF server is busy and can't handle the request at the moment!"
#~ msgstr ""
#~ "¡El servidor TUF está ocupado y no puede manejar la solicitud en este "
#~ "momento!"

View File

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: tuf-manager\n" "Project-Id-Version: tuf-manager\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-08-03 22:20-0400\n" "POT-Creation-Date: 2020-08-06 20:34-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -17,112 +17,240 @@ msgstr ""
"Content-Type: text/plain; charset=CHARSET\n" "Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
#: src/cli.vala:145 #: src/cli.vala:180 src/cli.vala:287 src/cli.vala:344 src/cli.vala:362
msgid "Invalid arguments!\n" #: src/cli.vala:377 src/cli.vala:406 src/cli.vala:429 src/cli.vala:451
#: src/cli.vala:471 src/gui-window.vala:109 src/gui-window.vala:125
#: src/gui-window.vala:135 src/main.vala.in:34 src/server.vala:50
#: src/server-main.vala:92 src/server-main.vala:122
msgid "Error: "
msgstr "" msgstr ""
#: src/cli.vala:151 #: src/cli.vala:314
msgid ""
"Invalid arguments!\n"
"\n"
msgstr ""
#: src/cli.vala:320
msgid "Version: " msgid "Version: "
msgstr "" msgstr ""
#: src/cli.vala:161 src/gui-window.vala:86 #: src/cli.vala:330 src/gui-window.vala:95
msgid "Client version: " msgid "Client version: "
msgstr "" msgstr ""
#: src/cli.vala:162 src/gui-window.vala:87 #: src/cli.vala:331 src/gui-window.vala:96
msgid "Server version: " msgid "Server version: "
msgstr "" msgstr ""
#: src/cli.vala:166 #: src/cli.vala:335 src/cli.vala:338 src/cli.vala:341 src/gui-window.vala:106
msgid "Current fan mode: Balanced\n" #: src/gui-window.vala:160
msgstr ""
#: src/cli.vala:169
msgid "Current fan mode: Turbo\n"
msgstr ""
#: src/cli.vala:172
msgid "Current fan mode: Silent\n"
msgstr ""
#: src/cli.vala:175 src/cli.vala:193
msgid "Error: Could not get current fan mode!\n"
msgstr ""
#: src/cli.vala:181
msgid "Current keyboard lighting: Static\n"
msgstr ""
#: src/cli.vala:184
msgid "Current keyboard lighting: Breathing\n"
msgstr ""
#: src/cli.vala:187
msgid "Current keyboard lighting: Color Cycle\n"
msgstr ""
#: src/cli.vala:190
msgid "Current keyboard lighting: Strobing\n"
msgstr ""
#: src/gui-window.vala:71
msgid "The current running tuf-server version doesn't match the gui version!"
msgstr ""
#: src/gui-window.vala:96
msgid "Current fan mode: " msgid "Current fan mode: "
msgstr "" msgstr ""
#: src/gui-window.vala:99 #: src/cli.vala:335
msgid "Error: Could not get current fan mode!" msgid "Balanced\n"
msgstr "" msgstr ""
#: src/gui-window.vala:106 #: src/cli.vala:338
msgid "Current keyboard mode: " msgid "Turbo\n"
msgstr "" msgstr ""
#: src/gui-window.vala:109 #: src/cli.vala:341
msgid "Error: Could not get current keyboard mode!" msgid "Silent\n"
msgstr "" msgstr ""
#: src/gui-window.vala:116 #: src/cli.vala:344
msgid "Could not get current fan mode!\n"
msgstr ""
#: src/cli.vala:350 src/cli.vala:353 src/cli.vala:356 src/cli.vala:359
msgid "Current keyboard lighting: "
msgstr ""
#: src/cli.vala:350
msgid "Static\n"
msgstr ""
#: src/cli.vala:353
msgid "Breathing\n"
msgstr ""
#: src/cli.vala:356
msgid "Color Cycle\n"
msgstr ""
#: src/cli.vala:359
msgid "Strobing\n"
msgstr ""
#: src/cli.vala:362
msgid "Could not get current keyboard mode!\n"
msgstr ""
#: src/cli.vala:368 src/cli.vala:371 src/cli.vala:374 src/gui-window.vala:132
#: src/gui-window.vala:184
msgid "Current keyboard speed: " msgid "Current keyboard speed: "
msgstr "" msgstr ""
#: src/gui-window.vala:119 #: src/cli.vala:368
msgid "Error: Could not get current keyboard speed!" msgid "Slow\n"
msgstr "" msgstr ""
#: src/gui-window.vala:125 #: src/cli.vala:371
msgid "Medium\n"
msgstr ""
#: src/cli.vala:374
msgid "Fast\n"
msgstr ""
#: src/cli.vala:377
msgid "Could not get current keyboard speed!\n"
msgstr ""
#: src/cli.vala:386 src/gui-window.vala:141 src/gui-window.vala:193
msgid "Current keyboard color: " msgid "Current keyboard color: "
msgstr "" msgstr ""
#: src/main.vala.in:34 #: src/cli.vala:497
msgid "Another instance of TUF Manager is already running!" msgid "Usage:"
msgstr "" msgstr ""
#: src/server.vala:154 src/server.vala:217 src/server.vala:236 #: src/cli.vala:497
#: src/server.vala:249 src/server.vala:262 src/server.vala:321 msgid "COMMAND [SUBCOMMAND]"
#: src/server.vala:328 src/server.vala:335 src/server.vala:342 msgstr ""
#: src/server.vala:349 src/server.vala:359 src/server.vala:414
#: src/server.vala:426 src/server.vala:433 src/server.vala:444 #: src/cli.vala:498
#: src/server.vala:499 src/server.vala:511 src/server.vala:518 msgid "Print the version of tuf-cli\n"
msgstr ""
#: src/cli.vala:499
msgid "Show this help screen\n"
msgstr ""
#: src/cli.vala:500
msgid "Set the fan mode\n"
msgstr ""
#: src/cli.vala:501
msgid "Set the keyboard lighting\n"
msgstr ""
#: src/cli.vala:502
msgid "Set the keyboard lighting speed\n"
msgstr ""
#: src/cli.vala:503
msgid "Set the keyboard color\n"
msgstr ""
#: src/cli.vala:504
msgid ""
"Show the current config\n"
"\n"
msgstr ""
#: src/cli.vala:505
msgid "Examples:\n"
msgstr ""
#: src/cli.vala:506
msgid "Silence fan:"
msgstr ""
#: src/cli.vala:507
msgid "Change RGB color:"
msgstr ""
#: src/common.vala:41 src/common.vala:64 src/common.vala:79 src/common.vala:82
#: src/common.vala:97 src/common.vala:100 src/common.vala:114
#: src/common.vala:117 src/common.vala:132 src/common.vala:135
#: src/common.vala:149 src/common.vala:152 src/common.vala:167
#: src/common.vala:170 src/common.vala:184 src/common.vala:187
#: src/common.vala:202 src/common.vala:205 src/gui-window.vala:79
#: src/main.vala.in:31 src/server.vala:44 src/server.vala:140
#: src/server.vala:201 src/server.vala:204 src/server.vala:212
#: src/server.vala:215 src/server.vala:321 src/server.vala:324
#: src/server.vala:332 src/server.vala:335 src/server.vala:447
#: src/server.vala:450 src/server.vala:458 src/server.vala:461
#: src/server.vala:559 src/server.vala:562 src/server.vala:570
#: src/server.vala:573 src/server-main.vala:68 src/server-main.vala:88
#, c-format
msgid "Error: %s\n"
msgstr ""
#: src/common.vala:50
msgid "The server and client versions do not match!"
msgstr ""
#: src/gui-window.vala:86
msgid "The current running tuf-server version doesn't match the GUI version!"
msgstr ""
#: src/gui-window.vala:109
msgid "Could not get current fan mode!"
msgstr ""
#: src/gui-window.vala:122 src/gui-window.vala:175
msgid "Current keyboard mode: "
msgstr ""
#: src/gui-window.vala:125
msgid "Could not get current keyboard mode!"
msgstr ""
#: src/gui-window.vala:135
msgid "Could not get current keyboard speed!"
msgstr ""
#: src/main.vala.in:34
msgid "Another instance of TUF Manager is already running!\n"
msgstr ""
#: src/server.vala:50
msgid "Could not register service!\n"
msgstr ""
#: src/server.vala:166 src/server.vala:238 src/server.vala:264
#: src/server.vala:277 src/server.vala:290 src/server.vala:365
#: src/server.vala:372 src/server.vala:379 src/server.vala:386
#: src/server.vala:393 src/server.vala:411 src/server.vala:487
#: src/server.vala:499 src/server.vala:506 src/server.vala:524
#: src/server.vala:599 src/server.vala:611 src/server.vala:618
msgid "Failed to open stream!" msgid "Failed to open stream!"
msgstr "" msgstr ""
#: src/server.vala:159 src/server.vala:241 src/server.vala:254 #: src/server.vala:171 src/server.vala:269 src/server.vala:282
#: src/server.vala:267 src/server.vala:364 src/server.vala:449 #: src/server.vala:295 src/server.vala:416 src/server.vala:529
msgid "File is empty!" msgid "File is empty!"
msgstr "" msgstr ""
#: src/server.vala:164 src/server.vala:369 src/server.vala:454 #: src/server.vala:176 src/server.vala:421 src/server.vala:534
msgid "File contains invalid value!" msgid "File contains invalid value!"
msgstr "" msgstr ""
#: src/server.vala:222 src/server.vala:419 src/server.vala:504 #: src/server.vala:243 src/server.vala:492 src/server.vala:604
msgid "Invalid value!" msgid "Invalid value!"
msgstr "" msgstr ""
#: src/server-main.vala:33
msgid "Run the daemon in the foreground"
msgstr ""
#: src/server-main.vala:69
#, c-format
msgid "Run '%s --help' to see a full list of available command line options.\n"
msgstr ""
#: src/server-main.vala:92
msgid "Could not create pid file!\n"
msgstr ""
#: src/server-main.vala:122
msgid "Could not acquire bus name!\n"
msgstr ""
#: data/tuf-manager.desktop.in:4 data/tuf-manager.desktop.in:5 #: data/tuf-manager.desktop.in:4 data/tuf-manager.desktop.in:5
#: data/ui/tuf.manager.window.ui:41 #: data/ui/tuf.manager.window.ui:41
msgid "TUF Manager" msgid "TUF Manager"
@ -136,13 +264,9 @@ msgstr ""
msgid "tuf-manager" msgid "tuf-manager"
msgstr "" msgstr ""
#: data/polkit/org.tuf.manager.policy.in:10
msgid "Authentication is required"
msgstr ""
#: data/gschema/org.tuf.manager.gschema.xml:5 #: data/gschema/org.tuf.manager.gschema.xml:5
#: data/gschema/org.tuf.manager.gschema.xml:6 #: data/gschema/org.tuf.manager.gschema.xml:6
msgid "Should TUF Manager restore previous settings when run" msgid "Should TUF Manager restore previous settings when run?"
msgstr "" msgstr ""
#: data/gschema/org.tuf.manager.gschema.xml:12 #: data/gschema/org.tuf.manager.gschema.xml:12
@ -150,33 +274,35 @@ msgid "Fan mode"
msgstr "" msgstr ""
#: data/gschema/org.tuf.manager.gschema.xml:13 #: data/gschema/org.tuf.manager.gschema.xml:13
msgid "The saved fan mode 0 is balanced 1 is turbo 2 is silent" msgid "The saved fan mode"
msgstr "" msgstr ""
#: data/gschema/org.tuf.manager.gschema.xml:22 #: data/gschema/org.tuf.manager.gschema.xml:19
msgid "Keyboard mode" msgid "Keyboard mode"
msgstr "" msgstr ""
#: data/gschema/org.tuf.manager.gschema.xml:23 #: data/gschema/org.tuf.manager.gschema.xml:20
msgid "" msgid "The saved keyboard mode"
"The saved keyboard mode 0 is static 1 is breathing 2 is color cycle 3 is "
"strobing"
msgstr "" msgstr ""
#: data/gschema/org.tuf.manager.gschema.xml:33 #: data/gschema/org.tuf.manager.gschema.xml:26
msgid "Keyboard speed" msgid "Keyboard speed"
msgstr "" msgstr ""
#: data/gschema/org.tuf.manager.gschema.xml:34 #: data/gschema/org.tuf.manager.gschema.xml:27
msgid "The saved keyboard speed 0 is slow 1 is medium 2 is fast" msgid "The saved keyboard speed"
msgstr "" msgstr ""
#: data/gschema/org.tuf.manager.gschema.xml:43 #: data/gschema/org.tuf.manager.gschema.xml:33
msgid "Keyboard color" msgid "Keyboard color"
msgstr "" msgstr ""
#: data/gschema/org.tuf.manager.gschema.xml:44 #: data/gschema/org.tuf.manager.gschema.xml:34
msgid "The saved keyboard color in rgb format" msgid "The saved keyboard color in RGB format"
msgstr ""
#: data/polkit/org.tuf.manager.policy.in:10
msgid "Authentication is required"
msgstr "" msgstr ""
#: data/ui/tuf.manager.window.ui:73 data/ui/tuf.manager.window.ui:212 #: data/ui/tuf.manager.window.ui:73 data/ui/tuf.manager.window.ui:212

View File

@ -332,49 +332,49 @@ namespace TUFManager {
var current_setting = get_fan_mode (); var current_setting = get_fan_mode ();
switch (current_setting) { switch (current_setting) {
case 0: case 0:
command_line.print (_ ("Current fan mode: Balanced\n")); command_line.print (_ ("Current fan mode: ") + _ ("Balanced\n"));
break; break;
case 1: case 1:
command_line.print (_ ("Current fan mode: Turbo\n")); command_line.print (_ ("Current fan mode: ") + _ ("Turbo\n"));
break; break;
case 2: case 2:
command_line.print (_ ("Current fan mode: Silent\n")); command_line.print (_ ("Current fan mode: ") + _ ("Silent\n"));
break; break;
default: default:
command_line.printerr (_ ("Error: Could not get current fan mode!\n")); command_line.printerr (_ ("Error: ") + _ ("Could not get current fan mode!\n"));
break; break;
} }
current_setting = get_keyboard_mode (); current_setting = get_keyboard_mode ();
switch (current_setting) { switch (current_setting) {
case 0: case 0:
command_line.print (_ ("Current keyboard lighting: Static\n")); command_line.print (_ ("Current keyboard lighting: ") + _ ("Static\n"));
break; break;
case 1: case 1:
command_line.print (_ ("Current keyboard lighting: Breathing\n")); command_line.print (_ ("Current keyboard lighting: ") + _ ("Breathing\n"));
break; break;
case 2: case 2:
command_line.print (_ ("Current keyboard lighting: Color Cycle\n")); command_line.print (_ ("Current keyboard lighting: ") + _ ("Color Cycle\n"));
break; break;
case 3: case 3:
command_line.print (_ ("Current keyboard lighting: Strobing\n")); command_line.print (_ ("Current keyboard lighting: ") + _ ("Strobing\n"));
break; break;
default: default:
command_line.printerr (_ ("Error: Could not get current keyboard mode!\n")); command_line.printerr (_ ("Error: ") + _ ("Could not get current keyboard mode!\n"));
break; break;
} }
current_setting = get_keyboard_speed (); current_setting = get_keyboard_speed ();
switch (current_setting) { switch (current_setting) {
case 0: case 0:
command_line.print (_ ("Current keyboard speed: Slow\n")); command_line.print (_ ("Current keyboard speed: ") + _ ("Slow\n"));
break; break;
case 1: case 1:
command_line.print (_ ("Current keyboard speed: Medium\n")); command_line.print (_ ("Current keyboard speed: ") + _ ("Medium\n"));
break; break;
case 2: case 2:
command_line.print (_ ("Current keyboard speed: Fast\n")); command_line.print (_ ("Current keyboard speed: ") + _ ("Fast\n"));
break; break;
default: default:
command_line.printerr (_ ("Error: Could not get current fan mode!\n")); command_line.printerr (_ ("Error: ") + _ ("Could not get current keyboard speed!\n"));
break; break;
} }
var current_color = get_keyboard_color (); var current_color = get_keyboard_color ();
@ -383,7 +383,7 @@ namespace TUFManager {
(uint) (Math.round (current_color.green * 255)), (uint) (Math.round (current_color.green * 255)),
(uint) (Math.round (current_color.blue * 255)) (uint) (Math.round (current_color.blue * 255))
).up (); ).up ();
command_line.print (_ ("Current keyboard color: " + color_hex + "\n")); command_line.print (_ ("Current keyboard color: ") + color_hex + "\n");
release_cli (); release_cli ();
return 0; return 0;
} }
@ -494,17 +494,17 @@ namespace TUFManager {
* @param command_line The command line currently in use to print to * @param command_line The command line currently in use to print to
*/ */
private void print_usage (ApplicationCommandLine command_line) { private void print_usage (ApplicationCommandLine command_line) {
command_line.print ("Usage: tuf-cli COMMAND [SUBCOMMAND] ...\n\n"); command_line.print (_ ("Usage:") + " tuf-cli " + _ ("COMMAND [SUBCOMMAND]") + " ...\n\n");
command_line.print (" version Print the version of tuf-cli\n"); command_line.print (" version " + _ ("Print the version of tuf-cli\n"));
command_line.print (" help Show this help screen\n"); command_line.print (" help " + _ ("Show this help screen\n"));
command_line.print (" fan [balanced, turbo, silent] Set the fan mode\n"); command_line.print (" fan [balanced, turbo, silent] " + _ ("Set the fan mode\n"));
command_line.print (" lighting [static, breath, cycle, stobe] Set the keyboard lighting\n"); command_line.print (" lighting [static, breath, cycle, stobe] " + _ ("Set the keyboard lighting\n"));
command_line.print (" speed [slow, medium, fast] Set the keyboard lighting speed\n"); command_line.print (" speed [slow, medium, fast] " + _ ("Set the keyboard lighting speed\n"));
command_line.print (" color [\"#XXXXXX\"] Set the keyboard color\n"); command_line.print (" color [\"#XXXXXX\"] " + _ ("Set the keyboard color\n"));
command_line.print (" info Show the current config\n\n"); command_line.print (" info " + _ ("Show the current config\n\n"));
command_line.print ("Examples:\n"); command_line.print (_ ("Examples:\n"));
command_line.print (" Silence fan: tuf-cli fan silent\n"); command_line.print (" " + _ ("Silence fan:") + " tuf-cli fan silent\n");
command_line.print (" Change RGB color: tuf-cli color \"#FF0000\"\n"); command_line.print (" " + _ ("Change RGB color:") + " tuf-cli color \"#FF0000\"\n");
} }
/** /**

View File

@ -79,7 +79,7 @@ namespace TUFManager {
stderr.printf (_ ("Error: %s\n"), e.message); stderr.printf (_ ("Error: %s\n"), e.message);
} }
catch (Error e) { catch (Error e) {
stderr.printf ("Error: %s\n", e.message); stderr.printf (_ ("Error: %s\n"), e.message);
} }
return -3; return -3;
} }
@ -94,10 +94,10 @@ namespace TUFManager {
tuf_server.set_fan_mode (mode, bus_name); tuf_server.set_fan_mode (mode, bus_name);
} }
catch (TUFError e) { catch (TUFError e) {
stderr.printf ("Error: %s\n", e.message); stderr.printf (_ ("Error: %s\n"), e.message);
} }
catch (Error e) { catch (Error e) {
stderr.printf ("Error: %s\n", e.message); stderr.printf (_ ("Error: %s\n"), e.message);
} }
} }
@ -111,10 +111,10 @@ namespace TUFManager {
return tuf_server.get_keyboard_color (); return tuf_server.get_keyboard_color ();
} }
catch (TUFError e) { catch (TUFError e) {
stderr.printf ("Error: %s\n", e.message); stderr.printf (_ ("Error: %s\n"), e.message);
} }
catch (Error e) { catch (Error e) {
stderr.printf ("Error: %s\n", e.message); stderr.printf (_ ("Error: %s\n"), e.message);
} }
return Gdk.RGBA (); return Gdk.RGBA ();
} }
@ -129,10 +129,10 @@ namespace TUFManager {
tuf_server.set_keyboard_color (color, bus_name); tuf_server.set_keyboard_color (color, bus_name);
} }
catch (TUFError e) { catch (TUFError e) {
stderr.printf ("Error: %s\n", e.message); stderr.printf (_ ("Error: %s\n"), e.message);
} }
catch (Error e) { catch (Error e) {
stderr.printf ("Error: %s\n", e.message); stderr.printf (_ ("Error: %s\n"), e.message);
} }
} }
@ -146,10 +146,10 @@ namespace TUFManager {
return tuf_server.get_keyboard_mode (); return tuf_server.get_keyboard_mode ();
} }
catch (TUFError e) { catch (TUFError e) {
stderr.printf ("Error: %s\n", e.message); stderr.printf (_ ("Error: %s\n"), e.message);
} }
catch (Error e) { catch (Error e) {
stderr.printf ("Error: %s\n", e.message); stderr.printf (_ ("Error: %s\n"), e.message);
} }
return -3; return -3;
} }
@ -164,10 +164,10 @@ namespace TUFManager {
tuf_server.set_keyboard_mode (mode, bus_name); tuf_server.set_keyboard_mode (mode, bus_name);
} }
catch (TUFError e) { catch (TUFError e) {
stderr.printf ("Error: %s\n", e.message); stderr.printf (_ ("Error: %s\n"), e.message);
} }
catch (Error e) { catch (Error e) {
stderr.printf ("Error: %s\n", e.message); stderr.printf (_ ("Error: %s\n"), e.message);
} }
} }
@ -181,10 +181,10 @@ namespace TUFManager {
return tuf_server.get_keyboard_speed (); return tuf_server.get_keyboard_speed ();
} }
catch (TUFError e) { catch (TUFError e) {
stderr.printf ("Error: %s\n", e.message); stderr.printf (_ ("Error: %s\n"), e.message);
} }
catch (Error e) { catch (Error e) {
stderr.printf ("Error: %s\n", e.message); stderr.printf (_ ("Error: %s\n"), e.message);
} }
return -3; return -3;
} }
@ -199,10 +199,10 @@ namespace TUFManager {
tuf_server.set_keyboard_speed (speed, bus_name); tuf_server.set_keyboard_speed (speed, bus_name);
} }
catch (TUFError e) { catch (TUFError e) {
stderr.printf ("Error: %s\n", e.message); stderr.printf (_ ("Error: %s\n"), e.message);
} }
catch (Error e) { catch (Error e) {
stderr.printf ("Error: %s\n", e.message); stderr.printf (_ ("Error: %s\n"), e.message);
} }
} }
} }

View File

@ -76,14 +76,14 @@ namespace TUFManager {
connect_tuf_server (); connect_tuf_server ();
} }
catch (TUFError e) { catch (TUFError e) {
stderr.printf ("Error: %s:\n", e.message); stderr.printf (_ ("Error: %s\n"), e.message);
if (e.code == TUFError.UNMATCHED_VERSIONS) { if (e.code == TUFError.UNMATCHED_VERSIONS) {
Gtk.MessageDialog msg; Gtk.MessageDialog msg;
msg = new Gtk.MessageDialog (this, msg = new Gtk.MessageDialog (this,
Gtk.DialogFlags.MODAL, Gtk.DialogFlags.MODAL,
Gtk.MessageType.ERROR, Gtk.MessageType.ERROR,
Gtk.ButtonsType.CLOSE, Gtk.ButtonsType.CLOSE,
_ ("The current running tuf-server version doesn't match the gui version!")); _ ("The current running tuf-server version doesn't match the GUI version!"));
msg.response.connect ((response_id) => { msg.response.connect ((response_id) => {
msg.destroy (); msg.destroy ();
this.close (); this.close ();
@ -106,7 +106,7 @@ namespace TUFManager {
print (_ ("Current fan mode: ") + fan_mode.get_active_text () + "\n"); print (_ ("Current fan mode: ") + fan_mode.get_active_text () + "\n");
} }
else { else {
stderr.printf ("%s\n", _ ("Error: Could not get current fan mode!")); stderr.printf ("%s\n", _ ("Error: ") + _ ("Could not get current fan mode!"));
} }
// Get the keyboard mode // Get the keyboard mode
@ -122,7 +122,7 @@ namespace TUFManager {
print (_ ("Current keyboard mode: ") + keyboard_mode.get_active_text () + "\n"); print (_ ("Current keyboard mode: ") + keyboard_mode.get_active_text () + "\n");
} }
else { else {
stderr.printf ("%s\n", _ ("Error: Could not get current keyboard mode!")); stderr.printf ("%s\n", _ ("Error: ") + _ ("Could not get current keyboard mode!"));
} }
// Get the keyboard speed // Get the keyboard speed
@ -132,7 +132,7 @@ namespace TUFManager {
print (_ ("Current keyboard speed: ") + keyboard_speed.get_active_text () + "\n"); print (_ ("Current keyboard speed: ") + keyboard_speed.get_active_text () + "\n");
} }
else { else {
stderr.printf ("%s\n", _ ("Error: Could not get current keyboard speed!")); stderr.printf ("%s\n", _ ("Error: ") + _ ("Could not get current keyboard speed!"));
} }
// Get the keyboard color // Get the keyboard color

View File

@ -31,7 +31,7 @@ namespace TUFManager {
stderr.printf (_ ("Error: %s\n"), e.message); stderr.printf (_ ("Error: %s\n"), e.message);
} }
if (application.get_is_remote ()) { if (application.get_is_remote ()) {
stderr.printf (_ ("Error: %s\n"), _ ("Another instance of TUF Manager is already running!")); stderr.printf (_ ("Error: ") + _ ("Another instance of TUF Manager is already running!\n"));
return -1; return -1;
} }
return application.run (args); return application.run (args);

View File

@ -89,7 +89,7 @@ namespace TUFManager {
} }
var stream = FileStream.open ("/run/tufmanager/pid", "w"); var stream = FileStream.open ("/run/tufmanager/pid", "w");
if (stream == null) { if (stream == null) {
stderr.printf (_ ("Could not create pid file!\n")); stderr.printf (_ ("Error: ") + _ ("Could not create pid file!\n"));
} }
else { else {
uint32 pidfile = pid; uint32 pidfile = pid;
@ -119,7 +119,7 @@ namespace TUFManager {
on_bus_acquired, on_bus_acquired,
() => {}, () => {},
() => { () => {
stderr.printf (_ ("Could not acquire bus name!\n")); stderr.printf (_ ("Error: ") + _ ("Could not acquire bus name!\n"));
}); });
loop = new MainLoop (); loop = new MainLoop ();

View File

@ -47,7 +47,7 @@ namespace TUFManager {
conn.register_object ("/org/tuf/manager/server", tuf_server); conn.register_object ("/org/tuf/manager/server", tuf_server);
} }
catch (IOError e) { catch (IOError e) {
stderr.printf (_ ("Error: Could not register service\n")); stderr.printf (_ ("Error: ") + _ ("Could not register service!\n"));
if (loop != null) { if (loop != null) {
loop.quit (); loop.quit ();
} }
@ -198,10 +198,10 @@ namespace TUFManager {
authorized = get_authorization.end (res); authorized = get_authorization.end (res);
} }
catch (TUFError e) { catch (TUFError e) {
stderr.printf ("Error: %s\n", e.message); stderr.printf (_ ("Error: %s\n"), e.message);
} }
catch (Error e) { catch (Error e) {
stderr.printf ("Error: %s\n", e.message); stderr.printf (_ ("Error: %s\n"), e.message);
} }
if (authorized) { if (authorized) {
@ -209,10 +209,10 @@ namespace TUFManager {
set_fan_mode_authorized (mode, sender); set_fan_mode_authorized (mode, sender);
} }
catch (TUFError e) { catch (TUFError e) {
stderr.printf ("Error: %s\n", e.message); stderr.printf (_ ("Error: %s\n"), e.message);
} }
catch (Error e) { catch (Error e) {
stderr.printf ("Error: %s\n", e.message); stderr.printf (_ ("Error: %s\n"), e.message);
} }
} }
else { else {
@ -318,10 +318,10 @@ namespace TUFManager {
authorized = get_authorization.end (res); authorized = get_authorization.end (res);
} }
catch (TUFError e) { catch (TUFError e) {
stderr.printf ("Error: %s\n", e.message); stderr.printf (_ ("Error: %s\n"), e.message);
} }
catch (Error e) { catch (Error e) {
stderr.printf ("Error: %s\n", e.message); stderr.printf (_ ("Error: %s\n"), e.message);
} }
if (authorized) { if (authorized) {
@ -329,10 +329,10 @@ namespace TUFManager {
set_keyboard_color_authorized (color, sender); set_keyboard_color_authorized (color, sender);
} }
catch (TUFError e) { catch (TUFError e) {
stderr.printf ("Error: %s\n", e.message); stderr.printf (_ ("Error: %s\n"), e.message);
} }
catch (Error e) { catch (Error e) {
stderr.printf ("Error: %s\n", e.message); stderr.printf (_ ("Error: %s\n"), e.message);
} }
} }
else { else {
@ -444,10 +444,10 @@ namespace TUFManager {
authorized = get_authorization.end (res); authorized = get_authorization.end (res);
} }
catch (TUFError e) { catch (TUFError e) {
stderr.printf ("Error: %s\n", e.message); stderr.printf (_ ("Error: %s\n"), e.message);
} }
catch (Error e) { catch (Error e) {
stderr.printf ("Error: %s\n", e.message); stderr.printf (_ ("Error: %s\n"), e.message);
} }
if (authorized) { if (authorized) {
@ -455,10 +455,10 @@ namespace TUFManager {
set_keyboard_mode_authorized (mode, sender); set_keyboard_mode_authorized (mode, sender);
} }
catch (TUFError e) { catch (TUFError e) {
stderr.printf ("Error: %s\n", e.message); stderr.printf (_ ("Error: %s\n"), e.message);
} }
catch (Error e) { catch (Error e) {
stderr.printf ("Error: %s\n", e.message); stderr.printf (_ ("Error: %s\n"), e.message);
} }
} }
else { else {
@ -556,10 +556,10 @@ namespace TUFManager {
authorized = get_authorization.end (res); authorized = get_authorization.end (res);
} }
catch (TUFError e) { catch (TUFError e) {
stderr.printf ("Error: %s\n", e.message); stderr.printf (_ ("Error: %s\n"), e.message);
} }
catch (Error e) { catch (Error e) {
stderr.printf ("Error: %s\n", e.message); stderr.printf (_ ("Error: %s\n"), e.message);
} }
if (authorized) { if (authorized) {
@ -567,10 +567,10 @@ namespace TUFManager {
set_keyboard_speed_authorized (speed, sender); set_keyboard_speed_authorized (speed, sender);
} }
catch (TUFError e) { catch (TUFError e) {
stderr.printf ("Error: %s\n", e.message); stderr.printf (_ ("Error: %s\n"), e.message);
} }
catch (Error e) { catch (Error e) {
stderr.printf ("Error: %s\n", e.message); stderr.printf (_ ("Error: %s\n"), e.message);
} }
} }
else { else {