[Kde-imaging] extragear/libs/kipi-plugins/htmlexport
Aurélien Gâteau
aurelien.gateau at free.fr
Sun Apr 9 21:49:43 CEST 2006
SVN commit 527982 by gateau:
Added last missing translation.
CCMAIL: kde-imaging at kde.org
M +1 -2 TODO
M +1 -0 generator.cpp
M +4 -4 themes/matrix/template.xslt
M +4 -4 themes/snow/template.xslt
--- trunk/extragear/libs/kipi-plugins/htmlexport/TODO #527981:527982
@@ -1,5 +1,4 @@
# Must be done
-- i18n support: provide more strings to XSL themes
- Support for special case: only one gallery
- Define a theme description file, which should contain the theme title,
author, URL
@@ -13,5 +12,5 @@
- Automatically rotate JPEG according to Exif info
- Keep EXIF information
- Make EXIF information available to themes
-- Implement and "update" mode which would only generate files for new or
+- Implement an "update" mode which would only generate files for new or
modified images
--- trunk/extragear/libs/kipi-plugins/htmlexport/generator.cpp #527981:527982
@@ -286,6 +286,7 @@
I18nMap map;
map["i18nPrevious"]=makeXsltParam(i18n("Previous"));
map["i18nNext"]=makeXsltParam(i18n("Next"));
+ map["i18nCollectionList"]=makeXsltParam(i18n("Collection List"));
const char** params=new const char*[map.size()*2+1];
--- trunk/extragear/libs/kipi-plugins/htmlexport/themes/matrix/template.xslt #527981:527982
@@ -27,7 +27,7 @@
<body id="imagePage">
<h1>
<div id="caption">
- <a href="../index.html">Collection List</a>
+ <a href="../index.html"><xsl:value-of select="$i18nCollectionList"/></a>
» <a href="index.html"><xsl:value-of select="../name"/></a>
» <xsl:value-of select="title"/>
(<xsl:value-of select="position()"/>/<xsl:value-of select="last()"/>)
@@ -94,7 +94,7 @@
</head>
<body id="collectionPage">
<h1>
- <a href="../index.html">Collection List</a> » <xsl:value-of select="name"/>
+ <a href="../index.html"><xsl:value-of select="$i18nCollectionList"/></a> » <xsl:value-of select="name"/>
</h1>
<div id="content">
<ul>
@@ -120,11 +120,11 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
- <title>Collection List</title>
+ <title><xsl:value-of select="$i18nCollectionList"/></title>
<link rel="stylesheet" type="text/css" href="matrix/style.css"/>
</head>
<body>
- <h1>Collection List</h1>
+ <h1><xsl:value-of select="$i18nCollectionList"/></h1>
<div id="content">
<ul>
<xsl:for-each select="collections/collection">
--- trunk/extragear/libs/kipi-plugins/htmlexport/themes/snow/template.xslt #527981:527982
@@ -42,7 +42,7 @@
</xsl:choose>
</div>
<div id="caption">
- <a href="../index.html">Collection List</a>
+ <a href="../index.html"><xsl:value-of select="$i18nCollectionList"/></a>
» <a href="index.html"><xsl:value-of select="../name"/></a>
» <xsl:value-of select="title"/>
(<xsl:value-of select="position()"/>/<xsl:value-of select="last()"/>)
@@ -69,7 +69,7 @@
</head>
<body id="collectionPage">
<h1>
- <a href="../index.html">Collection List</a> » <xsl:value-of select="name"/>
+ <a href="../index.html"><xsl:value-of select="$i18nCollectionList"/></a> » <xsl:value-of select="name"/>
</h1>
<div id="content">
<ul>
@@ -98,11 +98,11 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
- <title>Collection List</title>
+ <title><xsl:value-of select="$i18nCollectionList"/></title>
<link rel="stylesheet" type="text/css" href="snow/style.css"/>
</head>
<body>
- <h1>Collection List</h1>
+ <h1><xsl:value-of select="$i18nCollectionList"/></h1>
<div id="content">
<ul>
<xsl:for-each select="collections/collection">
More information about the Kde-imaging
mailing list