Revision: 46216
Author:   malafaya
Date:     2009-01-25 19:14:48 +0000 (Sun, 25 Jan 2009)

Log Message:
-----------
Some i18n that was missing on edit page

Modified Paths:
--------------
    trunk/extensions/Wikidata/OmegaWiki/SpecialSuggest.php
    trunk/extensions/Wikidata/OmegaWiki/forms.php
    trunk/extensions/Wikidata/SpecialLanguages.i18n.php

Modified: trunk/extensions/Wikidata/OmegaWiki/SpecialSuggest.php
===================================================================
--- trunk/extensions/Wikidata/OmegaWiki/SpecialSuggest.php      2009-01-25 
19:00:11 UTC (rev 46215)
+++ trunk/extensions/Wikidata/OmegaWiki/SpecialSuggest.php      2009-01-25 
19:14:48 UTC (rev 46216)
@@ -567,12 +567,12 @@
        $o=OmegaWikiAttributes::getInstance();
 
        $dbr =& wfGetDB(DB_SLAVE);
-       $spellingAttribute = new Attribute("spelling", "Spelling", 
"short-text");
-       $languageAttribute = new Attribute("language", "Language", "language");
+       $spellingAttribute = new Attribute("spelling", wfMsg('ow_Spelling'), 
"short-text");
+       $languageAttribute = new Attribute("language", wfMsg('ow_Language'), 
"language");
        
        $expressionStructure = new Structure("defined-meaning", 
$spellingAttribute, $languageAttribute);
-       $definedMeaningAttribute = new Attribute(null, "Defined meaning", 
$expressionStructure);
-       $definitionAttribute = new Attribute("definition", "Definition", 
"definition");
+       $definedMeaningAttribute = new Attribute(null, 
wfMsg('ow_DefinedMeaning'), $expressionStructure);
+       $definitionAttribute = new Attribute("definition", 
wfMsg('ow_Definition'), "definition");
        
        $recordSet = new ArrayRecordSet(new Structure($o->id, 
$definedMeaningAttribute, $definitionAttribute), new Structure($o->id));
        
@@ -601,7 +601,7 @@
        
        $dbr =& wfGetDB(DB_SLAVE);
        
-       $classAttributeLevelAttribute = new Attribute("class-attribute-level", 
"Level", "short-text");
+       $classAttributeLevelAttribute = new Attribute("class-attribute-level", 
wfMsg('ow_ClassAttributeLevel'), "short-text");
        $recordSet = new ArrayRecordSet(new Structure($o->id, 
$classAttributeLevelAttribute), new Structure($o->id));
        
        while ($row = $dbr->fetchObject($queryResult)) 
@@ -618,7 +618,7 @@
        $o=OmegaWikiAttributes::getInstance();
 
        $dbr =& wfGetDB(DB_SLAVE);
-       $collectionAttribute = new Attribute("collection", "Collection", 
"short-text");
+       $collectionAttribute = new Attribute("collection", 
wfMsg('ow_Collection'), "short-text");
        
        $recordSet = new ArrayRecordSet(new Structure($o->id, 
$collectionAttribute), new Structure($o->id));
        

Modified: trunk/extensions/Wikidata/OmegaWiki/forms.php
===================================================================
--- trunk/extensions/Wikidata/OmegaWiki/forms.php       2009-01-25 19:00:11 UTC 
(rev 46215)
+++ trunk/extensions/Wikidata/OmegaWiki/forms.php       2009-01-25 19:14:48 UTC 
(rev 46216)
@@ -108,9 +108,9 @@
                '<div><table>' .
                        '<tr>' .
                                '<td><input type="text" id="'. $name 
.'-suggest-text" autocomplete="off" onkeyup="suggestTextChanged(this)" 
style="width: 300px"></input></td>' .
-                               '<td><a id="'. $name .'-suggest-clear" 
href="javascript:void(0)" onclick="suggestClearClicked(event, 
this)">Clear</a></td>' .
-                               '<td style="white-space: nowrap"><a id="'. 
$name .'-suggest-previous" href="javascript:void(0)" class="suggest-previous" 
onclick="suggestPreviousClicked(event, this)"><img 
src="'.$wgScriptPath.'/extensions/Wikidata/Images/ArrowLeft.png" 
alt="Previous"/> Previous</a></td>'.
-                               '<td style="white-space: nowrap"><a id="'. 
$name .'-suggest-next" href="javascript:void(0)" class="suggest-next" 
onclick="suggestNextClicked(event, this)">Next <img 
src="'.$wgScriptPath.'/extensions/Wikidata/Images/ArrowRight.png" 
alt="Next"/></a></td>'.
+                               '<td><a id="'. $name .'-suggest-clear" 
href="javascript:void(0)" onclick="suggestClearClicked(event, this)">' . 
wfMsg('ow_suggest_clear') . '</a></td>' .
+                               '<td style="white-space: nowrap"><a id="'. 
$name .'-suggest-previous" href="javascript:void(0)" class="suggest-previous" 
onclick="suggestPreviousClicked(event, this)"><img 
src="'.$wgScriptPath.'/extensions/Wikidata/Images/ArrowLeft.png" alt="' . 
wfMsg('ow_suggest_previous') . '"/> ' . wfMsg('ow_suggest_previous') . 
'</a></td>'.
+                               '<td style="white-space: nowrap"><a id="'. 
$name .'-suggest-next" href="javascript:void(0)" class="suggest-next" 
onclick="suggestNextClicked(event, this)">' . wfMsg('ow_suggest_next') . ' <img 
src="'.$wgScriptPath.'/extensions/Wikidata/Images/ArrowRight.png" alt="' . 
wfMsg('ow_suggest_next') . '"/></a></td>'.
                                '<td><a id="'. $name .'-suggest-close" 
href="javascript:void(0)" onclick="suggestCloseClicked(event, 
this)">[X]</a></td>' .
                        '</tr>' .
                '</table></div>' .

Modified: trunk/extensions/Wikidata/SpecialLanguages.i18n.php
===================================================================
--- trunk/extensions/Wikidata/SpecialLanguages.i18n.php 2009-01-25 19:00:11 UTC 
(rev 46215)
+++ trunk/extensions/Wikidata/SpecialLanguages.i18n.php 2009-01-25 19:14:48 UTC 
(rev 46216)
@@ -145,7 +145,10 @@
        'ow_needs_xlation_no_dest_lang'         => 'Please specify a 
destination language.',
        'ow_show'                                                       => 
'Show',
        'ow_create'                                                     => 
'Create',
-       'ow_collection_added'                           => '<strong>Collection 
$1 added.</strong>'
+       'ow_collection_added'                           => '<strong>Collection 
$1 added.</strong>',
+       'ow_suggest_previous'                           => 'Previous',
+       'ow_suggest_next'                                       => 'Next',
+       'ow_suggest_clear'                                      => 'Clear',
 );
 
 /** Message documentation (Message documentation)



_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to