lp:~jakobunt/ubuntu-start-page/fix-lang
Created by
Jakob Unterwurzacher
and last modified
- Get this branch:
- bzr branch lp:~jakobunt/ubuntu-start-page/fix-lang
Only
Jakob Unterwurzacher
can upload to this branch. If you are
Jakob Unterwurzacher
please log in for upload directions.
Branch merges
Propose for merging
No branches
dependent on this one.
- Martin Albisetti (community): Approve
- Roman Yepishev (community): Approve
-
Diff: 411 lines (+38/-0)34 files modifiedtranslation-scripts/translation-functions.sh (+5/-0)
www/10.04/index.html.ar (+1/-0)
www/10.04/index.html.ast (+1/-0)
www/10.04/index.html.bg (+1/-0)
www/10.04/index.html.bn (+1/-0)
www/10.04/index.html.ca (+1/-0)
www/10.04/index.html.crh (+1/-0)
www/10.04/index.html.da (+1/-0)
www/10.04/index.html.de (+1/-0)
www/10.04/index.html.el (+1/-0)
www/10.04/index.html.en (+1/-0)
www/10.04/index.html.es (+1/-0)
www/10.04/index.html.fi (+1/-0)
www/10.04/index.html.fr (+1/-0)
www/10.04/index.html.gl (+1/-0)
www/10.04/index.html.he (+1/-0)
www/10.04/index.html.hr (+1/-0)
www/10.04/index.html.hu (+1/-0)
www/10.04/index.html.id (+1/-0)
www/10.04/index.html.is (+1/-0)
www/10.04/index.html.it (+1/-0)
www/10.04/index.html.ja (+1/-0)
www/10.04/index.html.ko (+1/-0)
www/10.04/index.html.lv (+1/-0)
www/10.04/index.html.nds (+1/-0)
www/10.04/index.html.nl (+1/-0)
www/10.04/index.html.pt-br (+1/-0)
www/10.04/index.html.ro (+1/-0)
www/10.04/index.html.ru (+1/-0)
www/10.04/index.html.sk (+1/-0)
www/10.04/index.html.sv (+1/-0)
www/10.04/index.html.th (+1/-0)
www/10.04/index.html.vi (+1/-0)
www/10.04/index.html.zh-cn (+1/-0)
Branch information
Recent revisions
- 101. By jakob <jakob@laj>
-
Add logic to translation-
functions. sh to translate hidden hl field
<input type="hidden" name="hl" value="en" />
automatically. - 100. By jakob <jakob@laj>
-
Insert hidden hl field
<input type="hidden" name="hl" value="$lang" />
in all the index.html.$lang, using this script:#!/bin/bash
mkdir new
for i in *.html.*
do
lang=`echo $i | sed s/index\\.html\ \.//`
cat $i | sed "s/<input name=\"q\" value=\"\" id=\"sbi\" \\/>/<input name=\"q\" value=\"\" id=\"sbi\" \\/>\\
<input type=\"hidden\" name=\"hl\" value=\"$lang\" \\/>/" > new/$i
done - 94. By Martin Albisetti
-
Remove the exec bit, move all the Google files into the 10.04 root, create a symlink for /Google
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:ubuntu-start-page