aboutsummaryrefslogtreecommitdiffstats
path: root/data/starthere
diff options
context:
space:
mode:
authorChristian Neumair <cneumair@src.gnome.org>2003-05-17 20:43:34 +0800
committerChristian Neumair <cneumair@src.gnome.org>2003-05-17 20:43:34 +0800
commitda4bacb5a3de0dafe863ea82aea78d2e40731730 (patch)
treee31bad9600bf78b6e2a6523091e3af0e613941ab /data/starthere
parente5d335763657c0ebf4d464f4bc1d81542220141b (diff)
downloadgsoc2013-epiphany-da4bacb5a3de0dafe863ea82aea78d2e40731730.tar
gsoc2013-epiphany-da4bacb5a3de0dafe863ea82aea78d2e40731730.tar.gz
gsoc2013-epiphany-da4bacb5a3de0dafe863ea82aea78d2e40731730.tar.bz2
gsoc2013-epiphany-da4bacb5a3de0dafe863ea82aea78d2e40731730.tar.lz
gsoc2013-epiphany-da4bacb5a3de0dafe863ea82aea78d2e40731730.tar.xz
gsoc2013-epiphany-da4bacb5a3de0dafe863ea82aea78d2e40731730.tar.zst
gsoc2013-epiphany-da4bacb5a3de0dafe863ea82aea78d2e40731730.zip
Fixed many issues mentioned in #112781.
Diffstat (limited to 'data/starthere')
-rw-r--r--data/starthere/index.xml.in5
-rw-r--r--data/starthere/section.xsl6
-rw-r--r--data/starthere/smartbookmarks.xml.in11
3 files changed, 14 insertions, 8 deletions
diff --git a/data/starthere/index.xml.in b/data/starthere/index.xml.in
index 9e25d2c61..f35909862 100644
--- a/data/starthere/index.xml.in
+++ b/data/starthere/index.xml.in
@@ -1,9 +1,10 @@
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="section.xsl"?>
<section name="Home">
+<_pagetitle>Home</_pagetitle>
<bar>
-<item section="home:">Home</item>
-<item section="home:smartbookmarks">Smart Bookmarks</item>
+<item section="home:"><_translate>Home</_translate></item>
+<item section="home:smartbookmarks"><_translate>Smart Bookmarks</_translate></item>
</bar>
<_title>The web browser</_title>
<_paragraph>
diff --git a/data/starthere/section.xsl b/data/starthere/section.xsl
index 21075a990..a734ce708 100644
--- a/data/starthere/section.xsl
+++ b/data/starthere/section.xsl
@@ -10,7 +10,7 @@
<xsl:template match="section">
<html>
<head>
- <title><xsl:value-of select="@name"/></title>
+ <xsl:apply-templates/>
<style type="text/css">
body {
margin-left: 150;
@@ -57,6 +57,10 @@
</html>
</xsl:template>
+<xsl:template match="pagetitle">
+ <title><xsl:apply-templates/></title>
+</xsl:template>
+
<xsl:template match="content">
<div class="body">
<xsl:apply-templates/>
diff --git a/data/starthere/smartbookmarks.xml.in b/data/starthere/smartbookmarks.xml.in
index 81d7910d0..34ba168c1 100644
--- a/data/starthere/smartbookmarks.xml.in
+++ b/data/starthere/smartbookmarks.xml.in
@@ -1,9 +1,10 @@
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="section.xsl"?>
<section name="Smart Bookmarks">
+<_pagetitle>Smart Bookmarks</_pagetitle>
<bar>
-<item section="home:">Home</item>
-<item section="home:smartbookmarks">Smart Bookmarks</item>
+<item section="home:"><_translate>Home</_translate></item>
+<item section="home:smartbookmarks"><_translate>Smart Bookmarks</_translate></item>
</bar>
<content>
<_title>Smart Bookmarks</_title>
@@ -13,18 +14,18 @@ the address entry.
</_paragraph>
<_paragraph>
Right click the links and choose "Bookmark Link..." from the menu list.
-When you will type a word in the toolbar entry, a list of your smart
+When you will type a word in the address entry, a list of your smart
bookmarks will be displayed. Just choose one of them to perform the search.
The next time you type a word, just pressing the Enter key will be enough to
perform the same action.
</_paragraph>
<smartbookmark normal="http://www.google.com/"
smart="http://www.google.com/search?q=%s&amp;ie=UTF-8&amp;oe=UTF-8" title="Search the web - Google">
-Search the web - Google
+<_translate>Search the web - Google</_translate>
</smartbookmark>
<smartbookmark normal="http://images.google.com/"
smart="http://images.google.com/images?q=%s&amp;ie=UTF-8&amp;oe=UTF-8" title="Search images - Google">
-Search images - Google
+<_translate>Search images - Google</_translate>
</smartbookmark>
</content>
</section>