Siebrand has uploaded a new change for review. https://gerrit.wikimedia.org/r/88027
Change subject: Remove FrontlineSMS configuration ...................................................................... Remove FrontlineSMS configuration Doesn't look like it'll ever be used. Could be restored in the future if needed. Change-Id: I99d653ac42834d75633b08d054f259bdea9b5014 --- M REPOCONF M TranslateSettings.php M bin/repocommit M bin/repocreate M bin/repoexport M bin/repoupdate D groups/FrontlineSMS/Checker.php D groups/FrontlineSMS/FrontlineSMS.yaml 8 files changed, 1 insertion(+), 80 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/translatewiki refs/changes/27/88027/1 diff --git a/REPOCONF b/REPOCONF index 01eaebe..b728627 100644 --- a/REPOCONF +++ b/REPOCONF @@ -12,7 +12,6 @@ REPO_ETHERPADLITE=git://github.com/ether/etherpad-lite.git REPO_ETHERPADLITE_BRANCH="develop" REPO_FREECOL=git://git.code.sf.net/p/freecol/git -REPO_FRONTLINESMS=git://github.com/frontlinesms/frontlinesms.git REPO_FUDFORUM=svn://svn.code.sf.net/p/fudforum/code/trunk/install/forum_data/thm/default/i18n REPO_FUEL=git://git.fedorahosted.org/fuel.git REPO_IHRIS=http://bazaar.launchpad.net/~intrahealth%2Binformatics diff --git a/TranslateSettings.php b/TranslateSettings.php index de0b991..02d6184 100644 --- a/TranslateSettings.php +++ b/TranslateSettings.php @@ -391,9 +391,7 @@ $wgTranslateGroupFiles[] = "$GROUPS/Mozilla/MozillaDtd.yaml"; $wgTranslateGroupFiles[] = "$GROUPS/Mozilla/Mozilla.yaml"; -# Not yet in use. -wfAddNamespace( 1248, 'FrontlineSMS' ); -#$wgTranslateGroupFiles[] = "$GROUPS/FrontlineSMS/FrontlineSMS.yaml"; +# 1248 is not in use. Can be used for a product. wfAddNamespace( 1250, 'EtherpadLite' ); $wgTranslateGroupFiles[] = "$GROUPS/EtherpadLite/EtherpadLite.yaml"; diff --git a/bin/repocommit b/bin/repocommit index 295105a..5103bb5 100755 --- a/bin/repocommit +++ b/bin/repocommit @@ -46,7 +46,6 @@ eol \ etherpad-lite \ freecol \ -frontlinesms \ fuel \ intuition \ jquery.uls \ diff --git a/bin/repocreate b/bin/repocreate index 8863284..e3c6b6f 100755 --- a/bin/repocreate +++ b/bin/repocreate @@ -64,13 +64,6 @@ fi git clone "$REPO_FREECOL" $PROJECT -elif [ "$PROJECT" = "frontlinesms" ] -then - if [ -z "$REPO_FRONTLINESMS" ] - then echo "Add REPO_FRONTLINESMS to REPOCONF"; exit 1 - fi - git clone "$REPO_FRONTLINESMS" $PROJECT - elif [ "$PROJECT" = "fudforum" ] then if [ -z "$REPO_FUDFORUM" ] diff --git a/bin/repoexport b/bin/repoexport index 7f105ea..de978e6 100755 --- a/bin/repoexport +++ b/bin/repoexport @@ -46,11 +46,6 @@ php "$EXPORTER" --target . --group=out-freecol --lang '*' --skip en,qqq $THRESHOLD php "$EXPORTER" --target . --group=out-freecol --lang qqq -elif [ "$PROJECT" = "frontlinesms" ] -then - php "$EXPORTER" --target . --group=out-$PROJECT --lang '*' --skip en,qqq $THRESHOLD - php "$EXPORTER" --target . --group=out-$PROJECT --lang qqq - elif [ "$PROJECT" = "fudforum" ] then php "$EXPORTER" --target . --group=out-fudforum --lang '*' --skip en $THRESHOLD diff --git a/bin/repoupdate b/bin/repoupdate index ffa5c51..11b674c 100755 --- a/bin/repoupdate +++ b/bin/repoupdate @@ -34,7 +34,6 @@ commons-ios \ eol \ freecol \ -frontlinesms \ fuel \ intuition \ jquery.uls \ diff --git a/groups/FrontlineSMS/Checker.php b/groups/FrontlineSMS/Checker.php deleted file mode 100644 index 0881d2e..0000000 --- a/groups/FrontlineSMS/Checker.php +++ /dev/null @@ -1,20 +0,0 @@ -<?php -/** - * Implements MessageChecker for FrontlineSMS. - * - * @file - * @author Niklas Laxström - * @copyright Copyright © 2010, Niklas Laxström - * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later - */ - -/** - * Message checks for FrontlineSMS - * - * @ingroup MessageCheckers - */ -class FrontlineSMSMessageChecker extends MessageChecker { - protected function FrontlineSMSVariablesCheck( $messages, $code, &$warnings ) { - return parent::parameterCheck( $messages, $code, $warnings, '/{[0-9]}/' ); - } -} diff --git a/groups/FrontlineSMS/FrontlineSMS.yaml b/groups/FrontlineSMS/FrontlineSMS.yaml deleted file mode 100644 index bfa0c0a..0000000 --- a/groups/FrontlineSMS/FrontlineSMS.yaml +++ /dev/null @@ -1,42 +0,0 @@ ---- -BASIC: - id: out-frontlinesms - label: FrontlineSMS - icon: wiki://FrontlineSMS-logo.png - description: "{{int:translate-group-desc-frontlinesms}}" - namespace: NS_FRONTLINESMS - class: FileBasedMessageGroup - -FILES: - class: JavaFFS - sourcePattern: %GROUPROOT%/frontlinesms/plugins/frontlinesms-core/grails-app/i18n/messages_%CODE%.properties - definitionFile: %GROUPROOT%/frontlinesms/plugins/frontlinesms-core/grails-app/i18n/messages.properties - targetPattern: frontlinesms/plugins/frontlinesms-core/grails-app/i18n/messages_%CODE%.properties - codeMap: - cs: cs_CZ - es: es_ES - it: it_IT - nb: nb_NO - pl: pl_PL - sv: sv_SE - nl-be: nl_BE - en-gb: en_GB - en-us: en_US - pt: pt_PT - pt-br: pt_BR - zh-hans: zh_CN - zh-hant: zh_TW - -CHECKER: - class: FrontlineSMSMessageChecker - checks: - - FrontlineSMSVariablesCheck - -AUTOLOAD: - FrontlineSMSMessageChecker: Checker.php - -TAGS: - optional: - - default.date.format - ignored: - - default.number.format -- To view, visit https://gerrit.wikimedia.org/r/88027 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I99d653ac42834d75633b08d054f259bdea9b5014 Gerrit-PatchSet: 1 Gerrit-Project: translatewiki Gerrit-Branch: master Gerrit-Owner: Siebrand <siebr...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits