fixes possible translation errors

This commit is contained in:
Jeremy Edberg
2008-09-03 14:25:23 -07:00
parent 3ae7ebdd0c
commit 566469981d
5 changed files with 9 additions and 9 deletions

View File

@@ -59,7 +59,7 @@
<div id="marktoggle_${thing.link_name}"
class="help-toggle">
<a id="marklink_${thing.link_name}" href='#'
onclick="return helpon(this, 'markhelp_', '${_('hide help')}');">
onclick='return helpon(this, "markhelp_", "${_('hide help')}");'>
${_("help")}
</a>
</div>

View File

@@ -75,12 +75,12 @@
%if thing.isFriend:
<input type="hidden" name="action" value="remove"/>
<input type="hidden" name="toggled_action" value="add"/>
<input type="hidden" name="toggled_label" value='${_("add to friends")}'/>
<input type="hidden" name="toggled_label" value="${_('add to friends')}"/>
<a onclick="return toggle(this, 'friend');" href="#">${_("remove from friends")}</a>
%else:
<input type="hidden" name="toggled_action" value="remove"/>
<input type="hidden" name="action" value="add"/>
<input type="hidden" name="toggled_label" value='${_("remove from friends")}'/>
<input type="hidden" name="toggled_label" value="${_('remove from friends')}"/>
<a onclick="return toggle(this, 'friend')" href="#">${_("add to friends")}</a>
%endif
</form>

View File

@@ -98,9 +98,9 @@
window.onpageshow = function(evt) {
if (evt.persisted) init()
};
var _global_fetching_tag = '${_("fetching title...")}';
var _global_submitting_tag = '${_("submitting...")}';
var _global_loading_tag = '${_("loading...")}';
var _global_fetching_tag = "${_('fetching title...')}";
var _global_submitting_tag = "${_('submitting...')}";
var _global_loading_tag = "${_('loading...')}";
</%def>

View File

@@ -33,7 +33,7 @@
${thing.title}
<input type="hidden" name="dest" value="${request.fullpath}"/>
<input type="submit" name="submit"
value='${_("save edits")}' id="subscr_sub"
value="${_('save edits')}" id="subscr_sub"
style="display: none" />
</h4>
<h5>${thing.subtitle}</h5>

View File

@@ -37,7 +37,7 @@
<input type="hidden" name="toggled_action" value="sub"/>
<input type="hidden" name="action" value="unsub"/>
<input type="hidden" name="toggled_label"
value='${_("subscribe")}'/>
value="${_('subscribe')}"/>
<a onclick="return toggle(this, 'subscribe');" href="#">
${_("unsubscribe")}
</a>
@@ -45,7 +45,7 @@
<input type="hidden" name="toggled_action" value="unsub"/>
<input type="hidden" name="action" value="sub"/>
<input type="hidden" name="toggled_label"
value='${_("unsubscribe")}'/>
value="${_('unsubscribe')}"/>
<a onclick="return toggle(this, 'subscribe')" href="#">
${_("subscribe")}</a>
%endif