Skip to content

Commit

Permalink
Item13294: Translation string quality issues
Browse files Browse the repository at this point in the history
Identified from source string comments from weblate.
  • Loading branch information
gac410 committed May 23, 2015
1 parent 36300ab commit b387dfd
Show file tree
Hide file tree
Showing 10 changed files with 22 additions and 17 deletions.
4 changes: 2 additions & 2 deletions NatEditPlugin/templates/edit.natedit.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
%TMPL:DEF{"topicmeta"}%<div class="natEditTopicInfo"><literal>
<table>
<tr>
<th>Title:</th>
<th>%MAKETEXT{"Title:"}%</th>
<td><input class="foswikiInputField" type="text" name="TopicTitle" size="75" value="%URLPARAM{"TopicTitle" default="%TMPL:P{"topictitle" hideautoinc="on"}%" encode="quote"}%" /></td>
</tr>
</table>
Expand Down Expand Up @@ -181,4 +181,4 @@
</div>
</div>
</noautolink>
%ENDTAB%%TMPL:END%
%ENDTAB%%TMPL:END%
5 changes: 3 additions & 2 deletions PatternSkin/templates/attach.pattern.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
id="attachhelp"
remember="on"
noscript="hide"
link="%MAKETEXT{"Attachments help"}%"
showlink="%MAKETEXT{"Show attachments help"}%"
hidelink="%MAKETEXT{"Hide help"}%"
showimgleft="%ICONURLPATH{toggleopen}%"
hideimgleft="%ICONURLPATH{toggleclose}%"
linkclass="patternTwistyButton"
Expand Down Expand Up @@ -79,4 +80,4 @@ class="foswikiHelp"
%TMPL:P{"formend"}%
%TMPL:P{"movedelete"}%
%TMPL:P{"versions"}%
%TMPL:P{"existingattachments"}%%TMPL:END%
%TMPL:P{"existingattachments"}%%TMPL:END%
8 changes: 6 additions & 2 deletions PatternSkin/templates/attachagain.pattern.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,12 @@



%TMPL:DEF{"movedelete"}%<div class="patternMoveAttachment foswikiUnvisited"><a href="%SCRIPTURLPATH{"rename"}%/%WEB%/%TOPIC%?template=moveattachment&attachment=%ENCODE{%FILENAME%}%" rel='nofollow'><span class="foswikiLinkLabel">%MAKETEXT{"Move"}%</span></a> %MAKETEXT{"or"}% <a href="%SCRIPTURLPATH{"rename"}%/%WEB%/%TOPIC%?newweb=%TRASHWEB%;newtopic=TrashAttachment;template=renameattachmentdelete;attachment=%ENCODE{%FILENAME%}%" rel='nofollow'><span class="foswikiLinkLabel">%MAKETEXT{"Delete"}%</span></a> =%FILENAME%= </div>%TMPL:END%

%TMPL:DEF{"movedelete"}%<div class="patternMoveAttachment foswikiUnvisited">
%MAKETEXT{"Move or Delete [_1]:" args="=%FILENAME%="}%
%BUTTON{ href="%SCRIPTURLPATH{"rename"}%/%WEB%/%TOPIC%?template=moveattachment&attachment=%ENCODE{%FILENAME%}%" value=" %MAKETEXT{"Move"}% "}%
%BUTTON{ href="%SCRIPTURLPATH{"rename"}%/%WEB%/%TOPIC%?newweb=%TRASHWEB%;newtopic=TrashAttachment;template=renameattachmentdelete;attachment=%ENCODE{%FILENAME%}%" value=" %MAKETEXT{"Delete"}% "}%
</input></div>
%TMPL:END%


%TMPL:DEF{"topicactionbuttons"}%<input type="submit" class="foswikiSubmit" value='%MAKETEXT{"Upload file"}%' /> %TMPL:P{"canceltopicaction"}%%TMPL:END%
Expand Down
2 changes: 1 addition & 1 deletion PatternSkin/templates/renamebase.pattern.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
%TMPL:DEF{"checkuncheck"}%%{
foswikiCheckAllOn and foswikiCheckAllOff are handled in foswikiForm.js
}%<div class="foswikiFormStep foswikiMakeVisible">
<p><input type="button" class="foswikiButton foswikiCheckAllOn" value='%MAKETEXT{"Select all"}%' />&nbsp;<input type="button" class="foswikiButton foswikiCheckAllOff" value='%MAKETEXT{"Clear all"}%' /> %MAKETEXT{"checkboxes of referenced topics"}%</p></div>%TMPL:END%
<p><input type="button" class="foswikiButton foswikiCheckAllOn" value='%MAKETEXT{"Select all topics"}%' />&nbsp;<input type="button" class="foswikiButton foswikiCheckAllOff" value='%MAKETEXT{"Clear all topics"}%' /></p></div>%TMPL:END%


%TMPL:DEF{"renameformsteps"}%<div class="foswikiFormSteps">
Expand Down
6 changes: 3 additions & 3 deletions core/data/Main/GroupViewTemplate.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
%META:TOPICINFO{author="ProjectContributor" date="1426891830" format="1.1" version="1"}%
%META:TOPICINFO{author="ProjectContributor" date="1432417054" format="1.1" version="1"}%
%TMPL:INCLUDE{"view"}%

%TMPL:DEF{"content"}%<div class="foswikiTopicText">
Expand Down Expand Up @@ -200,7 +200,7 @@ then='
parameters: groupname
-->
%STARTSECTION{"group_add"}%<!-- --><sticky>
<div id='manageGroup' title='%MAKETEXT{"Add Members to"}% <noautolink>%URLPARAM{"groupname"}%</noautolink>' class='jqUIDialog { modal:true, resizable:false, draggable:false, width:400, autoCenter:true, cache:false}'>
<div id='manageGroup' title='%MAKETEXT{"Add Members to [_1]" args="<noautolink>%URLPARAM{"groupname"}%</noautolink>"}%' class='jqUIDialog { modal:true, resizable:false, draggable:false, width:400, autoCenter:true, cache:false}'>
<form id='addUser' action='%SCRIPTURLPATH{"manage"}%/%WEB%/%TOPIC%' method='post'>
<input type='hidden' name='groupname' value='%URLPARAM{"groupname" default="%groupname%"}%'/>
<input type='hidden' name='action' value='addUserToGroup'/>
Expand All @@ -222,7 +222,7 @@ then='
parameters: groupname
-->
%STARTSECTION{"group_remove"}%<!-- -->
<div id='manageGroup' title='%MAKETEXT{"Remove Members from"}% <noautolink>%URLPARAM{"groupname"}%</noautolink>' class='jqUIDialog { modal:true, resizable:false, draggable:false, width:400, autoCenter:true, cache:false }'>
<div id='manageGroup' title='%MAKETEXT{"Remove Members from [_1]" args="<noautolink>%URLPARAM{"groupname"}%</noautolink>"}%' class='jqUIDialog { modal:true, resizable:false, draggable:false, width:400, autoCenter:true, cache:false }'>
%GROUPINFO{
"%URLPARAM{"groupname"}%"
expand="0"
Expand Down
4 changes: 2 additions & 2 deletions core/data/System/WebSearch.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
%META:TOPICINFO{author="ProjectContributor" date="1421599902" format="1.1" version="1"}%
%META:TOPICINFO{author="ProjectContributor" date="1432417054" format="1.1" version="1"}%
%META:TOPICPARENT{name="WebHome"}%
%IF{
"$'URLPARAM{tab}'='search' OR $'URLPARAM{tab}'='' AND NOT $TAB='advanced'"
Expand Down Expand Up @@ -235,7 +235,7 @@

%STARTSECTION{"searchresults"}%%IF{
"$'URLPARAM{search}'!=''"
then="<h2>Search results</h2>
then="<h2>%MAKETEXT{"Search results"}%</h2>
$percentINCLUDE{$quot%SYSTEMWEB%.%TOPIC%$quot section=$quotsearchfeed$quot}$percent"
}%%SEARCH{
"%URLPARAM{"search" encode="quote"}%"
Expand Down
2 changes: 1 addition & 1 deletion core/templates/attachagain.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
</tr>%TMPL:END%
%TMPL:DEF{"extranotes"}% * %MAKETEXT{"*Properties:* The comment and visibility (i.e. is attachment hidden) can be changed without uploading a file by pressing \"Change Properties only\"."}% %POPUPWINDOW{"%SYSTEMWEB%.HiddenAttachment" label="%MAKETEXT{"More on hiding attachments"}%"}%%JQREQUIRE{"popupwindow"}%
* %MAKETEXT{"*Change comment:* If you use _Change Properties_ to change a comment, the comment shown in the topic will change, but the comment shown against the attachment history will be the comment when the file was uploaded."}%
* %MAKETEXT{"*Local file:* If you select a different file in _Local file:_, it is this that will be updated or added."}%
* %MAKETEXT{"*Attach new file:* If you select a different file in the browser, it is this that will be updated or added."}%
%TMPL:END%
%TMPL:DEF{"topicactionbuttons"}%<input type="submit" class="foswikiSubmit" value="%MAKETEXT{"Upload file"}%" />%TMPL:P{"sep"}%<input type="submit" class="foswikiSubmit" name="changeproperties" value="%MAKETEXT{"Change properties only"}%" />%TMPL:P{"sep"}%<a href="%SCRIPTURLPATH{"rename"}%/%WEB%/%TOPIC%?attachment=%ENCODE{%FILENAME%}%" rel='nofollow'>%MAKETEXT{"Move or delete attachment"}%</a>%TMPL:P{"sep"}%%TMPL:P{"canceltopicaction"}%%TMPL:END%
%TMPL:DEF{"fileuser"}%(%FILEUSER%)%TMPL:END%
Expand Down
2 changes: 1 addition & 1 deletion core/templates/moveattachment.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
%TMPL:DEF{"webaction"}% *%MAKETEXT{"Move file attachment"}%* %TMPL:END%


%TMPL:DEF{"pagetitle"}%%MAKETEXT{"Move attachment"}% [[%ATTACHURL%/%ENCODE{"%FILENAME%"}%][%FILENAME%]]%TMPL:END%
%TMPL:DEF{"pagetitle"}%%MAKETEXT{"Move attachment [_1]" args="[[%ATTACHURL%/%ENCODE{"%FILENAME%"}%][%FILENAME%]]"}% %TMPL:END%


%TMPL:DEF{"renameformsteps"}%<div class="foswikiFormSteps">
Expand Down
4 changes: 2 additions & 2 deletions core/templates/renameattachmentdelete.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@



%TMPL:DEF{"towebtitle"}%---+++ %MAKETEXT{"Move to web:"}% <nop>%TRASHWEB%%TMPL:END%
%TMPL:DEF{"towebtitle"}%---+++ %MAKETEXT{"Move to web: [_1]" args="<nop>%TRASHWEB%"}% %TMPL:END%



%TMPL:DEF{"topicactionbuttons"}%<input type="submit" class="foswikiSubmit" value=' %MAKETEXT{"Delete"}% ' /> %MAKETEXT{"or"}% %TMPL:P{"canceltopicaction"}%%TMPL:END%


%TMPL:DEF{"pagetitle"}%%MAKETEXT{"Delete attachment"}% [[%ATTACHURL%/%ENCODE{"%FILENAME%"}%][%FILENAME%]]%TMPL:END%
%TMPL:DEF{"pagetitle"}%%MAKETEXT{"Delete attachment [_1]" args="[[%ATTACHURL%/%ENCODE{"%FILENAME%"}%][%FILENAME%]]"}%%TMPL:END%



Expand Down
2 changes: 1 addition & 1 deletion core/templates/searchformat.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@
%TMPL:DEF{SEARCH:pager_previous}%[[$previousurl][< Previous]]%TMPL:END%
%TMPL:DEF{SEARCH:pager_next}%[[$nexturl][Next >]]%TMPL:END%
%TMPL:DEF{SEARCH:pager}%<div class="foswikiSearchResultsPager">
$previousbutton $sep Page $currentpage of $numberofpages $sep $nextbutton
%MAKETEXT{"[_1] [_2] Page [_3] of [_4] [_5] [_6]" args="$previousbutton,$sep,$currentpage,$numberofpages,$sep,$nextbutton"}%
</div>%TMPL:END%

0 comments on commit b387dfd

Please sign in to comment.