diff options
author | Christian Neumair <cneumair@src.gnome.org> | 2003-05-17 20:43:34 +0800 |
---|---|---|
committer | Christian Neumair <cneumair@src.gnome.org> | 2003-05-17 20:43:34 +0800 |
commit | da4bacb5a3de0dafe863ea82aea78d2e40731730 (patch) | |
tree | e31bad9600bf78b6e2a6523091e3af0e613941ab /data | |
parent | e5d335763657c0ebf4d464f4bc1d81542220141b (diff) | |
download | gsoc2013-epiphany-da4bacb5a3de0dafe863ea82aea78d2e40731730.tar.gz gsoc2013-epiphany-da4bacb5a3de0dafe863ea82aea78d2e40731730.tar.zst gsoc2013-epiphany-da4bacb5a3de0dafe863ea82aea78d2e40731730.zip |
Fixed many issues mentioned in #112781.
Diffstat (limited to 'data')
-rw-r--r-- | data/starthere/index.xml.in | 5 | ||||
-rw-r--r-- | data/starthere/section.xsl | 6 | ||||
-rw-r--r-- | data/starthere/smartbookmarks.xml.in | 11 | ||||
-rw-r--r-- | data/ui/epiphany-ui.xml.in | 4 |
4 files changed, 15 insertions, 11 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&ie=UTF-8&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&ie=UTF-8&oe=UTF-8" title="Search images - Google"> -Search images - Google +<_translate>Search images - Google</_translate> </smartbookmark> </content> </section> diff --git a/data/ui/epiphany-ui.xml.in b/data/ui/epiphany-ui.xml.in index 3a2f92e62..e9d02582c 100644 --- a/data/ui/epiphany-ui.xml.in +++ b/data/ui/epiphany-ui.xml.in @@ -58,9 +58,7 @@ <menuitem name="GoBookmarksMenu" verb="GoBookmarks"/> <separator name="GoSep2"/> <menuitem name="GoLocationMenu" verb="GoLocation"/> - <placeholder name="GoFavorites"> - <separator name="GoSep3"/> - </placeholder> + <placeholder name="GoFavorites"/> </submenu> <submenu name="TabsMenu" verb="Tabs"> |