Skip to content
This repository was archived by the owner on Dec 15, 2020. It is now read-only.

Commit 040ed6d

Browse files
author
Daniel Kinzler
committed
Merge pull request #17 from wmde/renameTextTypes
Make DataType consistent with DataValue's type for texts
2 parents fced7ce + 6942541 commit 040ed6d

File tree

5 files changed

+13
-8
lines changed

5 files changed

+13
-8
lines changed

DataTypes.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@
3131
'quantity' => array(
3232
'datavalue' => 'quantity',
3333
),
34-
'monolingual-text' => array(
34+
'monolingualtext' => array(
3535
'datavalue' => 'monolingualtext',
3636
),
37-
'multilingual-text' => array(
37+
'multilingualtext' => array(
3838
'datavalue' => 'multilingualtext',
3939
),
4040
'time' => array(

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,11 @@ for the [Wikidata project](https://wikidata.org/).
5151

5252
## Release notes
5353

54+
### 0.3 (2014-05-21)
55+
56+
* Rename `monolingual-text` to `monolingualtext`
57+
* Rename `multilingual-text` to `multilingualtext`
58+
5459
### 0.2.1 (2014-05-06)
5560

5661
* migrate i18n to JSON

i18n/en.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
"datatypes-desc": "Collection of data type definitions",
88
"datatypes-type-string": "String",
99
"datatypes-type-quantity": "Quantity",
10-
"datatypes-type-monolingual-text": "Monolingual text",
11-
"datatypes-type-multilingual-text": "Multilingual text",
10+
"datatypes-type-monolingualtext": "Monolingual text",
11+
"datatypes-type-multilingualtext": "Multilingual text",
1212
"datatypes-type-number": "Number",
1313
"datatypes-type-mediawiki-title": "MediaWiki title",
1414
"datatypes-type-unknown": "Unspecified",

i18n/qqq.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
"datatypes-desc": "{{desc|name=Data Types|url=http://www.mediawiki.org/wiki/Extension:DataTypes}}",
88
"datatypes-type-string": "The name of a data type.\n{{Identical|String}}",
99
"datatypes-type-quantity": "The name of a data type for quantities (proper name, capitalised in English; first letter capitalised anyway in this message and relatives).",
10-
"datatypes-type-monolingual-text": "The name of a data type.\n{{Identical|Monolingual text}}",
11-
"datatypes-type-multilingual-text": "The name of a data type.\n{{Identical|Multilingual text}}",
10+
"datatypes-type-monolingualtext": "The name of a data type.\n{{Identical|Monolingual text}}",
11+
"datatypes-type-multilingualtext": "The name of a data type.\n{{Identical|Multilingual text}}",
1212
"datatypes-type-number": "The name of a data type.\n{{Identical|Number}}",
1313
"datatypes-type-mediawiki-title": "The name of a data type",
1414
"datatypes-type-unknown": "The name of a data type",

tests/Phpunit/DataTypeFactoryTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ protected function getInstance() {
3636
'quantity' => array(
3737
'datavalue' => 'quantity',
3838
),
39-
'monolingual-text' => array(
39+
'monolingualtext' => array(
4040
'datavalue' => 'monolingualtext',
4141
),
42-
'multilingual-text' => array(
42+
'multilingualtext' => array(
4343
'datavalue' => 'multilingualtext',
4444
),
4545
'time' => array(

0 commit comments

Comments
 (0)