# HG changeset patch # User Paul Issott # Date 1302707643 -3600 # Node ID a797e942472738f6294b4c95d794016328fd538a # Parent 25602bc63ca74c765ea53c85bbe16738b4f86bac Tiny edits diff -r 25602bc63ca7 -r a797e9424727 README --- a/README Wed Apr 13 16:41:02 2011 +0200 +++ b/README Wed Apr 13 16:14:03 2011 +0100 @@ -12,7 +12,7 @@ You can clone the tazpanel repo into /var/www/tazpanel and work on this copy or clone it somewhere else and 'make install'. After, add tazpanel to your /etc/hosts, type './tazpanel start' to start the server and go to the -URL: http://tazpanel:8090. Panel user and password is defined in httpd.conf +URL: http://tazpanel:82. Panel user and password is defined in httpd.conf and default is root:root @@ -27,7 +27,7 @@ $ msginit -l fr_FR -o fr.po -i tazpanel.pot -To update all translations from a newly updated the pot file: +To update all translations from a newly updated pot file: $ make msgmerge @@ -62,14 +62,14 @@ * hardware.cgi Devices drivers, firmware, printing For common functions have a look to lib/libtazpanel, you may found functions -you need already coded such as xhtml_header to get the style header.html +you need already coded such as a xhtml_header to get the style header.html in your CGI script. For the loading message you can use loading_msg. When cat is used: `gettext "Text to translate"` Web server ---------- -Tazpanel can run with Busybox httpd applet or LightTPD and probably Apache. +Tazpanel can run with the Busybox httpd applet or LightTPD and probably Apache. Start the webserver with a custom config to listen only on a local port for security reasons since we run as root to perform system actions, example: diff -r 25602bc63ca7 -r a797e9424727 boot.cgi --- a/boot.cgi Wed Apr 13 16:41:02 2011 +0200 +++ b/boot.cgi Wed Apr 13 16:14:03 2011 +0100 @@ -1,6 +1,6 @@ #!/bin/sh # -# Boot CGI script - All what appens before login (grub, rcS, slim) +# Boot CGI script - All what happens before login (grub, rcS, slim) # # Copyright (C) 2011 SliTaz GNU/Linux - GNU gpl v3 # @@ -149,7 +149,7 @@

`gettext "Boot & Start services"`

- `gettext "Everything that appends before user login."` + `gettext "Everything that happens before user login"`

diff -r 25602bc63ca7 -r a797e9424727 live.cgi --- a/live.cgi Wed Apr 13 16:41:02 2011 +0200 +++ b/live.cgi Wed Apr 13 16:14:03 2011 +0100 @@ -177,7 +177,7 @@ -

`gettext "Buld a meta ISO"`

+

`gettext "Build a meta ISO"`

`gettext "Combines several ISO flavors like nested Russian dolls. The amount of RAM available at startup will be used to select the diff -r 25602bc63ca7 -r a797e9424727 po/tazpanel.pot --- a/po/tazpanel.pot Wed Apr 13 16:41:02 2011 +0200 +++ b/po/tazpanel.pot Wed Apr 13 16:14:03 2011 +0100 @@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: TazPanel 1.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-04-11 19:23+0100\n" +"POT-Creation-Date: 2011-04-13 16:13+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -40,47 +40,51 @@ msgid "Usage:" msgstr "" -#: index.cgi:104 +#: index.cgi:69 msgid "Host:" msgstr "" -#: index.cgi:105 +#: index.cgi:70 msgid "SliTaz administration and configuration Panel" msgstr "" -#: index.cgi:108 pkgs.cgi:473 +#: index.cgi:73 pkgs.cgi:523 msgid "Summary" msgstr "" -#: index.cgi:111 +#: index.cgi:76 msgid "Uptime:" msgstr "" -#: index.cgi:114 +#: index.cgi:79 msgid "Memory in Mb" msgstr "" -#: index.cgi:121 +#: index.cgi:86 msgid "Network status" msgstr "" -#: index.cgi:124 +#: index.cgi:89 msgid "Filesystem usage statistics" msgstr "" -#: index.cgi:129 +#: index.cgi:94 +msgid "Panel Activity" +msgstr "" + +#: index.cgi:99 msgid "Panel settings" msgstr "" -#: index.cgi:132 +#: index.cgi:102 msgid "Panel password:" msgstr "" -#: index.cgi:134 +#: index.cgi:104 msgid "Change" msgstr "" -#: index.cgi:138 +#: index.cgi:108 msgid "TazPanel provides a debuging mode and page:" msgstr "" @@ -108,124 +112,163 @@ msgid "Search" msgstr "" -#: pkgs.cgi:112 lib/libtazpanel:68 +#: pkgs.cgi:104 +msgid "files" +msgstr "" + +#: pkgs.cgi:114 lib/libtazpanel:63 msgid "Name" msgstr "" -#: pkgs.cgi:113 +#: pkgs.cgi:115 msgid "Version" msgstr "" -#: pkgs.cgi:114 +#: pkgs.cgi:116 msgid "Description" msgstr "" -#: pkgs.cgi:115 +#: pkgs.cgi:117 msgid "Web" msgstr "" -#: pkgs.cgi:158 pkgs.cgi:217 pkgs.cgi:251 pkgs.cgi:282 pkgs.cgi:319 -#: pkgs.cgi:361 pkgs.cgi:395 pkgs.cgi:476 +#: pkgs.cgi:160 pkgs.cgi:219 pkgs.cgi:254 pkgs.cgi:296 pkgs.cgi:334 +#: pkgs.cgi:377 pkgs.cgi:427 pkgs.cgi:526 msgid "My packages" msgstr "" -#: pkgs.cgi:162 pkgs.cgi:208 pkgs.cgi:241 pkgs.cgi:310 +#: pkgs.cgi:164 pkgs.cgi:210 pkgs.cgi:244 pkgs.cgi:325 msgid "Selection:" msgstr "" -#: pkgs.cgi:166 pkgs.cgi:213 pkgs.cgi:247 pkgs.cgi:316 +#: pkgs.cgi:168 pkgs.cgi:215 pkgs.cgi:250 pkgs.cgi:331 msgid "List:" msgstr "" -#: pkgs.cgi:204 +#: pkgs.cgi:206 msgid "Category:" msgstr "" -#: pkgs.cgi:237 +#: pkgs.cgi:240 msgid "Search packages" msgstr "" -#: pkgs.cgi:244 pkgs.cgi:313 +#: pkgs.cgi:247 pkgs.cgi:328 msgid "Toogle all" msgstr "" -#: pkgs.cgi:269 +#: pkgs.cgi:262 pkgs.cgi:417 +msgid "Package" +msgstr "" + +#: pkgs.cgi:263 +msgid "File" +msgstr "" + +#: pkgs.cgi:283 msgid "Recharge" msgstr "" -#: pkgs.cgi:274 +#: pkgs.cgi:288 msgid "Recharge checks for new or updated packages" msgstr "" -#: pkgs.cgi:280 pkgs.cgi:480 +#: pkgs.cgi:294 pkgs.cgi:530 msgid "Check upgrade" msgstr "" -#: pkgs.cgi:292 +#: pkgs.cgi:307 msgid "Packages lists are up-to-date. You should check for upgrades now." msgstr "" -#: pkgs.cgi:306 +#: pkgs.cgi:321 msgid "Up packages" msgstr "" -#: pkgs.cgi:355 +#: pkgs.cgi:371 msgid "Performing tasks on packages" msgstr "" -#: pkgs.cgi:385 -msgid "Package" -msgstr "" - -#: pkgs.cgi:389 +#: pkgs.cgi:401 msgid "Remove" msgstr "" -#: pkgs.cgi:411 +#: pkgs.cgi:404 +msgid "Getting package info..." +msgstr "" + +#: pkgs.cgi:414 +msgid "Install" +msgstr "" + +#: pkgs.cgi:446 pkgs.cgi:457 msgid "Installed files:" msgstr "" -#: pkgs.cgi:437 pkgs.cgi:482 +#: pkgs.cgi:487 pkgs.cgi:532 msgid "Configuration" msgstr "" -#: pkgs.cgi:439 +#: pkgs.cgi:489 msgid "Tazpkg configuration and settings" msgstr "" -#: pkgs.cgi:444 +#: pkgs.cgi:494 msgid "Packages in the cache:" msgstr "" -#: pkgs.cgi:451 +#: pkgs.cgi:501 msgid "Current mirror list" msgstr "" -#: pkgs.cgi:478 +#: pkgs.cgi:528 msgid "Recharge list" msgstr "" -#: pkgs.cgi:488 +#: pkgs.cgi:538 msgid "Latest log entries" msgstr "" -#: live.cgi:53 +#: live.cgi:95 msgid "TODO" msgstr "" -#: live.cgi:61 +#: live.cgi:103 msgid "SliTaz Live Systems" msgstr "" -#: live.cgi:62 +#: live.cgi:104 msgid "Create and manage Live CD or USB SliTaz systems" msgstr "" -#: live.cgi:65 +#: live.cgi:108 +msgid "Live USB" +msgstr "" + +#: live.cgi:110 +msgid "" +"Generate SliTaz LiveUSB media and boot in RAM! Insert a\n" +"\tLiveCD into the cdrom drive, select the correct device and press\n" +"\tGenerate." +msgstr "" + +#: live.cgi:115 +msgid "USB Media to use:" +msgstr "" + +#: live.cgi:124 +msgid "Not found" +msgstr "" + +#: live.cgi:128 +msgid "Generate" +msgstr "" + +#: live.cgi:132 msgid "Write a Live CD" msgstr "" -#: live.cgi:67 +#: live.cgi:134 msgid "" "The command writeiso will generate an ISO image of the\n" "\tcurrent filesystem as is, including all files in the /home directory.\n" @@ -233,77 +276,131 @@ "\tto: boot, modify, writeiso." msgstr "" -#: live.cgi:73 +#: live.cgi:140 msgid "Compression type:" msgstr "" -#: live.cgi:79 +#: live.cgi:146 msgid "Write ISO" msgstr "" -#: live.cgi:82 -msgid "Live USB" +#: live.cgi:149 +msgid "Live CD tools" msgstr "" -#: live.cgi:84 -msgid "" -"Generate SliTaz LiveUSB media and boot in RAM! Insert a\n" -"\tLiveCD into the cdrom drive, select the correct device and press\n" -"\tGenerate." +#: live.cgi:151 live.cgi:176 +msgid "Convert ISO to loram" msgstr "" -#: live.cgi:89 -msgid "USB Media to use:" +#: live.cgi:153 +msgid "" +"This command will convert an ISO image of a SliTaz Live CD\n" +"\tto a new ISO image requiring less RAM to run." msgstr "" -#: live.cgi:98 -msgid "Not found" +#: live.cgi:159 +msgid "ISO to convert" msgstr "" -#: live.cgi:102 -msgid "Generate" +#: live.cgi:163 +msgid "The filesystem is always in RAM" msgstr "" -#: network.cgi:44 +#: live.cgi:166 +msgid "The filesystem may be on a small CDROM" +msgstr "" + +#: live.cgi:169 +msgid "The filesystem may be on a large CDROM" +msgstr "" + +#: live.cgi:172 live.cgi:215 +msgid "ISO to create" +msgstr "" + +#: live.cgi:180 live.cgi:219 +msgid "Build a meta ISO" +msgstr "" + +#: live.cgi:182 +msgid "" +"Combines several ISO flavors like nested Russian dolls.\n" +"\tThe amount of RAM available at startup will be used to select the\n" +"\tutmost one." +msgstr "" + +#: live.cgi:195 +msgid "ISO number" +msgstr "" + +#: live.cgi:197 live.cgi:210 +msgid "minimum RAM" +msgstr "" + +#: live.cgi:208 +msgid "ISO to add" +msgstr "" + +#: live.cgi:212 +msgid "Add to the list" +msgstr "" + +#: network.cgi:43 msgid "Ethernet connection" msgstr "" -#: network.cgi:55 +#: network.cgi:54 msgid "Wireless connection" msgstr "" -#: network.cgi:66 +#: network.cgi:65 msgid "Networking" msgstr "" -#: network.cgi:68 +#: network.cgi:67 msgid "Manage network connections and services" msgstr "" -#: network.cgi:72 +#: network.cgi:71 msgid "Connection:" msgstr "" -#: network.cgi:73 +#: network.cgi:72 msgid "Start" msgstr "" -#: network.cgi:74 +#: network.cgi:73 msgid "Stop" msgstr "" -#: network.cgi:80 +#: network.cgi:76 +msgid "Configuration file:" +msgstr "" + +#: network.cgi:83 msgid "Output of ifconfig" msgstr "" -#: lib/libtazpanel:67 +#: network.cgi:88 +msgid "Routing table" +msgstr "" + +#: network.cgi:93 +msgid "Domain name resolution" +msgstr "" + +#: network.cgi:98 +msgid "ARP table" +msgstr "" + +#: lib/libtazpanel:62 msgid "Interface" msgstr "" -#: lib/libtazpanel:69 +#: lib/libtazpanel:64 msgid "Status" msgstr "" -#: lib/libtazpanel:70 +#: lib/libtazpanel:65 msgid "IP Address" msgstr "" diff -r 25602bc63ca7 -r a797e9424727 settings.cgi --- a/settings.cgi Wed Apr 13 16:41:02 2011 +0200 +++ b/settings.cgi Wed Apr 13 16:14:03 2011 +0100 @@ -167,7 +167,7 @@