[prev in list] [next in list] [prev in thread] [next in thread]
List: kupu-checkins
Subject: [kupu-checkins] r44515 - in kupu/trunk/kupu: default
From: duncan () codespeak ! net
Date: 2007-06-25 15:18:53
Message-ID: 20070625151853.DB5728105 () code0 ! codespeak ! net
[Download RAW message or body]
Author: duncan
Date: Mon Jun 25 17:18:53 2007
New Revision: 44515
Modified:
kupu/trunk/kupu/default/drawers.kupu
kupu/trunk/kupu/default/toolboxes.kupu
kupu/trunk/kupu/plone/kupu_plone_layer/kupu_migration.xml.pt
kupu/trunk/kupu/plone/kupu_plone_layer/kupu_wysiwyg_support.html
Log:
More i18n cleanup
Modified: kupu/trunk/kupu/default/drawers.kupu
==============================================================================
--- kupu/trunk/kupu/default/drawers.kupu (original)
+++ kupu/trunk/kupu/default/drawers.kupu Mon Jun 25 17:18:53 2007
@@ -306,13 +306,15 @@
<input type="checkbox" checked="checked" id="kupu-bm-checkall"/>
</div>
<div class="kupu-bm-paras"> </div>
- <div class="kupu-bm-helpanchor hide-anchor hide-toc" \
i18n_translate="create_anchor_link_help"> + <div \
class="kupu-bm-helpanchor hide-anchor hide-toc" + \
i18n:translate="create_anchor_link_help">
Select a paragraph style then choose a paragraph and Ok to insert a \
link to that location. </div>
- <div class="kupu-bm-helptoc hide-ins-bm hide-anchor" \
i18n_translate="create_toc_help"> + <div class="kupu-bm-helptoc \
hide-ins-bm hide-anchor" + i18n:translate="create_toc_help">
Select one or two paragraph styles, then Ok to insert a table of \
contents. </div>
- <div class="hide-ins-bm hide-toc" i18n_translate="create_anchor_help">
+ <div class="hide-ins-bm hide-toc" i18n:translate="create_anchor_help">
Anchors are created for checked paragraphs and
removed for unchecked paragraphs when you press Ok.
Anchors in use on this page may not be deleted.
Modified: kupu/trunk/kupu/default/toolboxes.kupu
==============================================================================
--- kupu/trunk/kupu/default/toolboxes.kupu (original)
+++ kupu/trunk/kupu/default/toolboxes.kupu Mon Jun 25 17:18:53 2007
@@ -179,7 +179,8 @@
</select>
<div style="text-align: center">
<button type="button" id="kupucleanupexpressionbutton"
- class="kupu-toolbox-action">Perform action</button>
+ class="kupu-toolbox-action"
+ i18n:translate="perform_action">Perform action</button>
</div>
</div>
</div>
Modified: kupu/trunk/kupu/plone/kupu_plone_layer/kupu_migration.xml.pt
==============================================================================
--- kupu/trunk/kupu/plone/kupu_plone_layer/kupu_migration.xml.pt (original)
+++ kupu/trunk/kupu/plone/kupu_plone_layer/kupu_migration.xml.pt Mon Jun 25 17:18:53 \
2007 @@ -29,7 +29,7 @@
current_fieldname state/fieldname|string:;
current_portal_type state/portal_type|string:;
current string:$current_portal_type.$current_fieldname;" >
- <legend>Type (Field name)</legend>
+ <legend i18n:translate="type_and_fieldname_heading">Type (Field \
name)</legend> <div tal:repeat="f kupu/getKupuFields">
<tal:var define="id string:type_radio_${repeat/f/index};
first repeat/f/start;
@@ -57,27 +57,32 @@
<fieldset tal:define="fieldName string:folderpaths; label string:Paths;
multiVal python:1; value \
request/SESSION/kupu_migrator/pathuids|python:[];
onchange \
string:kj.submitForm(this.form,'$infouri',{'qlen':1});">
- <legend>Folders</legend>
- <div class="formHelp">
+ <legend i18n:translate="folders_heading">Folders</legend>
+ <div class="formHelp"
+ i18n:translate="help_you_may_restrict_the_seach">
You may restrict the search to specific folders.
</div>
<div metal:use-macro="kupu/kupu_kjax_support.xml/macros/edit" />
</fieldset>
<fieldset>
- <legend>Info</legend>
+ <legend i18n:translate="info_heading">Info</legend>
<div id="query_length"></div>
</fieldset>
<input type="hidden" name="form.submitted" value="1" />
<input type="hidden" name="button" value="" />
- <div class="formHelp">
+ <div class="formHelp"
+ i18n:translate="help_show_proposed_changes">
These commands will display proposed changes.
You will be given an opportunity to review and filter any changes before \
committing them. </div>
<input type="submit" value="check links" name="checklinks"
+ i18n:attributes="value"
onclick="this.form.button.value='check'" />
- <input type="submit" value="relative path -> uids" name="touids"
+ <input type="submit" value="relative path -> uids"
+ name="touids" i18n:attributes="value"
onclick="this.form.button.value='touid'" />
- <input type="submit" value="uids -> relative path" name="topath"
+ <input type="submit" value="uids -> relative path"
+ name="topath" i18n:attributes="value"
onclick="this.form.button.value='topath'" />
</form>
</div>
@@ -100,6 +105,7 @@
<input type="button"
value="<< back to form"
+ i18n:attributes="value back_to_form"
tal:condition="not:m/nexturi"
tal:attributes="onclick string:kj.newRequest('${uri}')" />
@@ -146,7 +152,8 @@
<span tal:content="link/before" /><a
target="badlink"
tal:attributes="href link/url"
- tal:content="link/text|default">[no text in link]</a><span
+ tal:content="link/text|default"
+ i18n:translate="no_text_in_link">[no text in link]</a><span
tal:content="link/after" />
</code>
</li>
@@ -180,11 +187,13 @@
<div id="kupu-output" kj:mode="prepend" tal:condition="m/found">
<div tal:condition="m/checkboxes">
<input type="checkbox" checked="checked" onclick="toggleSelect(this, \
'uids:list', true)" />
- <span class="discreet">(toggle selection)</span>
+ <span class="discreet"
+ i18n:translate="toggle_selection">(toggle selection)</span>
<input type="hidden" tal:attributes="value m/action" name="button" \
/> <input type="hidden" name="commit:int" value="1" />
<input type="button"
value="commit selected changes"
+ i18n:attributes="value commit_changes"
onclick="kj.submitForm(this.form);"
tal:condition="not:m/nexturi" />
</div>
Modified: kupu/trunk/kupu/plone/kupu_plone_layer/kupu_wysiwyg_support.html
==============================================================================
--- kupu/trunk/kupu/plone/kupu_plone_layer/kupu_wysiwyg_support.html (original)
+++ kupu/trunk/kupu/plone/kupu_plone_layer/kupu_wysiwyg_support.html Mon Jun 25 \
17:18:53 2007 @@ -16,18 +16,18 @@
<!--$Id: toolboxes.kupu 37754 2007-02-01 17:24:29Z yuppie $-->
<!--$Id: colorchooser.kupu 35491 2006-12-08 15:41:49Z duncan $-->
<!--$Id: save.kupu 9520 2005-02-26 16:30:23Z duncan $-->
- <!--$Id: drawers.kupu 43895 2007-05-30 13:42:40Z duncan $-->
+ <!--$Id: drawers.kupu 44423 2007-06-22 10:44:38Z duncan $-->
<!--$Id: include.kupu 39202 2007-02-19 12:06:45Z duncan $-->
<!--$Id: wire.kupu 25247 2006-04-03 11:23:02Z fschulze $-->
<!--$Id: head.kupu 34332 2006-11-07 14:50:40Z duncan $-->
<!--$Id: xmlconfig.kupu 35367 2006-12-06 09:06:21Z duncan $-->
- <!--$Id: body.kupu 43482 2007-05-18 13:47:41Z duncan $-->
+ <!--$Id: body.kupu 44509 2007-06-25 14:15:02Z duncan $-->
<!--$Id: toolbar.kupu 35491 2006-12-08 15:41:49Z duncan $-->
<!--$Id save.kupu (not yet in svn) $-->
<!--$Id: drawers.kupu 35477 2006-12-08 13:20:38Z duncan $-->
<!--$Id: beforeunload.kupu 14546 2005-07-12 14:35:55Z duncan $-->
<!--$Id: sourceedit.kupu 35477 2006-12-08 13:20:38Z duncan $-->
- <!--$Id: wysiwyg_support.kupu 42388 2007-04-28 10:29:22Z limi $-->
+ <!--$Id: wysiwyg_support.kupu 44509 2007-06-25 14:15:02Z duncan $-->
<div xmlns:metal="http://xml.zope.org/namespaces/metal" \
xmlns:tal="http://xml.zope.org/namespaces/tal" metal:define-macro="wysiwygEditorBox" \
id="kupu-editor" tal:define="name fieldName|inputname; editorid \
string:kupu-editor-${name}" tal:attributes="id editorid"> @@ -431,13 +431,13 @@
<input type="checkbox" checked="checked" id="kupu-bm-checkall"/>
</div>
<div class="kupu-bm-paras"> </div>
- <div class="kupu-bm-helpanchor hide-anchor hide-toc" \
i18n_translate="create_anchor_link_help"> + <div \
class="kupu-bm-helpanchor hide-anchor hide-toc" \
i18n:translate="create_anchor_link_help">
Select a paragraph style then choose a paragraph and Ok to insert a \
link to that location. </div>
- <div class="kupu-bm-helptoc hide-ins-bm hide-anchor" \
i18n_translate="create_toc_help"> + <div class="kupu-bm-helptoc \
hide-ins-bm hide-anchor" i18n:translate="create_toc_help">
Select one or two paragraph styles, then Ok to insert a table of \
contents. </div>
- <div class="hide-ins-bm hide-toc" i18n_translate="create_anchor_help">
+ <div class="hide-ins-bm hide-toc" i18n:translate="create_anchor_help">
Anchors are created for checked paragraphs and
removed for unchecked paragraphs when you press Ok.
Anchors in use on this page may not be deleted.
@@ -477,7 +477,7 @@
</textarea>
</div>
- <div class="kupuoverride" tal:condition="python:exists('kupu_content') and \
len(kupu_content)==0" tal:define="floated widget/allow_file_upload | python:1;" \
tal:attributes="style python:test(floated, 'float:left;;', '');"><span \
class="discreet"><a class="forcekupu" href="#" i18n:translate="suppress-kupu" \
tal:define="fs fieldset|nothing;fs python:test(fs,'&fieldset=%s'%fs,None);" \
tal:attributes="href string:${request/URL0}?kupu.suppress=${fieldName}${fs};" \
title="reload current page without kupu"> + <div class="kupuoverride" \
tal:condition="python:exists('kupu_content') and len(kupu_content)==0" \
tal:define="floated widget/allow_file_upload | python:1;" tal:attributes="style \
python:test(floated, 'float:left;;', '');"><span class="discreet"><a \
class="forcekupu" href="#" i18n:translate="suppress-kupu" i18n:attributes="title" \
tal:define="fs fieldset|nothing;fs python:test(fs,'&fieldset=%s'%fs,None);" \
tal:attributes="href string:${request/URL0}?kupu.suppress=${fieldName}${fs};" \
title="reload current page without kupu"> Edit without visual editor
</a></span>
</div>
@@ -501,7 +501,7 @@
<tal:archetypes tal:condition="fieldName|nothing">
<div class="kupuoverride" \
tal:condition="python:path('widget/allow_format_edit|python:True') and not \
path('kupu_convert_message_generated|nothing')" tal:define="floated \
widget/allow_file_upload | python:1;" tal:attributes="style python:test(floated, \
'float:left;;', '');">
- <span class="discreet"><a class="forcekupu" href="#" \
i18n:translate="force-kupu" \
tal:condition="python:portal.kupu_library_tool.isKupuEnabled(REQUEST=context.REQUEST, \
context=context, fieldName=fieldName)" tal:define="fs fieldset|nothing;fs \
python:test(fs,'&fieldset=%s'%fs,None);" tal:attributes="href \
string:${request/URL0}?kupu.convert=${fieldName}${fs};" title="reload current page \
using kupu to edit this field"> + <span class="discreet"><a class="forcekupu" \
href="#" i18n:translate="force-kupu" i18n:attributes="title" \
tal:condition="python:portal.kupu_library_tool.isKupuEnabled(REQUEST=context.REQUEST, \
context=context, fieldName=fieldName)" tal:define="fs fieldset|nothing;fs \
python:test(fs,'&fieldset=%s'%fs,None);" tal:attributes="href \
string:${request/URL0}?kupu.convert=${fieldName}${fs};" title="reload current page \
using kupu to edit this field"> Edit with visual editor
</a></span>
</div>
@@ -521,7 +521,7 @@
<tal:archetypes tal:condition="fieldName|nothing">
<div metal:use-macro="here/widgets/visual/macros/area_format"/>
<span tal:condition="python:portal.kupu_library_tool.isKupuEnabled(REQUEST=context.REQUEST, \
context=context, fieldName=fieldName)" tal:define="global \
kupu_convert_message_generated python:True">
- <a href="#" tal:attributes="href \
python:portal.kupu_library_tool.forcekupu_url(fieldName);">Convert to HTML and edit \
with the visual editor</a></span> + <a href="#" tal:attributes="href \
python:portal.kupu_library_tool.forcekupu_url(fieldName);" i18n:translate="">Convert \
to HTML and edit with the visual editor</a></span> </tal:archetypes>
<tal:nonat condition="not:fieldName|nothing">
<label for="text_format" i18n:translate="label_format">Format</label>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic