http://www.mediawiki.org/wiki/Special:Code/MediaWiki/73031
Revision: 73031
Author: purodha
Date: 2010-09-15 00:57:44 +0000 (Wed, 15 Sep 2010)
Log Message:
-----------
Fix some unlocalized strings.
Modified Paths:
--------------
trunk/extensions/Wikidata/OmegaWiki/Editor.php
trunk/extensions/Wikidata/Wikidata.i18n.php
Modified: trunk/extensions/Wikidata/OmegaWiki/Editor.php
===================================================================
--- trunk/extensions/Wikidata/OmegaWiki/Editor.php 2010-09-15 00:36:24 UTC
(rev 73030)
+++ trunk/extensions/Wikidata/OmegaWiki/Editor.php 2010-09-15 00:57:44 UTC
(rev 73031)
@@ -705,7 +705,7 @@
$headerRows = getStructureAsTableHeaderRows( $visibleStructure,
$columnOffset, $idPath );
if ( $this->allowRemove )
- $headerRows[0] = '<th class="remove" rowspan="' .
count( $headerRows ) . '"><img src="' . $wgStylePath . '/amethyst/delete.png"
title="' . wfMsgSc( "RemoveHint" ) . '" alt="' . wfMsgSc( "Remove" ) .
'"/></th>' . $headerRows[0];
+ $headerRows[0] = '<th class="remove" rowspan="' .
count( $headerRows ) . '"><img src="' . $wgStylePath . '/amethyst/delete.png"
title="' . wfMsgSc( "RemoveHint" ) . '" alt="' . wfMsgSc( "ow_editor_remove" )
. '"/></th>' . $headerRows[0];
if ( $this->repeatInput )
$headerRows[0] .= '<th class="add" rowspan="' . count(
$headerRows ) . '">Input rows</th>';
@@ -806,7 +806,7 @@
# + is add new Fo o(but grep this file for Add.png for more)
if ( $allowRemove ) {
- $result .= '<td class="add"><img src="' . $wgScriptPath
. '/extensions/Wikidata/Images/Add.png" title="' . wfMsgSc( "AddHint" ) . '"
alt="Add" onclick="addEmptyRow(this.parentNode.parentNode.id);"/></td>' . EOL;
+ $result .= '<td class="add"><img src="' . $wgScriptPath
. '/extensions/Wikidata/Images/Add.png" title="' . wfMsgSc( "ow_AddHint" ) . '"
alt="' . wfMsgSc( "ow_editor_add" ) . '"
onclick="addEmptyRow(this.parentNode.parentNode.id);"/></td>' . EOL;
}
$result .= $this->getStructureAsAddCells( $idPath, $this );
@@ -1951,7 +1951,7 @@
# For which class is this add?
$result .= '<li>' .
- '<h' .
$this->headerLevel . '><span id="collapse-' . $recordId . '" class="toggle ' .
addCollapsablePrefixToClass( $class ) . '" onclick="toggle(this, event);">' .
$this->getExpansionPrefix( $idPath->getClass(), $idPath->getId() ) . ' <img
src="' . $wgScriptPath . '/extensions/Wikidata/Images/Add.png" title="Enter new
list item to add" alt="Add"
onclick="addEmptyRow(this.parentNode.parentNode.id);"/>' .
$this->captionEditor->add( $idPath ) . '</span></h' . $this->headerLevel . '>'
. EOL;
+ '<h' .
$this->headerLevel . '><span id="collapse-' . $recordId . '" class="toggle ' .
addCollapsablePrefixToClass( $class ) . '" onclick="toggle(this, event);">' .
$this->getExpansionPrefix( $idPath->getClass(), $idPath->getId() ) . ' <img
src="' . $wgScriptPath . '/extensions/Wikidata/Images/Add.png" title="' .
wfMsgSc( 'ow_AddHintList' ) . '" alt="' . wfMsgSc( "ow_editor_add" ) . '"
onclick="addEmptyRow(this.parentNode.parentNode.id);"/>' .
$this->captionEditor->add( $idPath ) . '</span></h' . $this->headerLevel . '>'
. EOL;
$idPath->popAttribute();
$idPath->pushAttribute( $valueAttribute );
Modified: trunk/extensions/Wikidata/Wikidata.i18n.php
===================================================================
--- trunk/extensions/Wikidata/Wikidata.i18n.php 2010-09-15 00:36:24 UTC (rev
73030)
+++ trunk/extensions/Wikidata/Wikidata.i18n.php 2010-09-15 00:57:44 UTC (rev
73031)
@@ -96,6 +96,8 @@
'ow_noedit' => 'You are not permitted to edit pages in the dataset "$1".
Please see [[{{MediaWiki:Ow editing policy url}}|our editing policy]].',
'ow_editing_policy_url' => 'Project:Permission policy',
+ 'ow_editor_add' => 'Add',
+ 'ow_editor_remove' => 'Remove',
'ow_uipref_datasets' => 'Default view:',
'ow_uiprefs' => 'Wikidata',
'ow_none_selected' => 'None selected',
@@ -146,6 +148,7 @@
Please check the web address.',
'ow_AddHint' => 'Enter new rows to add',
+ 'ow_AddHintList' => 'Enter new list item to add',
'ow_AlternativeDefinition' => 'Alternative definition',
'ow_AlternativeDefinitions' => 'Alternative definitions',
'ow_Annotation' => 'Annotation',
@@ -308,6 +311,8 @@
'ow_searchnoresult' => "Don't translate the word ''Expression'' in
''<nowiki>[[Expression:$1]]</nowiki>''",
'ow_save' => '{{Identical|Save}}',
'ow_history' => '{{Identical|History}}',
+ 'ow_editor_add' => 'Used in edit pages as <code>alt=</code> attribute
of the "add" button image.',
+ 'ow_editor_remove' => 'Used in edit pages as <code>alt=</code>
attribute of the "remove" button image.',
'ow_none_selected' => '{{Identical|None selected}}',
'transaction' => "A 'transaction' is a database transaction: a set of
database operations considered as a whole.",
'ow_transaction_count' => '{{Identical|Count}}',
@@ -321,6 +326,7 @@
'ow_dm_OK' => '{{Identical|OK}}',
'ow_dm_not_present' => 'Used on
[http://www.omegawiki.org/index.php?title=Special:ConceptMapping
Special:ConceptMapping]',
'ow_AddHint' => 'Hint that shows up when the mouse hovers the plus sign
in table rows (such as Synonyms and Translations) while editing',
+ 'ow_AddHintList' => 'Hint that shows up when the mouse hovers the plus
sign in list rows (such as Annotations) while editing',
'ow_Annotation' => '{{Identical|Annotation}}',
'ow_ClassAttributeAttribute' => '{{Identical|Attribute}}',
'ow_ClassAttributeType' => '{{Identical|Type}}',
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs