[gnome3-web] Little trick to fix navigation in localized pages



commit afcabbac71cb1a58ced46e160c4749f57ed7a8a6
Author: Luca Ferretti <lferrett gnome org>
Date:   Fri Apr 1 19:46:14 2011 +0200

    Little trick to fix navigation in localized pages

 po/build.sh |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/po/build.sh b/po/build.sh
index 0a22bf8..cd6a44d 100755
--- a/po/build.sh
+++ b/po/build.sh
@@ -19,6 +19,12 @@ do
         sed -i -e 's/\(<script.*\)/\1<\/script>/' $HTMLFILE.$LANG
       grep -q '<iframe' $HTMLFILE.$LANG && \
         sed -i -e 's/\(<iframe.*\)/\1<\/iframe>/' $HTMLFILE.$LANG
+      grep -q 'index.html\"' $HTMLFILE.$LANG && \
+        sed -i -e "s/index.html\"/index.html.$LANG\"/" $HTMLFILE.$LANG
+      grep -q 'faq.html' $HTMLFILE.$LANG && \
+        sed -i -e "s/faq.html/faq.html.$LANG/" $HTMLFILE.$LANG
+      grep -q 'tryit.html' $HTMLFILE.$LANG && \
+        sed -i -e "s/tryit.html/tryit.html.$LANG/" $HTMLFILE.$LANG
     done
 done
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]