[Translators-l] [Fundraising 2008] CentralNotices
Michael Wolf
milupo at sorbzilla.de
Tue Nov 11 18:14:09 UTC 2008
Aphaia napisa:
> For central notice, unless I misunderstand, it can be set both for
> multiple wikis (e.g. for all projects of a certain language) and for a
> single wiki (e.g. for Czeck Wikinews). If it is much easier, it would
> be an idea to set up single notice for each Czeck projects ... anyway
> there are only up to nine projects.
Hello,
I remember there was in LanguageXx(x).php a grammar rule for the project
names. But they are deleted now. Why?
It was a switch command for the grammatical cases of all wiki projects -
here for Upper Sorbian:
switch ( $case ) {
case 'genitiw': # genitive
if ( $word == 'Wikipedija' ) {
$word = 'Wikipedije';
} elseif ( $word == 'Wikiknihi' ) {
$word = 'Wikiknih';
} elseif ( $word == 'Wikinowiny' ) {
$word = 'Wikinowin';
} elseif ( $word == 'Wikižórło' ) {
$word = 'Wikižórła';
} elseif ( $word == 'Wikicitaty' ) {
$word = 'Wikicitatow';
} elseif ( $word == 'Wikisłownik' ) {
$word = 'Wikisłownika';
}
break;
case 'datiw': # dativ
if ( $word == 'Wikipedija' ) {
$word = 'Wikipediji';
} elseif ( $word == 'Wikiknihi' ) {
$word = 'Wikikniham';
} elseif ( $word == 'Wikinowiny' ) {
$word = 'Wikinowinam';
} elseif ( $word == 'Wikižórło' ) {
$word = 'Wikižórłu';
} elseif ( $word == 'Wikicitaty' ) {
$word = 'Wikicitatam';
} elseif ( $word == 'Wikisłownik' ) {
$word = 'Wikisłownikej';
}
break;
case 'akuzativ': # akuzativ
if ( $word == 'Wikipedija' ) {
$word = 'Wikipediju';
} elseif ( $word == 'Wikiknihi' ) {
$word = 'Wikiknknihi';
} elseif ( $word == 'Wikinowiny' ) {
$word = 'Wikinowiny';
} elseif ( $word == 'Wikižórło' ) {
$word = 'Wikižórło';
} elseif ( $word == 'Wikicitaty' ) {
$word = 'Wikicitaty';
} elseif ( $word == 'Wikisłownik' ) {
$word = 'Wikisłownik';
}
break;
case 'instrumental': # instrumental
if ( $word == 'Wikipedija' ) {
$word = 'Wikipediju';
} elseif ( $word == 'Wikiknihi' ) {
$word = 'Wikiknihami';
} elseif ( $word == 'Wikinowiny' ) {
$word = 'Wikinowinami';
} elseif ( $word == 'Wikižórło' ) {
$word = 'Wikižórłom';
} elseif ( $word == 'Wikicitaty' ) {
$word = 'Wikicitatami';
} elseif ( $word == 'Wikisłownik' ) {
$word = 'Wikisłownikom';
} else {
$word = 'z ' . $word;
}
break;
case 'lokatiw': # lokatiw
if ( $word == 'Wikipedija' ) {
$word = 'Wikipediji';
} elseif ( $word == 'Wikiknihi' ) {
$word = 'Wikiknihach';
} elseif ( $word == 'Wikinowiny' ) {
$word = 'Wikinowinach';
} elseif ( $word == 'Wikižórło' ) {
$word = 'Wikižórłu';
} elseif ( $word == 'Wikicitaty' ) {
$word = 'Wikicitatach';
} elseif ( $word == 'Wikisłownik' ) {
$word = 'Wikisłowniku';
} else {
$word = 'wo ' . $word;
}
break;
}
return $word; # this will return the original value for 'nominatiw'
(nominativ) and all undefined case values
}
I don't know why it was deleted in LanguageHsb.php. And AFAIK Czech had
such a switch command in its languageCs.php as well.
Regards,
michawiki
More information about the Translators-l
mailing list