Skip to content
This repository has been archived by the owner on Apr 16, 2022. It is now read-only.

Commit

Permalink
FIXED: translation bug for containers
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Bernard committed Jan 3, 2007
1 parent faf9234 commit 7b68780
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 7 deletions.
10 changes: 5 additions & 5 deletions web/ryzom_com/Quills/Weblog.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
###############################################################################

try:
from Products.LinguaPlone.public import *
except ImportError:
from Products.Archetypes.public import *
#try:
# from Products.LinguaPlone.public import *
#except ImportError:
# from Products.Archetypes.public import *

from AccessControl import ClassSecurityInfo
#from Products.Archetypes.public import *
from Products.Archetypes.public import *

from Products.Archetypes.Marshall import PrimaryFieldMarshaller
from Products.CMFCore import CMFCorePermissions
Expand Down
47 changes: 45 additions & 2 deletions web/ryzom_com/RyzomSkin/skins/ryzomskin_weblog/weblog_view.pt
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,51 @@
</select>
</form>

<!-- la ligne pour mettre les icone print,envoyer,...langage... -->
<div metal:use-macro="here/document_actions/macros/document_actions"></div>
<div class="documentActions">
<ul>
<li tal:define="lang python:here.portal_languages.getLanguageBindings()[0]">
<a href="" tal:attributes=" href string:news/feed.rdf?setlanguage=${lang}">
<img i18n:attributes="title" src="" alt="" title=""
tal:attributes="src string:rss.gif;
title string:RSS feed of this listing;
alt string:RSS feed of this listing;" />
</a>
</li>
<li>
<a href="sendto_form">
<img src="mail_icon.gif" alt="Send this page to somebody" title="Envoyer cette page à quelqu'un" />
</a>
</li>
<li>
<a href="javascript:this.print();">
<img src="print_icon.gif" alt="Print this page" title="Imprimer cette page" />
</a>
</li>
<li>
<a href="javascript:toggleFullScreenMode();">
<img src="fullscreenexpand_icon.gif" alt="Toggle full screen mode" title="Toggle full screen mode">
</a>
</li>
</ul>

<ul>
<li>
<a href="?set_language=de" title="Switch language to Deutsch">
<span><img alt="Deutsch" src="flag-de.gif"/></span>
</a>
</li>
<li>
<a href="?set_language=en" title="Switch language to English">
<span><img alt="English" src="flag-en.gif"/></span>
</a>
</li>
<li>
<a href="?set_language=fr" title="Switch language to Français">
<span><img alt="Français" src="flag-fr.gif"/></span>
</a>
</li>
</ul>
</div>

<div id="content-weblog"
tal:define="results here/getEntries;
Expand Down

0 comments on commit 7b68780

Please sign in to comment.