Author: mantha
Date: Sun Oct  7 06:37:05 2007
New Revision: 4447

Added:
   branches/gutsy/edubuntu/get_desktop_trans
      - copied, changed from r4446, /branches/gutsy/edubuntu/get_trans.bash
   branches/gutsy/edubuntu/get_pot.sh
      - copied unchanged from r4446, /branches/gutsy/edubuntu/get-pot.sh
   branches/gutsy/edubuntu/translated.sh   (contents, props changed)
Removed:
   branches/gutsy/edubuntu/get-pot.sh
   branches/gutsy/edubuntu/get_trans.bash
Modified:
   branches/gutsy/edubuntu/SchoolAdvocacy/SchoolAdvocacy.pot
   branches/gutsy/edubuntu/about-edubuntu/about-edubuntu.pot
   branches/gutsy/edubuntu/debian/changelog
   branches/gutsy/edubuntu/debian/rules
   branches/gutsy/edubuntu/handbook/C/server.xml
   branches/gutsy/edubuntu/handbook/handbook.pot

Log:
* uploaded edubuntu-docs 7.10.1
  - added new debian/changelog entry
  - rewrite debian/rules to install translations
* fixed proc mounting bug in server.xml (Scott Balneaves)
* added translated.sh to calculate which translations are
  less than 10% translated



Modified: branches/gutsy/edubuntu/SchoolAdvocacy/SchoolAdvocacy.pot
==============================================================================
--- branches/gutsy/edubuntu/SchoolAdvocacy/SchoolAdvocacy.pot   (original)
+++ branches/gutsy/edubuntu/SchoolAdvocacy/SchoolAdvocacy.pot   Sun Oct  7 
06:37:05 2007
@@ -1,7 +1,7 @@
 msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2007-10-05 15:40-0700\n"
+"POT-Creation-Date: 2007-10-06 20:05-0700\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <[EMAIL PROTECTED]>\n"
 "Language-Team: LANGUAGE <[EMAIL PROTECTED]>\n"

Modified: branches/gutsy/edubuntu/about-edubuntu/about-edubuntu.pot
==============================================================================
--- branches/gutsy/edubuntu/about-edubuntu/about-edubuntu.pot   (original)
+++ branches/gutsy/edubuntu/about-edubuntu/about-edubuntu.pot   Sun Oct  7 
06:37:05 2007
@@ -1,7 +1,7 @@
 msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2007-10-05 15:40-0700\n"
+"POT-Creation-Date: 2007-10-06 20:05-0700\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <[EMAIL PROTECTED]>\n"
 "Language-Team: LANGUAGE <[EMAIL PROTECTED]>\n"
@@ -200,7 +200,7 @@
 msgstr ""
 
 #: about-edubuntu/C/about-edubuntu.xml:244(para) 
-msgid "The Edubuntu version numbering scheme is based on the date we release a 
version of the distribution. The version number comes from the year and month 
of the release rather than reflecting the actual version of the software. Our 
first release (Warty Warthog) was in October 2005 so its version was 5.10. This 
version (Gutsy Gibbon) was released in October 2007 so its version number is 
7.10."
+msgid "The Edubuntu version numbering scheme is based on the date we release a 
version of the distribution. The version number comes from the year and month 
of the release rather than reflecting the actual version of the software. Our 
first release (Breezt Badger) was in October 2005 so its version was 5.10. This 
version (Gutsy Gibbon) was released in October 2007 so its version number is 
7.10."
 msgstr ""
 
 #: about-edubuntu/C/about-edubuntu.xml:256(title) 

Modified: branches/gutsy/edubuntu/debian/changelog
==============================================================================
--- branches/gutsy/edubuntu/debian/changelog    (original)
+++ branches/gutsy/edubuntu/debian/changelog    Sun Oct  7 06:37:05 2007
@@ -1,3 +1,14 @@
+edubuntu-docs (7.10.1) gutsy; urgency=low
+
+  * Update svn snapshot (typo fixes)
+  * Added in translations:
+    - debian/rules: modify installation rule to install translations
+    - removed translations that are less than 10% translated
+  * Updated addon cd screenshots
+  * Refreshed .pots
+
+ -- Jordan Mantha <[EMAIL PROTECTED]>  Sat, 06 Oct 2007 20:25:19 -0700
+
 edubuntu-docs (7.09.1) gutsy; urgency=low
 
   * Updated svn snapshot r4387

Modified: branches/gutsy/edubuntu/debian/rules
==============================================================================
--- branches/gutsy/edubuntu/debian/rules        (original)
+++ branches/gutsy/edubuntu/debian/rules        Sun Oct  7 06:37:05 2007
@@ -12,26 +12,43 @@
 $(patsubst %,binary-install/%,$(DEB_PACKAGES)) :: binary-install/%:
        dh_scrollkeeper -p$(cdbs_curpkg) $(DEB_DH_SCROLLKEEPER_ARGS)
 
-# Omf files
-
-       for doc in about-edubuntu handbook SchoolAdvocacy; do\
-               mkdir -p debian/edubuntu-docs/usr/share/omf/$$doc/; \
-               cp edubuntu/$$doc/C/*.omf 
debian/edubuntu-docs/usr/share/omf/$$doc/; \
-       done; \
-
-# Edubuntu documents
-# handbook
-
-       for doc in handbook; do \
-               mkdir -p 
debian/edubuntu-docs/usr/share/gnome/help/edubuntu-$$doc/C/; \
-               cp edubuntu/$$doc/C/*.xml 
debian/edubuntu-docs/usr/share/gnome/help/edubuntu-$$doc/C/; \
-       done; \
+       set -x; for doc in about-edubuntu SchoolAdvocacy; do \
+            for lang in `ls edubuntu/$$doc/`; do \
+                   if [ -e edubuntu/$$doc/$$lang/$$doc.xml ]; then \
+                            mkdir -p 
debian/edubuntu-docs/usr/share/gnome/help/$$doc/$$lang/; \
+                            cp edubuntu/$$doc/$$lang/*xml 
debian/edubuntu-docs/usr/share/gnome/help/$$doc/$$lang/; \
+                   fi; \
+                   if [ -e edubuntu/$$doc/$$lang/*.omf ]; then \
+                            mkdir -p debian/edubuntu-docs/usr/share/omf/$$doc; 
\
+                            cp edubuntu/$$doc/$$lang/*omf 
debian/edubuntu-docs/usr/share/omf/$$doc/; \
+                   fi; \
+            done; \
+       done;
 
-# about-edubuntu & SchoolAdvocacy
+       set -x; for doc in SchoolAdvocacy; do \
+            for lang in `ls edubuntu/$$doc/`; do \
+                   if [ -e edubuntu/$$doc/$$lang/school-advocacy.xml ]; then \
+                            mkdir -p 
debian/edubuntu-docs/usr/share/gnome/help/$$doc/$$lang/; \
+                            cp edubuntu/$$doc/$$lang/*xml 
debian/edubuntu-docs/usr/share/gnome/help/$$doc/$$lang/; \
+                   fi; \
+                   if [ -e edubuntu/$$doc/$$lang/*.omf ]; then \
+                            mkdir -p debian/edubuntu-docs/usr/share/omf/$$doc; 
\
+                            cp edubuntu/$$doc/$$lang/*omf 
debian/edubuntu-docs/usr/share/omf/$$doc/; \
+                   fi; \
+            done; \
+       done;
 
-       for doc in about-edubuntu SchoolAdvocacy; do \
-               mkdir -p debian/edubuntu-docs/usr/share/gnome/help/$$doc/C/; \
-               cp edubuntu/$$doc/C/*.xml 
debian/edubuntu-docs/usr/share/gnome/help/$$doc/C/; \
+       set -x; for doc in handbook; do \
+            for lang in `ls edubuntu/$$doc/`; do \
+                   if [ -e edubuntu/$$doc/$$lang/$$doc.xml ]; then \
+                            mkdir -p 
debian/edubuntu-docs/usr/share/gnome/help/edubuntu-$$doc/$$lang/; \
+                            cp edubuntu/$$doc/$$lang/*xml 
debian/edubuntu-docs/usr/share/gnome/help/edubuntu-$$doc/$$lang/; \
+                   fi; \
+                   if [ -e edubuntu/$$doc/$$lang/*.omf ]; then \
+                            mkdir -p debian/edubuntu-docs/usr/share/omf/$$doc; 
\
+                            cp edubuntu/$$doc/$$lang/*omf 
debian/edubuntu-docs/usr/share/omf/$$doc/; \
+                   fi; \
+            done; \
        done;
 
        dh_scrollkeeper 

Copied: branches/gutsy/edubuntu/get_desktop_trans (from r4446, 
/branches/gutsy/edubuntu/get_trans.bash)
==============================================================================
--- /branches/gutsy/edubuntu/get_trans.bash     (original)
+++ branches/gutsy/edubuntu/get_desktop_trans   Sun Oct  7 06:37:05 2007
@@ -2,12 +2,14 @@
 
 for po in `ls *.po`;
 do
-       name=`grep "h:2" -A2 ${po} | grep msgstr | cut -d '"' -f 2`
+       name=`grep "h:2" -A1 ${po} | grep msgstr | cut -d '"' -f 2`
+       comment=`grep "h:2" -A2 ${po} | grep msgstr | cut -d '"' -f 2`
        lang=`echo $po|cut -d "." -f2|cut -d "-" -f2`
 
        if [ "$name" ]
        then
-               echo  Comment[$lang]=$name
+               echo  Name[$lang]=$name
+               echo  Comment[$lang]=$comment
        fi
 
 done

Modified: branches/gutsy/edubuntu/handbook/C/server.xml
==============================================================================
--- branches/gutsy/edubuntu/handbook/C/server.xml       (original)
+++ branches/gutsy/edubuntu/handbook/C/server.xml       Sun Oct  7 06:37:05 2007
@@ -2535,12 +2535,22 @@
                 must type the following command to obtain the latest list of
                 packages from the apt servers.
             </para>
-            <screen>apt-get update</screen>
+            <screen>
+mount -t proc proc /proc
+apt-get update
+            </screen>
+            <para>You need to mount /proc in the chroot before beginning, as 
some
+                of the packages you install may need resources in <filename 
role="directory">/proc</filename> to install
+                correctly.
+            </para>
             <para>Once this has completed you will have to upgrade the software
                 in the chroot by running the following command:
             </para>
             <screen>apt-get upgrade</screen>
-            <para>Once all upgrades have finished, you must leave the chroot by
+            <para>After the upgrade is completed, don't forget to unmount 
<filename role="directory">/proc</filename> with:
+                <screen>umount /proc</screen>
+            </para>
+            <para>Once you're done, you must leave the chroot by
                 either typing <emphasis role="bold">exit</emphasis> or by 
using the key combination Ctrl+D.
                 This will return you to the root of the server.
             </para>

Modified: branches/gutsy/edubuntu/handbook/handbook.pot
==============================================================================
--- branches/gutsy/edubuntu/handbook/handbook.pot       (original)
+++ branches/gutsy/edubuntu/handbook/handbook.pot       Sun Oct  7 06:37:05 2007
@@ -1,7 +1,7 @@
 msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2007-10-05 15:40-0700\n"
+"POT-Creation-Date: 2007-10-06 20:05-0700\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <[EMAIL PROTECTED]>\n"
 "Language-Team: LANGUAGE <[EMAIL PROTECTED]>\n"
@@ -2794,114 +2794,122 @@
 
 #: handbook/C/server.xml:2538(screen) 
 #, no-wrap
-msgid "apt-get update"
+msgid "\nmount -t proc proc /proc\napt-get update\n            "
 msgstr ""
 
-#: handbook/C/server.xml:2539(para) 
+#: handbook/C/server.xml:2542(para) 
+msgid "You need to mount /proc in the chroot before beginning, as some of the 
packages you install may need resources in <filename 
role=\"directory\">/proc</filename> to install correctly."
+msgstr ""
+
+#: handbook/C/server.xml:2546(para) 
 msgid "Once this has completed you will have to upgrade the software in the 
chroot by running the following command:"
 msgstr ""
 
-#: handbook/C/server.xml:2542(screen) 
+#: handbook/C/server.xml:2549(screen) 
 #, no-wrap
 msgid "apt-get upgrade"
 msgstr ""
 
-#: handbook/C/server.xml:2543(para) 
-msgid "Once all upgrades have finished, you must leave the chroot by either 
typing <emphasis role=\"bold\">exit</emphasis> or by using the key combination 
Ctrl+D. This will return you to the root of the server."
+#: handbook/C/server.xml:2550(para) 
+msgid "After the upgrade is completed, don't forget to unmount <filename 
role=\"directory\">/proc</filename> with: <screen>umount /proc</screen>"
+msgstr ""
+
+#: handbook/C/server.xml:2553(para) 
+msgid "Once you're done, you must leave the chroot by either typing <emphasis 
role=\"bold\">exit</emphasis> or by using the key combination Ctrl+D. This will 
return you to the root of the server."
 msgstr ""
 
-#: handbook/C/server.xml:2547(para) 
+#: handbook/C/server.xml:2557(para) 
 msgid "If your kernel has been upgraded you must run the LTSP kernel upgrade 
script, to ensure that your LTSP chroot uses the latest version. This is 
performed by running the command below:"
 msgstr ""
 
-#: handbook/C/server.xml:2551(screen) 
+#: handbook/C/server.xml:2561(screen) 
 #, no-wrap
 msgid "sudo ltsp-update-kernels"
 msgstr ""
 
-#: handbook/C/server.xml:2552(para) 
+#: handbook/C/server.xml:2562(para) 
 msgid "All of your clients will now use the latest kernel upon their next 
reboot."
 msgstr ""
 
-#: handbook/C/server.xml:2555(para) 
+#: handbook/C/server.xml:2565(para) 
 msgid "Finally, you must remember to rebuild the NBD boot image from your 
chroot with the following command:"
 msgstr ""
 
-#: handbook/C/server.xml:2558(screen) 
+#: handbook/C/server.xml:2568(screen) 
 #, no-wrap
 msgid "sudo ltsp-update-image"
 msgstr ""
 
-#: handbook/C/server.xml:2559(para) 
+#: handbook/C/server.xml:2569(para) 
 msgid "Be advised that this may take a few minutes, depending on the speed of 
your server."
 msgstr ""
 
-#: handbook/C/server.xml:2563(title) 
+#: handbook/C/server.xml:2573(title) 
 msgid "Changing the IP of your LTSP server"
 msgstr ""
 
-#: handbook/C/server.xml:2564(para) 
+#: handbook/C/server.xml:2574(para) 
 msgid "At some point in time, it may become necessary to change the IP address 
of your LTSP server. Normally this does not present an issue, but LTSP servers 
and clients communicate over and encrypted channel and require all SSL 
certificates to be updated. Without this update, <emphasis role=\"bold\">no 
LTSP clients will be able to log in</emphasis>. This is done by simply opening 
a terminal and running the following command."
 msgstr ""
 
-#: handbook/C/server.xml:2572(screen) 
+#: handbook/C/server.xml:2582(screen) 
 #, no-wrap
 msgid "sudo ltsp-update-sshkeys"
 msgstr ""
 
-#: handbook/C/server.xml:2578(title) 
+#: handbook/C/server.xml:2588(title) 
 msgid "Backing Up"
 msgstr ""
 
-#: handbook/C/server.xml:2579(para) 
+#: handbook/C/server.xml:2589(para) 
 msgid "Now that you have your Edubuntu server working, and are keeping it 
updated, you're going to want to back up your users' data."
 msgstr ""
 
-#: handbook/C/server.xml:2584(para) 
+#: handbook/C/server.xml:2594(para) 
 msgid "There are a variety of options available for external backup media. 
SCSI tape drives, DVD RAM or ROM's, or even CD/R's may all be used to back up 
your server on a regular basis."
 msgstr ""
 
-#: handbook/C/server.xml:2590(title) 
+#: handbook/C/server.xml:2600(title) 
 msgid "What needs to be backed up?"
 msgstr ""
 
-#: handbook/C/server.xml:2591(para) 
+#: handbook/C/server.xml:2601(para) 
 msgid "When backing up a server, there are typically two approaches:"
 msgstr ""
 
-#: handbook/C/server.xml:2594(para) 
+#: handbook/C/server.xml:2604(para) 
 msgid "Back up everything."
 msgstr ""
 
-#: handbook/C/server.xml:2597(para) 
+#: handbook/C/server.xml:2607(para) 
 msgid "Back up config files, and user data."
 msgstr ""
 
-#: handbook/C/server.xml:2600(para) 
+#: handbook/C/server.xml:2610(para) 
 msgid "We'll look at each briefly."
 msgstr ""
 
-#: handbook/C/server.xml:2603(title) 
+#: handbook/C/server.xml:2613(title) 
 msgid "Back up everything"
 msgstr ""
 
-#: handbook/C/server.xml:2604(para) 
+#: handbook/C/server.xml:2614(para) 
 msgid "Typically, by backing up everything, the administrator is looking to do 
a restore of the entire operating system, as well as user data."
 msgstr ""
 
-#: handbook/C/server.xml:2607(para) 
+#: handbook/C/server.xml:2617(para) 
 msgid "Typically, you'll want to use a SCSI tape drive, and a program like 
<command>amanda</command> (available in the universe repository) to do this 
kind of backup strategy."
 msgstr ""
 
-#: handbook/C/server.xml:2613(title) 
+#: handbook/C/server.xml:2623(title) 
 msgid "Back up configs and data"
 msgstr ""
 
-#: handbook/C/server.xml:2614(para) 
+#: handbook/C/server.xml:2624(para) 
 msgid "Backing up only config files and data is an acceptable strategy for 
sites on a budget. On a typical Edubuntu system, without a lot of 
customization, backing up the following files and directories should capture 
most of what's on your system. Following a disaster, you'll need to re-install 
Edubuntu from the CD, re-install any programs you added, and re-apply all 
updates. At that point, you can pull the config files and user data from your 
backup."
 msgstr ""
 
-#: handbook/C/server.xml:2621(screen) 
+#: handbook/C/server.xml:2631(screen) 
 #, no-wrap
 msgid "\n/etc\n/home\n/var/lib/tftpboot/ltsp/i386/lts.conf\n                "
 msgstr ""

Added: branches/gutsy/edubuntu/translated.sh
==============================================================================
--- (empty file)
+++ branches/gutsy/edubuntu/translated.sh       Sun Oct  7 06:37:05 2007
@@ -0,0 +1,20 @@
+#! /bin/bash
+
+# Determine what translations are less than 10% translated
+
+for doc in about-edubuntu handbook SchoolAdvocacy
+do
+       numstrings=`LANG=C msgfmt --statistics ${doc}/*.pot 2>&1 | sed -r 
's/^.* ([[:digit:]]+) untranslated.*$$/\1/'`
+       for lang in `ls ${doc}/`
+       do
+               if [ -e ${doc}/po/${lang}.po ]
+               then
+                       translated=`LANG=C msgfmt -o /dev/null --statistics 
${doc}/po/${lang}.po 2>&1| cut -f1 -d\ `
+                       if [ "`echo "${translated}./${numstrings} > 0.1" | bc 
-l`" = "0" ]
+                       then
+                               echo "${doc} ${lang} is less than 10% 
translated"
+                               continue
+                       fi
+               fi
+       done
+done

-- 
ubuntu-doc-commits mailing list
ubuntu-doc-commits@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-doc-commits

Reply via email to