Revision: 46169
Author:   malafaya
Date:     2009-01-24 21:14:56 +0000 (Sat, 24 Jan 2009)

Log Message:
-----------
All affected messages by weird text logic have colons now.
Some more i18n.

Modified Paths:
--------------
    trunk/extensions/Wikidata/OmegaWiki/SpecialAddCollection.php
    trunk/extensions/Wikidata/OmegaWiki/SpecialDatasearch.php
    trunk/extensions/Wikidata/OmegaWiki/SpecialExportTSV.php
    trunk/extensions/Wikidata/OmegaWiki/SpecialTransaction.php
    trunk/extensions/Wikidata/OmegaWiki/Wikidata.php
    trunk/extensions/Wikidata/SpecialLanguages.i18n.php

Modified: trunk/extensions/Wikidata/OmegaWiki/SpecialAddCollection.php
===================================================================
--- trunk/extensions/Wikidata/OmegaWiki/SpecialAddCollection.php        
2009-01-24 21:08:14 UTC (rev 46168)
+++ trunk/extensions/Wikidata/OmegaWiki/SpecialAddCollection.php        
2009-01-24 21:14:56 UTC (rev 46169)
@@ -39,7 +39,7 @@
                                        $collectionName = 
$wgRequest->getText('collection');
                                        startNewTransaction($wgUser->getID(), 
wfGetIP(), 'Add collection ' . $collectionName);
                                        
bootstrapCollection($collectionName,$wgRequest->getText('language'),$wgRequest->getText('type'),
 $dc);
-                                       $wgOut->addHTML('<strong>Collection ' . 
$collectionName . ' added.</strong><br />');    
+                                       
$wgOut->addHTML(wfMsg('ow_collection_added', $collectionName)); 
                                }
                                $datasets=wdGetDatasets();
                                $datasetarray['']=wfMsgSc("none_selected");
@@ -49,12 +49,12 @@
 
                                $wgOut->addHTML(getOptionPanel(
                                        array(
-                                               'Collection name' => 
getTextBox('collection'),
-                                               'Language of name' => 
getSuggest('language','language'),
-                                               'Collection type' => 
getSelect('type',array('' => 'None','RELT' => 'RELT','LEVL' => 'LEVL','CLAS' => 
'CLAS', 'MAPP' => 'MAPP')),
-                                               'Dataset' => 
getSelect('dataset',$datasetarray)
+                                               'Collection name:' => 
getTextBox('collection'),
+                                               'Language of name:' => 
getSuggest('language','language'),
+                                               'Collection type:' => 
getSelect('type',array('' => 'None','RELT' => 'RELT','LEVL' => 'LEVL','CLAS' => 
'CLAS', 'MAPP' => 'MAPP')),
+                                               'Dataset:' => 
getSelect('dataset',$datasetarray)
                                        ),
-                                       '',array('create' => 'Create')
+                                       '',array('create' => wfMsg('ow_create'))
                                ));
                        }
                }

Modified: trunk/extensions/Wikidata/OmegaWiki/SpecialDatasearch.php
===================================================================
--- trunk/extensions/Wikidata/OmegaWiki/SpecialDatasearch.php   2009-01-24 
21:08:14 UTC (rev 46168)
+++ trunk/extensions/Wikidata/OmegaWiki/SpecialDatasearch.php   2009-01-24 
21:14:56 UTC (rev 46169)
@@ -130,22 +130,22 @@
 
                        $languageName = languageIdAsText($languageId);
                        $options = array();
-                       $options['Search text'] = getTextBox('search-text', 
$searchText);
+                       $options['Search text:'] = getTextBox('search-text', 
$searchText);
 
                        if ($wgFilterLanguageId == 0)
-                               $options['Language'] = getSuggest('language', 
"language", array(), $languageId, $languageName);
+                               $options['Language:'] = getSuggest('language', 
"language", array(), $languageId, $languageName);
                        else
                                $languageId = $wgFilterLanguageId;
 
-                       $options['Collection'] = getSuggest('collection', 
'collection', array(), $collectionId, collectionIdAsText($collectionId));
+                       $options[wfMsg('ow_Collection_colon')] = 
getSuggest('collection', 'collection', array(), $collectionId, 
collectionIdAsText($collectionId));
 
                        if ($wgShowSearchWithinWordsOption)
-                               $options['Within words'] = 
getCheckBox('within-words', $withinWords);
+                               $options['Within words:'] = 
getCheckBox('within-words', $withinWords);
                        else
                                $withinWords = $wgSearchWithinWordsDefaultValue;
 
                        if ($wgShowSearchWithinExternalIdentifiersOption)
-                               $options['Within external identifiers'] = 
getCheckBox('within-external-identifiers', $withinExternalIdentifiers);
+                               $options['Within external identifiers:'] = 
getCheckBox('within-external-identifiers', $withinExternalIdentifiers);
                        else
                                $withinExternalIdentifiers = 
$wgSearchWithinExternalIdentifiersDefaultValue;
 

Modified: trunk/extensions/Wikidata/OmegaWiki/SpecialExportTSV.php
===================================================================
--- trunk/extensions/Wikidata/OmegaWiki/SpecialExportTSV.php    2009-01-24 
21:08:14 UTC (rev 46168)
+++ trunk/extensions/Wikidata/OmegaWiki/SpecialExportTSV.php    2009-01-24 
21:14:56 UTC (rev 46169)
@@ -194,8 +194,8 @@
                                        
                                        $wgOut->addHTML(getOptionPanel(
                                                array(
-                                                       'Collection' => 
getSelect('collection', $collections, 'cid376322'),
-                                                       'Languages' => 
getTextBox('languages', 'ita, eng, deu, fra, cat'),
+                                                       
wfMsg('ow_Collection_colon') => getSelect('collection', $collections, 
'cid376322'),
+                                                       'Languages:' => 
getTextBox('languages', 'ita, eng, deu, fra, cat'),
                                                ),
                                                '',array('create' => 'Create')
                                        ));

Modified: trunk/extensions/Wikidata/OmegaWiki/SpecialTransaction.php
===================================================================
--- trunk/extensions/Wikidata/OmegaWiki/SpecialTransaction.php  2009-01-24 
21:08:14 UTC (rev 46168)
+++ trunk/extensions/Wikidata/OmegaWiki/SpecialTransaction.php  2009-01-24 
21:14:56 UTC (rev 46169)
@@ -105,7 +105,7 @@
        
        return getOptionPanel(
                array(
-                       "From transaction" => 
+                       "From transaction:" => 
                                getSuggest(
                                        'from-transaction', 
                                        'transaction',
@@ -114,16 +114,14 @@
                                        
getTransactionLabel($fromTransactionId), 
                                        array(0, 2, 3)
                                ),
-                       "Count" => 
+                       "Count:" => 
                                getSelect('transaction-count',
                                        $countOptions,
                                        $transactionCount 
                                ),
-                       "User name" => getTextBox('user-name', $userName),
-                       "Show roll back controls" => 
getCheckBox('show-roll-back-options', $showRollBackOptions)
-               ),
-               '',
-               array("show" => "Show")
+                       "User name:" => getTextBox('user-name', $userName),
+                       "Show roll back controls:" => 
getCheckBox('show-roll-back-options', $showRollBackOptions)
+               )
        ); 
 }
 

Modified: trunk/extensions/Wikidata/OmegaWiki/Wikidata.php
===================================================================
--- trunk/extensions/Wikidata/OmegaWiki/Wikidata.php    2009-01-24 21:08:14 UTC 
(rev 46168)
+++ trunk/extensions/Wikidata/OmegaWiki/Wikidata.php    2009-01-24 21:14:56 UTC 
(rev 46169)
@@ -204,8 +204,8 @@
 
                $wgOut->addHTML(getOptionPanel(
                        array(
-                               'Transaction' => 
getSuggest('transaction','transaction', array(), $transactionId, 
getTransactionLabel($transactionId), array(0, 2, 3)),
-                               'Show record life span' => 
getCheckBox('show-record-life-span',$this->showRecordLifeSpan)
+                               'Transaction:' => 
getSuggest('transaction','transaction', array(), $transactionId, 
getTransactionLabel($transactionId), array(0, 2, 3)),
+                               'Show record life span:' => 
getCheckBox('show-record-life-span',$this->showRecordLifeSpan)
                        ),
                        'history'
                ));

Modified: trunk/extensions/Wikidata/SpecialLanguages.i18n.php
===================================================================
--- trunk/extensions/Wikidata/SpecialLanguages.i18n.php 2009-01-24 21:08:14 UTC 
(rev 46168)
+++ trunk/extensions/Wikidata/SpecialLanguages.i18n.php 2009-01-24 21:14:56 UTC 
(rev 46169)
@@ -128,6 +128,8 @@
        'ow_needs_xlation_dest_lang'            => 'Destination language:',
        '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><br />'
 );
 
 /** Message documentation (Message documentation)



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

Reply via email to