From 4798f1e626878a7c5d658cc4a4af08d759e80a39 Mon Sep 17 00:00:00 2001 From: Federico Leva Date: Tue, 17 Jan 2017 20:35:02 +0100 Subject: [PATCH] Reciprocal fallback between ca (Catalan) and oc (Occitan) MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit The two languages are extremely close, to the point linguists have considered one a variant of the other till not too long ago. The two linguistic communities have strong ties according to Donneky, 2011: http://hdl.handle.net/10443/1302 . Speakers should have no difficulty understanding each other. A translator has compared a sample of translations in the two languages and found them to be largely similar and compatible. Use European date formats; no $namespaceGenderAliases for now in oc. Discussed at: https://translatewiki.net/wiki/Thread:Portal_talk:Ca/Joining_forces_with_Occitan The proposal has been notified on all Catalan Wikimedia projects, see * https://ca.wikipedia.org/wiki/Tema:Tjc8xr0z769mskl5 * https://ca.wiktionary.org/w/index.php?diff=903923 etc. has met a very positive response. This change is not incompatible with the oc→fr fallback (I02fc9af984). Change-Id: Ibbad7a830bc010654db8ad5679d6a0f45357d382 --- languages/messages/MessagesCa.php | 10 ++++++++++ languages/messages/MessagesOc.php | 4 ++++ 2 files changed, 14 insertions(+) diff --git a/languages/messages/MessagesCa.php b/languages/messages/MessagesCa.php index dd5a3af119..cb26337ecd 100644 --- a/languages/messages/MessagesCa.php +++ b/languages/messages/MessagesCa.php @@ -8,6 +8,8 @@ * */ +$fallback = 'oc'; + $namespaceNames = [ NS_MEDIA => 'Media', NS_SPECIAL => 'Especial', @@ -158,6 +160,14 @@ $dateFormats = [ 'ymd both' => 'H:i, Y M j', ]; +$datePreferences = [ + 'default', + 'dmy', + 'ymd', + 'ISO 8601', +]; +$defaultDateFormat = 'dmy'; + $bookstoreList = [ 'Catàleg Col·lectiu de les Universitats de Catalunya' => 'http://ccuc.cbuc.es/cgi-bin/vtls.web.gateway?searchtype=control+numcard&searcharg=$1', 'Totselsllibres.com' => 'http://www.totselsllibres.com/tel/publi/busquedaAvanzadaLibros.do?ISBN=$1', diff --git a/languages/messages/MessagesOc.php b/languages/messages/MessagesOc.php index 1de22bde08..1d9e0e5120 100644 --- a/languages/messages/MessagesOc.php +++ b/languages/messages/MessagesOc.php @@ -19,6 +19,8 @@ * @author לערי ריינהארט */ +$fallback = 'ca'; + $bookstoreList = [ 'Amazon.fr' => 'https://www.amazon.fr/exec/obidos/ISBN=$1' ]; @@ -57,6 +59,8 @@ $namespaceAliases = [ 'Discussion_Imatge' => NS_FILE_TALK, ]; +$namespaceGenderAliases = []; + $specialPageAliases = [ 'Allmessages' => [ 'Messatge_sistèma', 'Messatge_del_sistèma' ], 'Allpages' => [ 'Totas_las_paginas' ], -- 2.20.1