Compare commits

...

132 Commits

Author SHA1 Message Date
Pål Jørgensen f203ba9100
Merge pull request #72 from DrMuratAltun/patch-1
Update tr.json
2021-11-29 12:59:15 +01:00
Paal Joergensen 0049b3f440 Bump 2021-11-08 11:24:14 +01:00
Murat ALTUN dba19815dd
Update tr.json 2021-09-29 21:49:10 +03:00
Pål Jørgensen 464f4f209c
Merge pull request #71 from translate-h5p/weblate-h5p-h5p-memory-game
Translations update from Weblate
2021-09-29 08:14:06 +02:00
Murat ALTUN 24ae3a9309
Update tr.json 2021-09-26 14:55:13 +03:00
Murat ALTUN da3e156c27
Update tr.json 2021-09-26 13:47:38 +03:00
Weblate f564f9fdd6 Sebastian Rettig <serettig@posteo.de> updated Romanian translation using Weblate @ translate-h5p.tk.
Translate-URL: https://translate-h5p.tk/weblate/projects/h5p/h5p-memory-game/ro/

Co-authored-by: Sebastian Rettig <serettig@posteo.de>
Co-authored-by: Weblate <noreply@weblate.org>
2021-08-17 09:49:20 +00:00
Weblate 8e17f296e1 Nadav Kavalerchik <nadavkav@gmail.com> updated Hebrew translation using Weblate @ translate-h5p.tk.
Translate-URL: https://translate-h5p.tk/weblate/projects/h5p/h5p-memory-game/he/

Co-authored-by: Nadav Kavalerchik <nadavkav@gmail.com>
2021-08-17 09:49:20 +00:00
Pål Jørgensen 6d2a4ba4c6
Merge pull request #70 from glisapn90/patch-1
Update sr.json
2021-07-05 14:34:15 +02:00
glisapn90 f55bbfa80d
Update sr.json 2021-06-25 16:42:43 +02:00
Pål Jørgensen d623b91afd
Merge pull request #69 from translate-h5p/weblate-h5p-h5p-memory-game
Translations update from Weblate
2021-04-25 19:31:35 +02:00
Weblate 32a7286b8d Diputació de Barcelona <sistemas@snackson.com> updated Catalan translation using Weblate @ translate-h5p.tk.
Translate-URL: https://translate-h5p.tk/weblate/projects/h5p/h5p-memory-game/ca/

Co-authored-by: Diputació de Barcelona <sistemas@snackson.com>
2021-04-25 17:22:19 +00:00
Pål Jørgensen 902a0c7acf
Merge pull request #68 from translate-h5p/weblate-h5p-h5p-memory-game
Translations update from Weblate
2021-04-16 10:14:25 +02:00
Weblate 3c328682ee German Valero <gvalero@unam.mx> updated Spanish (Mexico) translation using Weblate @ translate-h5p.tk.
Translate-URL: https://translate-h5p.tk/weblate/projects/h5p/h5p-memory-game/es_MX/

German Valero <gvalero@unam.mx> updated Spanish (Mexico) translation using Weblate @ translate-h5p.tk.

 Translate-URL: https://translate-h5p.tk/weblate/projects/h5p/h5p-memory-game/es_MX/

German Valero <gvalero@unam.mx> updated Spanish (Mexico) translation using Weblate @ translate-h5p.tk.

 Translate-URL: https://translate-h5p.tk/weblate/projects/h5p/h5p-memory-game/es_MX/

Co-authored-by: German Valero <gvalero@unam.mx>
Co-authored-by: Weblate <noreply@weblate.org>
2021-04-16 05:52:22 +00:00
Weblate 037645a9f0 German Valero <gvalero@unam.mx> updated Spanish translation using Weblate @ translate-h5p.tk.
Translate-URL: https://translate-h5p.tk/weblate/projects/h5p/h5p-memory-game/es/

German Valero <gvalero@unam.mx> updated Spanish translation using Weblate @ translate-h5p.tk.

 Translate-URL: https://translate-h5p.tk/weblate/projects/h5p/h5p-memory-game/es/

Co-authored-by: German Valero <gvalero@unam.mx>
Co-authored-by: Weblate <noreply@weblate.org>
2021-04-16 05:52:22 +00:00
Weblate d043122e38 orr bar joseph <orr.bar-joseph@weizmann.ac.il> updated Hebrew translation using Weblate @ translate-h5p.tk.
Translate-URL: https://translate-h5p.tk/weblate/projects/h5p/h5p-memory-game/he/

orr bar joseph <orr.bar-joseph@weizmann.ac.il> updated Hebrew translation using Weblate @ translate-h5p.tk.

 Translate-URL: https://translate-h5p.tk/weblate/projects/h5p/h5p-memory-game/he/

orr bar joseph <orr.bar-joseph@weizmann.ac.il> updated Hebrew translation using Weblate @ translate-h5p.tk.

 Translate-URL: https://translate-h5p.tk/weblate/projects/h5p/h5p-memory-game/he/

Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: orr bar joseph <orr.bar-joseph@weizmann.ac.il>
2021-04-16 05:52:22 +00:00
Weblate 247164af8c Sebastian Rettig <serettig@posteo.de> updated Arabic translation using Weblate @ translate-h5p.tk.
Translate-URL: https://translate-h5p.tk/weblate/projects/h5p/h5p-memory-game/ar/

Co-authored-by: Sebastian Rettig <serettig@posteo.de>
2021-04-16 05:52:22 +00:00
Weblate c501c7c6ab Victor Correia <victorelbiecorreia@gmail.com> updated Afrikaans translation using Weblate @ translate-h5p.tk.
Translate-URL: https://translate-h5p.tk/weblate/projects/h5p/h5p-memory-game/af/

Victor Correia <victorelbiecorreia@gmail.com> updated Afrikaans translation using Weblate @ translate-h5p.tk.

 Translate-URL: https://translate-h5p.tk/weblate/projects/h5p/h5p-memory-game/af/

Co-authored-by: Victor Correia <victorelbiecorreia@gmail.com>
Co-authored-by: Weblate <noreply@weblate.org>
2021-04-16 05:52:22 +00:00
Frode Petterson 1eb269fa58
Merge pull request #65 from otacke/fix-css-url
Add quotes to CSS URL
2021-04-08 11:22:23 +02:00
Pål Jørgensen 364b8d01da
Merge pull request #67 from antonioaneiros/master
Add files via upload
2021-01-25 09:27:45 +01:00
Antonio Aneiros a3f0dbdcac
Add files via upload
Adding Galician (gl) translation
2021-01-22 19:59:42 +01:00
Paal Joergensen 791c9dbed1 Merge branch 'stable' 2021-01-20 13:29:44 +01:00
Paal Joergensen 81d533d809 Merge branch 'release' into stable 2021-01-20 13:14:37 +01:00
Paal Joergensen 1b74abc01a Bump patch (preparing release) 2021-01-20 10:33:52 +01:00
Paal Joergensen a0b8dc0ef7 Merge branch 'master' into release 2021-01-20 09:59:02 +01:00
Pål Jørgensen fda7a125b2
Merge pull request #66 from translate-h5p/weblate-h5p-h5p-memory-game
Translations update from Weblate
2021-01-10 21:11:50 +01:00
Weblate fa032c071c Rickard Skiöld <rickard.skiold@xtractor.se> updated Swedish translation using Weblate @ translate-h5p.tk.
Translate-URL: https://translate-h5p.tk/weblate/projects/h5p/h5p-memory-game/sv/

Rickard Skiöld <rickard.skiold@xtractor.se> updated Swedish translation using Weblate @ translate-h5p.tk.

 Translate-URL: https://translate-h5p.tk/weblate/projects/h5p/h5p-memory-game/sv/
2021-01-08 21:00:44 +00:00
Weblate 707ee5d63c Nadav Kavalerchik <nadavkav@gmail.com> updated Hebrew translation using Weblate @ translate-h5p.tk.
Translate-URL: https://translate-h5p.tk/weblate/projects/h5p/h5p-memory-game/he/

orr bar joseph <orr.bar-joseph@weizmann.ac.il> updated Hebrew translation using Weblate @ translate-h5p.tk.

 Translate-URL: https://translate-h5p.tk/weblate/projects/h5p/h5p-memory-game/he/
2021-01-08 21:00:44 +00:00
Oliver Tacke 628909b162 Fix css url missing quotes 2021-01-07 15:26:57 +01:00
Pål Jørgensen 4b7ae4908b
Merge pull request #64 from sdif-diba/master
Added Catalan translation: ca.json
2020-12-17 11:36:12 +01:00
sdif-diba d8996d1a7b Added Catalan translation: ca.json 2020-12-11 16:37:41 +01:00
Pål Jørgensen 77fcccd33d
Merge pull request #63 from totoromaum/patch-1
Update ko.json
2020-11-02 12:57:28 +01:00
Jeonghun Oh 29a052ad23
Update ko.json
This is a translation into Korean
2020-11-01 19:54:48 +09:00
Pål Jørgensen 061ee0be19
Merge pull request #61 from otacke/HFP-3085-Fix-empty-cards
HFP-3085 Fix empty cards
2020-09-16 09:43:45 +02:00
Oliver Tacke 0f54ca3051 HFP-3085 Fix empty cards 2020-09-06 16:44:56 +02:00
Pål Jørgensen 4738f9722f
Merge pull request #60 from sokunthearithmakara/patch-1
Create km.json
2020-07-06 09:57:59 +02:00
sokunthearithmakara 27c72f0f85
Create km.json
Khmer
2020-07-03 22:07:57 +07:00
Pål Jørgensen eb6bf7f67b
Merge pull request #59 from viragom/patch-1
Update nl.json
2020-07-03 10:50:00 +02:00
viragom b829418729
Update nl.json 2020-07-03 10:40:25 +02:00
Pål Jørgensen 1b24fe1bdc
Merge pull request #58 from Idamare/patch-1
Update nn.json
2020-06-16 11:52:19 +02:00
Idamare e44d57ce56
Update nn.json 2020-06-15 12:24:01 +02:00
Paal Joergensen bc4fea40ea Merge branch 'stable' 2020-05-11 08:25:26 +02:00
Paal Joergensen c29dac1a43 Merge branch 'release' into stable 2020-05-11 08:18:58 +02:00
Paal Joergensen 0f09ca5c66 Prepare release - increase patch 2020-05-11 07:31:43 +02:00
Paal Joergensen 8ffc865115 Merge branch 'master' into release 2020-05-11 07:30:57 +02:00
Pål Jørgensen 102253f5da
Merge pull request #57 from bhavel/patch-1
Update cs.json
2020-04-27 14:55:08 +02:00
Bohumil Havel 94353c5c8f
Update cs.json
Translated to cs
2020-04-22 16:12:09 +02:00
Pål Jørgensen d04e65088f
Merge pull request #56 from sabahuddin/patch-2
Update bs.json
2020-04-22 10:58:59 +02:00
Sabahuddin 1ab9e318b1
Update bs.json 2020-04-21 21:45:44 +02:00
Pål Jørgensen 71791f5c7c
Merge pull request #55 from germanvaleroelizondo/master
Add missing es and es_mx translations
2020-04-14 10:52:03 +02:00
Germán Valero efecfa5584
Add missing es_mx translation 2020-04-12 12:49:53 -05:00
Germán Valero b6c8fe1490
Add missing es translation 2020-04-12 12:49:25 -05:00
Paal Joergensen 7f564f20fd Fix invalid language file 2020-02-24 09:41:28 +01:00
Pål Jørgensen cdd232b0f3 Merge pull request #54 from ceibg/master
Added Bulgarian Translation
2020-02-10 10:48:01 +01:00
Pål Jørgensen 17c429c8c1
Merge pull request #53 from translate-h5p/weblate-h5p-h5p-memory-game
Update from Weblate
2020-01-02 09:16:41 +01:00
Weblate 47b4c36774 Gerardo Fallani <g.fallani@gmail.com> updated Italian translation using Weblate @ translate-h5p.tk.
Translate-URL: https://translate-h5p.tk/weblate/projects/h5p/h5p-memory-game/it/

Gerardo Fallani <g.fallani@gmail.com> updated Italian translation using Weblate @ translate-h5p.tk.

 Translate-URL: https://deutsche-h5p-uebersetzungscommunity.tk/weblate/projects/h5p/h5p-memory-game/it/

Gerardo Fallani <g.fallani@gmail.com> updated Italian translation using Weblate @ Deutsche H5P-Übersetzungscommunity.

 Translate-URL: http://deutsche-h5p-uebersetzungscommunity.tk/projects/h5p/h5p-memory-game/it/
2019-12-22 00:43:08 +00:00
Weblate 9683babe69 Nadav Kavalerchik <nadavkav@gmail.com> updated Hebrew translation using Weblate @ Deutsche H5P-Übersetzungscommunity.
Translate-URL: http://deutsche-h5p-uebersetzungscommunity.tk/projects/h5p/h5p-memory-game/he/
2019-12-22 00:43:08 +00:00
Pål Jørgensen 16f6a30626
Merge pull request #52 from e-me/patch-2
Update el.json
2019-11-07 12:32:23 +01:00
e-me Digital Educational Platform 0bae7f1a1d
Update el.json 2019-11-07 12:37:29 +02:00
Paal Joergensen b2bdc3b6ed Merge branch 'stable' 2019-11-05 12:54:32 +01:00
Paal Joergensen 0c019fe73f Merge branch 'release' into stable 2019-11-05 12:51:56 +01:00
Paal Joergensen bdfd63e480 Bump patch version 2019-11-05 10:41:06 +01:00
Paal Joergensen 5da1d3c462 Merge branch 'master' into release 2019-11-05 10:37:09 +01:00
Paal Joergensen f1797a078f Remove untranslatable string 2019-11-04 09:13:41 +01:00
Paal Joergensen bc5fd0481f Merge branch 'release' 2019-10-15 12:21:44 +02:00
Paal Joergensen 087f466a70 Merge branch 'stable' into release 2019-10-15 11:59:02 +02:00
Paal Joergensen b43e017c8f Add Sami languages (sma, sme & smj) 2019-10-14 13:44:42 +02:00
Pål Jørgensen 46e476fc10
Merge pull request #51 from yurashrol/patch-1
Create uk.json
2019-09-23 10:39:17 +02:00
yurashrol 73f034eca0
Create uk.json 2019-09-21 19:06:02 +03:00
Pål Jørgensen 2ee4fe2b77
Merge pull request #50 from miropuhek/patch-1
Create sl.json
2019-08-19 13:18:49 +02:00
Puhek cdf5235029
Create sl.json
Added slovenian translation
2019-08-19 12:40:44 +02:00
Pål Jørgensen 46ce58f9ed
Merge pull request #49 from germanvaleroelizondo/master
Spanish (complete) and Mexican Spanish translations
2019-08-16 14:45:04 +02:00
Pål Jørgensen 6c1f358ef9
Merge pull request #48 from e-me/patch-1
Update el.json
2019-08-16 12:12:23 +02:00
Germán Valero 527ddb2c91
Add Mexican Spanish translation 2019-07-31 20:11:39 -05:00
Germán Valero ff123ad877
Complete Spanish translation 2019-07-31 20:10:56 -05:00
e-me Digital Educational Platform e0fdbb7e37
Update el.json 2019-07-24 17:03:22 +03:00
Paal Joergensen e5c2f1ed21 Merge branch 'stable' 2019-07-15 10:38:35 +02:00
Paal Joergensen 6915f25372 Merge branch 'release' into stable 2019-07-15 10:34:32 +02:00
Paal Joergensen 30ce3e4e7c Bump patch because of language updates 2019-07-15 09:29:51 +02:00
Paal Joergensen 3be4c4960a Merge branch 'master' into release 2019-07-15 09:22:48 +02:00
Pål Jørgensen 5cf4e78e7e
Merge pull request #47 from mediamaisteri/master
finnish translation
2019-06-13 11:11:38 +02:00
Erkki Virtanen 6dbde945a0
Update fi.json 2019-06-12 13:17:13 +03:00
Erkki Virtanen e37bdaabe8
Merge pull request #1 from h5p/master
f
2019-06-12 13:13:14 +03:00
CEI 17f576d8fd
Updated Bulgarian Translation 2019-05-29 12:58:05 +03:00
CEI d9073529d4
Update bg.json
Updated Bulgarian Translation
2019-05-28 18:02:14 +03:00
CEI 70f58807f4 Added Bulgarian translation 2019-04-25 11:47:31 +03:00
Pål Jørgensen f315e810ac
Merge pull request #46 from maxtetdev/patch-1
Update ru.json
2019-04-24 09:56:53 +02:00
Pål Jørgensen bed4eb969d
Merge pull request #45 from deutsche-h5p-uebersetzungscommunity/weblate-h5p-h5p-memory-game
Update from Weblate
2019-04-24 09:56:43 +02:00
maxtetdev 8fe9642726
Update ru.json 2019-04-23 10:06:34 +03:00
Weblate 98afe4d830 Sebastian Rettig <serettig@posteo.de> updated German translation using Weblate @ Deutsche H5P-Übersetzungscommunity.
Translate-URL: http://deutsche-h5p-uebersetzungscommunity.tk/projects/h5p/h5p-memory-game/de/

Sebastian Rettig <serettig@posteo.de> updated German translation using Weblate @ Deutsche H5P-Übersetzungscommunity.

 Translate-URL: http://deutsche-h5p-uebersetzungscommunity.tk/projects/h5p/h5p-memory-game/de/
2019-04-22 19:25:44 +00:00
Pål Jørgensen 0cab7ec862
Merge pull request #44 from WTurunen/master
Add simplified and traditional chinese
2019-04-17 12:43:56 +02:00
Paal Joergensen 4927aa18f2 Merge branch 'stable' 2019-04-17 10:18:39 +02:00
Paal Joergensen fefb6d1c45 Merge branch 'release' into stable 2019-04-17 10:14:09 +02:00
Waltteri Turunen 4d2abc1839
Rename zh.json to zh-hant.json 2019-04-10 09:03:26 +03:00
Waltteri Turunen 3a551aa21f
Create zh-hans.json 2019-04-10 09:03:14 +03:00
Paal Joergensen 0cae222048 Bump (prepare language release) 2019-04-09 15:00:47 +02:00
Paal Joergensen 13eed97d3c Merge branch 'master' into release 2019-04-09 14:49:12 +02:00
Pål Jørgensen 758c38c2c8
Merge pull request #43 from johanLTPT/master
Added estonian translation
2019-04-09 13:21:26 +02:00
JohanLTPT 3c361e8d6d Added estonian translation 2019-04-08 19:58:29 +03:00
Paal Joergensen db6a3c33da Bump - prepare release 2019-01-09 13:01:08 +01:00
Frode Petterson 5c63b1f7ed Merge branch 'master' of github.com:h5p/h5p-memory-game 2019-01-09 10:14:33 +01:00
Frode Petterson 7872731e34 Rename 'extraTabs' to 'widgetExtensions' in semantics 2019-01-09 10:13:14 +01:00
Paal Joergensen 2f44a88c45 Update language/pt-br.json 2019-01-04 14:58:46 +01:00
Paal Joergensen 19b5108dac Merge branch 'master' of github.com:h5p/h5p-memory-game 2019-01-02 15:24:16 +01:00
Frode Petterson e5ce754c92 HFP-1145 Fix always stop playing on play 2019-01-02 11:47:35 +01:00
Frode Petterson ca4d37c85c HFP-1145 Stop audio when turning another card 2019-01-02 11:40:27 +01:00
Frode Petterson e0d639c406 HFP-1145 Add support for Audio Recorder in Editor 2018-12-20 16:19:44 +01:00
Frode Petterson 3519a3c158 Merge branch 'release' 2018-12-18 14:17:42 +01:00
Pål Jørgensen 89b63e6546
Merge pull request #40 from izendegi/patch-2
Update basque translation
2018-12-10 09:34:19 +01:00
Iñigo Zendegi 977ce375fc
Update basque translation 2018-12-08 15:40:08 +01:00
Oliver Tacke 77d07a09a5 HFP-2398 Add aria-label to popup close button 2018-11-26 12:48:17 +01:00
Paal Joergensen 22b5f4e0a4 Merge branch 'stable' 2018-11-02 15:31:11 +01:00
Paal Joergensen 77d6e10290 Merge branch 'release' into stable 2018-11-02 15:13:21 +01:00
Frode Petterson 6633c32b2c Merge branch 'master' into release 2018-11-02 14:39:51 +01:00
Frode Petterson 54732eab2d Merge branch 'with-audio' 2018-11-02 14:39:18 +01:00
Frode Petterson 27680da092 Update translations 2018-11-02 14:38:25 +01:00
Paal Joergensen 7ca312bc5a Bump patch version 2018-11-02 08:49:56 +01:00
Pål Jørgensen a874abe951
Merge pull request #39 from izendegi/patch-1
Create eu.json
2018-10-29 14:40:28 +01:00
Iñigo Zendegi cb9b195966
Create eu.json
Translation to basque language by Librezale taldea. https://librezale.eus/
2018-10-27 17:10:39 +02:00
Paal Joergensen ccc19f5784 Merge branch 'master' into release 2018-10-22 13:54:17 +02:00
Paal Joergensen c743b59e53 Merge branch 'release' 2018-09-19 10:36:32 +02:00
Paal Joergensen 9b8880392c Merge branch 'master' into release 2018-09-19 10:07:48 +02:00
Paal Joergensen ff6033b355 Merge branch 'release' 2018-09-11 14:55:33 +02:00
Pål Jørgensen 044ca54954
Merge pull request #38 from jnavroski/patch-2
Create pt-br.json
2018-09-06 13:44:41 +02:00
Paal Joergensen 3a6f7cd948 Merge branch 'master' into release 2018-09-06 13:20:32 +02:00
Paal Joergensen 30b4d65f64 Merge branch 'release' 2018-09-04 13:45:27 +02:00
Paal Joergensen 158698d135 Bump patch 2018-09-03 15:00:54 +02:00
Paal Joergensen e3e0465619 Merge branch 'master' into release 2018-09-03 14:43:38 +02:00
Juliano Navroski Junior c609bdbead
Create pt-br.json
Added brazilian portuguese translation
2018-08-23 08:52:25 -03:00
Frode Petterson 191326cf10 Initial audio version 2018-08-23 01:44:41 +02:00
Pål Jørgensen af920a3d2d
Merge pull request #37 from jnavroski/patch-1
Update pt.json
2018-08-21 10:03:12 +02:00
Juliano Navroski Junior 1b9f2dc61b
Update pt.json 2018-08-09 15:01:38 -03:00
49 changed files with 2554 additions and 743 deletions

107
card.js
View File

@ -12,30 +12,73 @@
* @param {string} [description]
* @param {Object} [styles]
*/
MemoryGame.Card = function (image, id, alt, l10n, description, styles) {
MemoryGame.Card = function (image, id, alt, l10n, description, styles, audio) {
/** @alias H5P.MemoryGame.Card# */
var self = this;
// Initialize event inheritance
EventDispatcher.call(self);
var path = H5P.getPath(image.path, id);
var width, height, $card, $wrapper, removedState, flippedState;
var path, width, height, $card, $wrapper, removedState, flippedState, audioPlayer;
alt = alt || 'Missing description'; // Default for old games
if (image.width !== undefined && image.height !== undefined) {
if (image.width > image.height) {
width = '100%';
height = 'auto';
if (image && image.path) {
path = H5P.getPath(image.path, id);
if (image.width !== undefined && image.height !== undefined) {
if (image.width > image.height) {
width = '100%';
height = 'auto';
}
else {
height = '100%';
width = 'auto';
}
}
else {
height = '100%';
width = 'auto';
width = height = '100%';
}
}
else {
width = height = '100%';
if (audio) {
// Check if browser supports audio.
audioPlayer = document.createElement('audio');
if (audioPlayer.canPlayType !== undefined) {
// Add supported source files.
for (var i = 0; i < audio.length; i++) {
if (audioPlayer.canPlayType(audio[i].mime)) {
var source = document.createElement('source');
source.src = H5P.getPath(audio[i].path, id);
source.type = audio[i].mime;
audioPlayer.appendChild(source);
}
}
}
if (!audioPlayer.children.length) {
audioPlayer = null; // Not supported
}
else {
audioPlayer.controls = false;
audioPlayer.preload = 'auto';
var handlePlaying = function () {
if ($card) {
$card.addClass('h5p-memory-audio-playing');
self.trigger('audioplay');
}
};
var handleStopping = function () {
if ($card) {
$card.removeClass('h5p-memory-audio-playing');
self.trigger('audiostop');
}
};
audioPlayer.addEventListener('play', handlePlaying);
audioPlayer.addEventListener('ended', handleStopping);
audioPlayer.addEventListener('pause', handleStopping);
}
}
/**
@ -77,12 +120,17 @@
$card.addClass('h5p-flipped');
self.trigger('flip');
flippedState = true;
if (audioPlayer) {
audioPlayer.play();
}
};
/**
* Flip card back.
*/
self.flipBack = function () {
self.stopAudio();
self.updateLabel(null, null, true); // Reset card label
$card.removeClass('h5p-flipped');
flippedState = false;
@ -100,6 +148,7 @@
* Reset card to natural state
*/
self.reset = function () {
self.stopAudio();
self.updateLabel(null, null, true); // Reset card label
flippedState = false;
removedState = false;
@ -133,7 +182,7 @@
$wrapper = $('<li class="h5p-memory-wrap" tabindex="-1" role="button"><div class="h5p-memory-card">' +
'<div class="h5p-front"' + (styles && styles.front ? styles.front : '') + '>' + (styles && styles.backImage ? '' : '<span></span>') + '</div>' +
'<div class="h5p-back"' + (styles && styles.back ? styles.back : '') + '>' +
'<img src="' + path + '" alt="' + alt + '" style="width:' + width + ';height:' + height + '"/>' +
(path ? '<img src="' + path + '" alt="' + alt + '" style="width:' + width + ';height:' + height + '"/>' + (audioPlayer ? '<div class="h5p-memory-audio-button"></div>' : '') : '<i class="h5p-memory-audio-instead-of-image">') +
'</div>' +
'</div></li>')
.appendTo($container)
@ -176,6 +225,18 @@
self.flip();
})
.end();
if (audioPlayer) {
$card.children('.h5p-back')
.click(function () {
if ($card.hasClass('h5p-memory-audio-playing')) {
self.stopAudio();
}
else {
audioPlayer.play();
}
})
}
};
/**
@ -221,6 +282,16 @@
self.isRemoved = function () {
return removedState;
};
/**
* Stop any audio track that might be playing.
*/
self.stopAudio = function () {
if (audioPlayer) {
audioPlayer.pause();
audioPlayer.currentTime = 0;
}
};
};
// Extends the event dispatcher
@ -236,8 +307,9 @@
*/
MemoryGame.Card.isValid = function (params) {
return (params !== undefined &&
params.image !== undefined &&
params.image.path !== undefined);
(params.image !== undefined &&
params.image.path !== undefined) ||
params.audio);
};
/**
@ -249,8 +321,9 @@
*/
MemoryGame.Card.hasTwoImages = function (params) {
return (params !== undefined &&
params.match !== undefined &&
params.match.path !== undefined);
(params.match !== undefined &&
params.match.path !== undefined) ||
params.matchAudio);
};
/**
@ -281,7 +354,7 @@
// Add back image for card
if (backImage) {
var backgroundImage = 'background-image:url(' + backImage + ')';
var backgroundImage = "background-image:url('" + backImage + "')";
styles.front += backgroundImage;
styles.back += backgroundImage;

View File

@ -18,6 +18,10 @@
"label": "Alternative text for Image",
"description": "Describe what can be seen in the photo. The text is read by text-to-speech tools needed by visually impaired users."
},
{
"label": "Audio Track",
"description": "An optional sound that plays when the card is turned."
},
{
"label": "Matching Image",
"description": "An optional image to match against instead of using two cards with the same image."
@ -26,6 +30,10 @@
"label": "Alternative text for Matching Image",
"description": "Describe what can be seen in the photo. The text is read by text-to-speech tools needed by visually impaired users."
},
{
"label": "Matching Audio Track",
"description": "An optional sound that plays when the second card is turned."
},
{
"label": "Description",
"description": "An optional short text that will pop up once the two matching cards are found."
@ -56,8 +64,7 @@
"fields": [
{
"label": "Theme Color",
"description": "Choose a color to create a theme for your card game.",
"default": "#909090"
"description": "Choose a color to create a theme for your card game."
},
{
"label": "Card Back",
@ -111,4 +118,4 @@
]
}
]
}
}

View File

@ -3,112 +3,119 @@
{
"widgets": [
{
"label": "Default"
"label": "Verstek"
}
],
"label": "Cards",
"entity": "card",
"label": "Kaarte",
"entity": "kaart",
"field": {
"label": "Card",
"label": "Kaart",
"fields": [
{
"label": "Image"
"label": "Beeld"
},
{
"label": "Alternative text for Image",
"description": "Describe what can be seen in the photo. The text is read by text-to-speech tools needed by visually impaired users."
"label": "Alternatiewe teks vir prent",
"description": "Beskryf wat jy in die foto kan sien. Die teks word gelees deur teks-na-spraak instrumente wat vir visueel beperkte gebruikers gebruik word."
},
{
"label": "Matching Image",
"description": "An optional image to match against instead of using two cards with the same image."
"label": "Klankgreep",
"description": "'n Opsionele klank wat speel wanneer die kaartjie omgedraai word."
},
{
"label": "Alternative text for Matching Image",
"description": "Describe what can be seen in the photo. The text is read by text-to-speech tools needed by visually impaired users."
"label": "Passende Prent",
"description": "'n Opsionele prent om dit daar teenoor te laat pas in stede daarvan om twee kaartjies met dieselfde prent te gebruik."
},
{
"label": "Description",
"description": "An optional short text that will pop up once the two matching cards are found."
"label": "Alternatiewe teks vir die passende prent",
"description": "Beskryf wat jy in die foto kan sien. Die teks word gelees deur teks-na-spraak instrumente wat vir visueel beperkte gebruikers gebruik word."
},
{
"label": "Passende klankgreep",
"description": "'n Opsionele klank wat speel wanneer die tweede kaartjie omgedraai word."
},
{
"label": "Beskrywing",
"description": "'n Opsionele kort teks wat opspring sodra die twee passende kaartjies gevind is."
}
]
}
},
{
"label": "Behavioural settings",
"description": "These options will let you control how the game behaves.",
"label": "Gedragsinstellings",
"description": "Hierdie opsies laat jou beheer hoe die spelletjie werk.",
"fields": [
{
"label": "Position the cards in a square",
"description": "Will try to match the number of columns and rows when laying out the cards. Afterward, the cards will be scaled to fit the container."
"label": "Plaas die kaartjies in 'n vierkant",
"description": "Sal probeer om die aantal kolomme en rye te pas wanneer jy die kaarte uitlê. Daarna sal die kaarte volgens die houer se grote aangepas word."
},
{
"label": "Number of cards to use",
"description": "Setting this to a number greater than 2 will make the game pick random cards from the list of cards."
"label": "Aantal kaartjies om te gebruik",
"description": "As jy dit op 'n getal groter as 2 stel, sal die spelletjie willekeurige kaartjies uit die kaartlys kies."
},
{
"label": "Add button for retrying when the game is over"
"label": "Voeg 'n probeer weer knoppie by wanneer die spelletjie verby is"
}
]
},
{
"label": "Look and feel",
"description": "Control the visuals of the game.",
"label": "Aansig en gevoel",
"description": "Beheer die visuele van die spelletjie.",
"fields": [
{
"label": "Theme Color",
"description": "Choose a color to create a theme for your card game.",
"default": "#909090"
"label": "Temakleur",
"description": "Kies 'n kleur om 'n tema vir jou kaartjie te skep."
},
{
"label": "Card Back",
"description": "Use a custom back for your cards."
"label": "Kaartjie agterkant",
"description": "Gebruik verstek agterkant vir jou kaartjies."
}
]
},
{
"label": "Localization",
"label": "Lokalisasie",
"fields": [
{
"label": "Card turns text",
"default": "Card turns"
"label": "Kaartjie draaiteks",
"default": "Kaartjie draai"
},
{
"label": "Time spent text",
"default": "Time spent"
"label": "Tyd bestee teks",
"default": "Tyd bestee"
},
{
"label": "Feedback text",
"default": "Good work!"
"label": "Terugvoerteks",
"default": "Goeie werk!"
},
{
"label": "Try again button text",
"default": "Try again?"
"label": "Probeer weer knoppie teks",
"default": "Probeer weer?"
},
{
"label": "Close button label",
"default": "Close"
"label": "Maak toe knoppie etiket",
"default": "Maak toe"
},
{
"label": "Game label",
"default": "Memory Game. Find the matching cards."
"label": "Spelletjie etiket",
"default": "Geheue spelletjie. Vind die passend kaartjies."
},
{
"label": "Game finished label",
"default": "All of the cards have been found."
"label": "Speletjie verby etiket",
"default": "Al die kaartjies is gevind."
},
{
"label": "Card indexing label",
"default": "Card %num:"
"label": "Kaart indeks etiket",
"default": "Kaartjie %num:"
},
{
"label": "Card unturned label",
"default": "Unturned."
"label": "Onaangeraakte kaartjie etiket",
"default": "Onaangeraak."
},
{
"label": "Card matched label",
"default": "Match found."
"label": "Kaartjie gepas etiket",
"default": "Pasmaat gevind."
}
]
}
]
}
}

View File

@ -18,6 +18,10 @@
"label": "Alternative text for Image",
"description": "Describe what can be seen in the photo. The text is read by text-to-speech tools needed by visually impaired users."
},
{
"label": "Audio Track",
"description": "An optional sound that plays when the card is turned."
},
{
"label": "Matching Image",
"description": "An optional image to match against instead of using two cards with the same image."
@ -26,6 +30,10 @@
"label": "Alternative text for Matching Image",
"description": "Describe what can be seen in the photo. The text is read by text-to-speech tools needed by visually impaired users."
},
{
"label": "Matching Audio Track",
"description": "An optional sound that plays when the second card is turned."
},
{
"label": "الوصف",
"description": "نص قصير يتم عرضه مرة واحدة علي اثنين من البطاقات متساوية"
@ -56,8 +64,7 @@
"fields": [
{
"label": "Theme Color",
"description": "Choose a color to create a theme for your card game.",
"default": "#909090"
"description": "Choose a color to create a theme for your card game."
},
{
"label": "Card Back",
@ -77,7 +84,7 @@
"default": "Time spent"
},
{
"label": "نص الملاحظات",
"label": "نص الاراء",
"default": "Good work!"
},
{
@ -111,4 +118,4 @@
]
}
]
}
}

121
language/bg.json Normal file
View File

@ -0,0 +1,121 @@
{
"semantics": [
{
"widgets": [
{
"label": "По подразбиране"
}
],
"label": "Карти",
"entity": "карта",
"field": {
"label": "Карта",
"fields": [
{
"label": "Изображение"
},
{
"label": "Алтернативен текст за изображението",
"description": "Опишете какво може да се види на снимката. Текстът се чете от инструментите за преобразуване на текст в реч, необходими на потребители с увредено зрение."
},
{
"label": "Аудиозапис",
"description": "Допълнителен звук, който се възпроизвежда при завъртане на картата."
},
{
"label": "Съответстващо изображение",
"description": "Незадължително изображение, с което да се сравнява, вместо да се използват две карти със същото изображение."
},
{
"label": "Алтернативен текст за съответстващо изображение",
"description": "Опишете какво може да се види на снимката. Текстът се чете от инструментите за преобразуване на текст в реч, необходими на потребители с увредено зрение."
},
{
"label": "Съответстващ аудио запис",
"description": "Допълнителен звук, който се възпроизвежда, когато втората карта е обърната."
},
{
"label": "Description",
"description": "Незадължителен кратък текст, който ще се появи след като бъдат намерени двете съвпадащи карти."
}
]
}
},
{
"label": "Настройки за поведение",
"description": "Тези опции ще ви позволят да контролирате поведението на играта.",
"fields": [
{
"label": "Позиционирайте картите в квадрат",
"description": "Ще бъдат съпоставени броя на колоните и редовете, когато поставяме картите. След това картите ще бъдат мащабирани, за да пасват на карето, в което се показват."
},
{
"label": "Брой на използваните карти",
"description": "Задаването на това число, по-голямо от 2, ще накара играта да избере случайни карти от списъка с карти."
},
{
"label": "Добавете бутон за повторен опит, когато играта приключи"
}
]
},
{
"label": "Изглед и усещане",
"description": "Управление на визуалните ефекти на играта.",
"fields": [
{
"label": "Цвят на темата",
"description": "Изберете цвят, за да създадете тема за вашата игра на карти."
},
{
"label": "Карта назад",
"description": "Използвайте персонализиран бутон назад за вашите карти."
}
]
},
{
"label": "Превод и локализация",
"fields": [
{
"label": "Брой обърнати карти",
"default": "Обърнати карти"
},
{
"label": "Вашето време",
"default": "Вашето време"
},
{
"label": "Обратна връзка",
"default": "Браво!"
},
{
"label": "Бутон за повторен опит",
"default": "Искаш ли да опиташ пак?"
},
{
"label": "Бутон за затваряне",
"default": "Затвори"
},
{
"label": "Етикет на Играта",
"default": "Имате ли добра памет? Намерете еднаквите карти"
},
{
"label": "Етикет за край на играта",
"default": "Всички карти са намерени"
},
{
"label": "Card indexing label",
"default": "Card %num:"
},
{
"label": "Етикет за необърната карта.",
"default": "Необърната карта."
},
{
"label": "Етикет за открито съвпадение на карти",
"default": "Имате съвпадение."
}
]
}
]
}

View File

@ -15,16 +15,24 @@
"label": "Slika"
},
{
"label": "Alternative text for Image",
"description": "Describe what can be seen in the photo. The text is read by text-to-speech tools needed by visually impaired users."
"label": "Alternativni tekst za sliku",
"description": "Opiši šta može biti viđeno na slici. Tekst se čita elektronski za vizualno neuparene korisnike."
},
{
"label": "Audio traka",
"description": "Opcionalan zvuk koji se čuje kada se okrene karta."
},
{
"label": "Ista slika",
"description": "Opcionalna slika koja se koristi umjestodvije iste slike."
"description": "Opcionalna slika koja se koristi umjesto dvije iste slike."
},
{
"label": "Alternative text for Matching Image",
"description": "Describe what can be seen in the photo. The text is read by text-to-speech tools needed by visually impaired users."
"label": "Alternativni tekst za sliku podudaranja",
"description": "Opiši šta može biti viđeno na slici. Tekst se čita elektronski za vizualno neuparene korisnike."
},
{
"label": "Zvuk podudaranja",
"description": "Opcionalan zvuk koji se čuje kada se okrene druga karta."
},
{
"label": "Opis",
@ -46,21 +54,20 @@
"description": "Setting this to a number greater than 2 will make the game pick random cards from the list of cards."
},
{
"label": "Add button for retrying when the game is over"
"label": "Dodaj dugme za ponovni pokušaj kada je igra gotova"
}
]
},
{
"label": "Look and feel",
"description": "Control the visuals of the game.",
"label": "Pogledaj i osjeti",
"description": "Kontroliraj u igri ono što vidiš.",
"fields": [
{
"label": "Theme Color",
"description": "Choose a color to create a theme for your card game.",
"default": "#909090"
"label": "Boja teme",
"description": "Choose a color to create a theme for your card game."
},
{
"label": "Card Back",
"label": "Pozadina karte",
"description": "Use a custom back for your cards."
}
]
@ -85,30 +92,30 @@
"default": "Pokušaj ponovo?"
},
{
"label": "Close button label",
"default": "Close"
"label": "Oznaka za dugme zatvori",
"default": "Zatvori"
},
{
"label": "Game label",
"default": "Memory Game. Find the matching cards."
"label": "Oznaka za igru",
"default": "Memory igra. Pronađi kartu koja se podudara."
},
{
"label": "Game finished label",
"default": "All of the cards have been found."
"label": "Oznaka za završenu igru",
"default": "Sve karte su pronađene."
},
{
"label": "Card indexing label",
"default": "Card %num:"
"label": "Oznaka za indeksiranje karata",
"default": "Karta %num:"
},
{
"label": "Card unturned label",
"default": "Unturned."
"label": "Oznaka za neokrenutu kartu",
"default": "Neokrenuta."
},
{
"label": "Card matched label",
"default": "Match found."
"label": "Oznaka za kartu podudaranja",
"default": "Pronađeno podudaranje."
}
]
}
]
}
}

View File

@ -3,112 +3,119 @@
{
"widgets": [
{
"label": "Default"
"label": "Opció predeterminada"
}
],
"label": "Cards",
"entity": "card",
"label": "Cartes",
"entity": "carta",
"field": {
"label": "Card",
"label": "Carta",
"fields": [
{
"label": "Image"
"label": "Imatge"
},
{
"label": "Alternative text for Image",
"description": "Describe what can be seen in the photo. The text is read by text-to-speech tools needed by visually impaired users."
"label": "Text alternatiu per a la imatge",
"description": "Descriu el que es pot veure a la foto. El text és llegit per les eines de text a veu que necessiten els usuaris amb deficiència visual."
},
{
"label": "Matching Image",
"description": "An optional image to match against instead of using two cards with the same image."
"label": "Pista dàudio",
"description": "So opcional que es reprodueix en girar una carta."
},
{
"label": "Alternative text for Matching Image",
"description": "Describe what can be seen in the photo. The text is read by text-to-speech tools needed by visually impaired users."
"label": "Imatge coincident",
"description": "Imatge opcional per emparellar en lloc dutilitzar dues cartes amb la mateixa imatge."
},
{
"label": "Description",
"description": "An optional short text that will pop up once the two matching cards are found."
"label": "Text alternatiu per a la imatge",
"description": "Descriu el que es pot veure a la foto. El text és llegit per les eines de text a veu que necessiten els usuaris amb deficiència visual."
},
{
"label": "Pista dàudio per a una coincidència",
"description": "So opcional que es reprodueix quan es gira la segona carta."
},
{
"label": "Descripció",
"description": "Text breu opcional que es mostrarà quan es trobin les dues cartes coincidents."
}
]
}
},
{
"label": "Behavioural settings",
"description": "These options will let you control how the game behaves.",
"label": "Opcions de comportament",
"description": "Aquestes opcions us permeten controlar com es comporta el joc.",
"fields": [
{
"label": "Position the cards in a square",
"description": "Will try to match the number of columns and rows when laying out the cards. Afterward, the cards will be scaled to fit the container."
"label": "Distribueix les cartes formant un quadrat",
"description": "Es provarà de fer coincidir el nombre de files i de columnes en disposar les cartes. Després, les cartes sajustaran al contenidor."
},
{
"label": "Number of cards to use",
"description": "Setting this to a number greater than 2 will make the game pick random cards from the list of cards."
"label": "Nombre de targetes a utilitzar",
"description": "Si configureu aquest valor amb un número més gran que 2, el joc seleccionarà les cartes aleatòriament de la llista de cartes."
},
{
"label": "Add button for retrying when the game is over"
"label": "Afegeix el botó per tornar-ho a provar quan el joc finalitzi"
}
]
},
{
"label": "Look and feel",
"description": "Control the visuals of the game.",
"label": "Aspecte visual",
"description": "Controleu els elements visuals del joc.",
"fields": [
{
"label": "Theme Color",
"description": "Choose a color to create a theme for your card game.",
"default": "#909090"
"label": "Color del tema",
"description": "Trieu un color per crear un tema per al joc de cartes."
},
{
"label": "Card Back",
"description": "Use a custom back for your cards."
"label": "Revers de la carta",
"description": "Utilitzeu un revers personalitzat per a les cartes."
}
]
},
{
"label": "Localization",
"label": "Localització",
"fields": [
{
"label": "Card turns text",
"default": "Card turns"
"label": "Text dels girs de cartes",
"default": "Girs de cartes"
},
{
"label": "Time spent text",
"default": "Time spent"
"label": "Text de temps transcorregut",
"default": "Temps dedicat"
},
{
"label": "Feedback text",
"default": "Good work!"
"label": "Text del suggeriment",
"default": "Correcte!"
},
{
"label": "Try again button text",
"default": "Try again?"
"label": "Text del botó \"Torna-ho a provar\"",
"default": "Voleu tornar-ho a provar?"
},
{
"label": "Close button label",
"default": "Close"
"label": "Etiqueta del botó de tancar",
"default": "Tanca"
},
{
"label": "Game label",
"default": "Memory Game. Find the matching cards."
"label": "Etiqueta del joc",
"default": "Joc de memòria. Cerca les targetes coincidents."
},
{
"label": "Game finished label",
"default": "All of the cards have been found."
"label": "Etiqueta \"El joc ha finalitzat\"",
"default": "Shan emparellat totes les cartes."
},
{
"label": "Card indexing label",
"default": "Card %num:"
"label": "Etiqueta dindexació de les cartes",
"default": "Carta %num:"
},
{
"label": "Card unturned label",
"default": "Unturned."
"label": "Etiqueta per a les cartes no girades",
"default": "Sense girar."
},
{
"label": "Card matched label",
"default": "Match found."
"label": "Etiqueta per a les cartes coincidents",
"default": "Sha trobat una coincidència."
}
]
}
]
}
}

View File

@ -3,112 +3,119 @@
{
"widgets": [
{
"label": "Default"
"label": "Výchozí"
}
],
"label": "Cards",
"entity": "card",
"label": "Karty",
"entity": "karta",
"field": {
"label": "Card",
"label": "Karta",
"fields": [
{
"label": "Image"
"label": "Obrázek"
},
{
"label": "Alternative text for Image",
"description": "Describe what can be seen in the photo. The text is read by text-to-speech tools needed by visually impaired users."
"label": "Alternativní text pro obrázek",
"description": "Popište, co lze na fotografii vidět. Text je čten pomocí nástrojů převodu textu na řeč, které potřebují zrakově hendikepovaní uživatelé."
},
{
"label": "Matching Image",
"description": "An optional image to match against instead of using two cards with the same image."
"label": "Zvuková stopa",
"description": "Volitelný zvuk, který se přehraje při otočení karty."
},
{
"label": "Alternative text for Matching Image",
"description": "Describe what can be seen in the photo. The text is read by text-to-speech tools needed by visually impaired users."
"label": "Odpovídající obrázek",
"description": "Volitelný obrázek, který bude odpovídat namísto použití dvou karet se stejným obrázkem."
},
{
"label": "Description",
"description": "An optional short text that will pop up once the two matching cards are found."
"label": "Alternativní text pro odpovídající obrázek",
"description": "Popište, co lze na fotografii vidět. Text je čten pomocí nástrojů převodu textu na řeč, které potřebují zrakově hendikepovaní uživatelé."
},
{
"label": "Odpovídající zvuková stopa",
"description": "Volitelný zvuk, který se přehraje při otočení druhé karty."
},
{
"label": "Popis",
"description": "Volitelný krátký text, který se objeví, jakmile jsou nalezeny dvě odpovídající karty."
}
]
}
},
{
"label": "Behavioural settings",
"description": "These options will let you control how the game behaves.",
"label": "Nastavení chování",
"description": "Tyto možnosti vám umožní řídit, jak se hra bude chovat.",
"fields": [
{
"label": "Position the cards in a square",
"description": "Will try to match the number of columns and rows when laying out the cards. Afterward, the cards will be scaled to fit the container."
"label": "Umístit karty do čtverce",
"description": "Při rozložení karet se bude snažit porovnat počet sloupců a řádků. Poté budou karty upraveny podle velikosti kontejneru."
},
{
"label": "Number of cards to use",
"description": "Setting this to a number greater than 2 will make the game pick random cards from the list of cards."
"label": "Počet karet k použití",
"description": "Pokud toto nastavíte na číslo větší než 2, bude hra vybírat náhodné karty ze seznamu karet."
},
{
"label": "Add button for retrying when the game is over"
"label": "Tlačítko pro opakování pokusu o ukončení hry"
}
]
},
{
"label": "Look and feel",
"description": "Control the visuals of the game.",
"label": "Vzhled a pocit",
"description": "Ovládat vizuální prvky hry.",
"fields": [
{
"label": "Theme Color",
"description": "Choose a color to create a theme for your card game.",
"default": "#909090"
"label": "Barva motivu",
"description": "Vyberte barvu pro vytvoření motivu pro vaši karetní hru."
},
{
"label": "Card Back",
"description": "Use a custom back for your cards."
"label": "Zadní strana karty",
"description": "Použijte vlastní zadní stranu karet."
}
]
},
{
"label": "Localization",
"label": "Localizace",
"fields": [
{
"label": "Card turns text",
"default": "Card turns"
"label": "Text pro otočení karet",
"default": "Otočení karet"
},
{
"label": "Time spent text",
"default": "Time spent"
"label": "Text pro strávený čas",
"default": "Strávený čas"
},
{
"label": "Feedback text",
"default": "Good work!"
"label": "Text zpětné vazby",
"default": "Výborně!"
},
{
"label": "Try again button text",
"default": "Try again?"
"label": "Text tlačítka Zkusit znovu",
"default": "Zkusit znovu?"
},
{
"label": "Close button label",
"default": "Close"
"label": "Text tlačítka Zavřít",
"default": "Zavřít"
},
{
"label": "Game label",
"default": "Memory Game. Find the matching cards."
"label": "Popisek hry",
"default": "Paměťová hra. Najděte odpovídající karty. (Pexeso)."
},
{
"label": "Game finished label",
"default": "All of the cards have been found."
"label": "Popisek konce hry",
"default": "Všechny karty byly nalezeny."
},
{
"label": "Card indexing label",
"default": "Card %num:"
"label": "Popisek indexu karty",
"default": "Karta %num:"
},
{
"label": "Card unturned label",
"default": "Unturned."
"label": "Popisek neotočené karty",
"default": "Neotočená."
},
{
"label": "Card matched label",
"default": "Match found."
"label": "Popisek shody karet",
"default": "Nalezena shoda."
}
]
}
]
}
}

View File

@ -18,6 +18,10 @@
"label": "Alternative text for Image",
"description": "Describe what can be seen in the photo. The text is read by text-to-speech tools needed by visually impaired users."
},
{
"label": "Audio Track",
"description": "An optional sound that plays when the card is turned."
},
{
"label": "Matchende billede",
"description": "Valgfrit billede som match i stedet for at have to kort med det samme billede."
@ -26,6 +30,10 @@
"label": "Alternative text for Matching Image",
"description": "Describe what can be seen in the photo. The text is read by text-to-speech tools needed by visually impaired users."
},
{
"label": "Matching Audio Track",
"description": "An optional sound that plays when the second card is turned."
},
{
"label": "Beskrivelse",
"description": "Valgfri tekst, som popper op, når to matchende billeder er fundet."
@ -56,8 +64,7 @@
"fields": [
{
"label": "Farvetema",
"description": "Vælg en farve til bagsiden af dine kort.",
"default": "#909090"
"description": "Vælg en farve til bagsiden af dine kort."
},
{
"label": "Bagsidebillede",

View File

@ -3,11 +3,11 @@
{
"widgets": [
{
"label": "Default"
"label": "Eingabemaske"
}
],
"label": "Karten",
"entity": "karte",
"entity": "Karte",
"field": {
"label": "Karte",
"fields": [
@ -15,98 +15,105 @@
"label": "Bild"
},
{
"label": "Alternative text for Image",
"description": "Describe what can be seen in the photo. The text is read by text-to-speech tools needed by visually impaired users."
"label": "Alternativtext für das Bild",
"description": "Beschreibt, was im Bild zu sehen ist. Dieser Text wird von Vorlesewerkzeugen für Sehbehinderte genutzt."
},
{
"label": "Matching Image",
"description": "An optional image to match against instead of using two cards with the same image."
"label": "Ton",
"description": "Optionaler Ton, der abgespielt wird, wenn die Karte umgedreht wird."
},
{
"label": "Alternative text for Matching Image",
"description": "Describe what can be seen in the photo. The text is read by text-to-speech tools needed by visually impaired users."
"label": "Zugehöriges Bild",
"description": "Ein optionales zweites Bild, das mit dem ersten ein Paar bildet, anstatt zweimal das selbe Bild zu verwenden."
},
{
"label": "Alternativtext für das zweite Bild",
"description": "Beschreibt, was im Bild zu sehen ist. Dieser Text wird von Vorlesewerkzeugen für Sehbehinderte genutzt."
},
{
"label": "Ton zum zweiten Bild",
"description": "Optionaler Ton, der abgespielt wird, wenn die zweite Karte umgedreht wird."
},
{
"label": "Beschreibung",
"description": "Ein kurzer Text, der angezeigt wird, sobald zwei identische Karten gefunden werden."
"description": "Ein kurzer optionaler Text, der angezeigt wird, wenn das Kartenpaar gefunden wurde."
}
]
}
},
{
"label": "Behavioural settings",
"description": "These options will let you control how the game behaves.",
"label": "Verhaltenseinstellungen",
"description": "Diese Optionen legen fest, wie das Spiel im Detail funktioniert.",
"fields": [
{
"label": "Position the cards in a square",
"description": "Will try to match the number of columns and rows when laying out the cards. Afterward, the cards will be scaled to fit the container."
"label": "Karten in einem Quadrat anordnen",
"description": "Versucht die Karten in der gleichen Zahl von Reihen und Spalten zu anzuordnen. Danach wird die Kartengröße an den verfügbaren Platz angepasst."
},
{
"label": "Number of cards to use",
"description": "Setting this to a number greater than 2 will make the game pick random cards from the list of cards."
"label": "Anzahl der zu verwendenden Karten",
"description": "Wenn die Anzahl größer als 2 ist, werden zufällige Karten aus der Liste ausgewählt."
},
{
"label": "Add button for retrying when the game is over"
"label": "\"Wiederholen\"-Button anzeigen"
}
]
},
{
"label": "Look and feel",
"description": "Control the visuals of the game.",
"label": "Erscheinungsbild",
"description": "Legt fest, wie das Spiel aussieht.",
"fields": [
{
"label": "Theme Color",
"description": "Choose a color to create a theme for your card game.",
"default": "#909090"
"label": "Themenfarbe",
"description": "Wähle eine Farbe, um das Spiel zu individualisieren."
},
{
"label": "Card Back",
"description": "Use a custom back for your cards."
"label": "Kartenrückseite",
"description": "Verwende eine benutzerdefinierte Rückseite für die Karten."
}
]
},
{
"label": "Übersetzung",
"label": "Bezeichnungen und Beschriftungen",
"fields": [
{
"label": "Text für die Anzahl der Züge",
"label": "Text mit der Anzahl der Züge",
"default": "Züge"
},
{
"label": "Text für die benötigte Zeit",
"label": "Text mit der bisher benötigten Zeit",
"default": "Benötigte Zeit"
},
{
"label": "Text als Rückmeldung",
"default": "Gute Arbeit!"
"label": "Rückmeldungstext",
"default": "Gut gemacht!"
},
{
"label": "Try again button text",
"default": "Reset"
"label": "Beschriftung des \"Wiederholen\"-Buttons",
"default": "Nochmal spielen"
},
{
"label": "Close button label",
"default": "Close"
"label": "Beschriftung des \"Schließen\"-Buttons",
"default": "Schließen"
},
{
"label": "Game label",
"default": "Memory Game. Find the matching cards."
"label": "Bezeichnung des Spiels",
"default": "Memory - Finde die Kartenpaare!"
},
{
"label": "Game finished label",
"default": "All of the cards have been found."
"label": "Meldung, wenn das Spiel abgeschlossen wurde",
"default": "Du hast alle Kartenpaare gefunden!"
},
{
"label": "Card indexing label",
"default": "Card %num:"
"label": "Beschriftung der Kartennummer",
"default": "Karte %num:"
},
{
"label": "Card unturned label",
"default": "Unturned."
"label": "Text, wenn eine Karte wieder zugedeckt wurde",
"default": "Zugedeckt."
},
{
"label": "Card matched label",
"default": "Match found."
"label": "Text, wenn ein Paar gefunden wurde",
"default": "Paar gefunden."
}
]
}

View File

@ -3,112 +3,119 @@
{
"widgets": [
{
"label": "Default"
"label": "Βασικό"
}
],
"label": "Cards",
"entity": "card",
"label": "Κάρτες",
"entity": "καρτας",
"field": {
"label": "Card",
"label": "Κάρτα",
"fields": [
{
"label": "Image"
"label": "Εικόνα"
},
{
"label": "Alternative text for Image",
"description": "Describe what can be seen in the photo. The text is read by text-to-speech tools needed by visually impaired users."
"label": "Εναλλακτικό κείμενο εικόνας",
"description": "Δώστε μια περιγραφή της εικόνας. Το κείμενο διαβάζεται από εργαλεία ανάγνωσης κειμένου (text-to-speech) που χρησιμοποιούνται από χρήστες με προβλήματα όρασης."
},
{
"label": "Matching Image",
"description": "An optional image to match against instead of using two cards with the same image."
"label": "Ήχος ανοίγματος",
"description": "Ήχος που ακούγεται κάθε φορά που μια κάρτα ανοίγει (προαιρετικά)."
},
{
"label": "Alternative text for Matching Image",
"description": "Describe what can be seen in the photo. The text is read by text-to-speech tools needed by visually impaired users."
"label": "Αντίστοιχη εικόνα",
"description": "Αντίστοιχη εικόνα που μπορεί να χρησιμοποιηθεί προαιρετικά αντί της χρήσης της ίδιας εικόνας σε δύο κάρτες (προαιρετικά)."
},
{
"label": "Description",
"description": "An optional short text that will pop up once the two matching cards are found."
"label": "Εναλλακτικό κείμενο αντίστοιχης εικόνας",
"description": "Δώστε μια περιγραφή της εικόνας. Το κείμενο διαβάζεται από εργαλεία ανάγνωσης κειμένου (text-to-speech) που χρησιμοποιούνται από χρήστες με προβλήματα όρασης."
},
{
"label": "Ήχος αντιστοίχισης",
"description": "Ήχος που ακούγεται κάθε φορά που δύο κάρτες αντιστοιχίζονται μεταξύ τους (προαιρετικά)."
},
{
"label": "Κείμενο αντιστοίχισης",
"description": "Σύντομο κείμενο που εμφανίζεται κάθε φορά που δύο κάρτες αντιστοιχίζονται μεταξύ τους (προαιρετικά)."
}
]
}
},
{
"label": "Behavioural settings",
"description": "These options will let you control how the game behaves.",
"label": "Ρυθμίσεις παιχνιδιού",
"description": "Αυτές οι ρυθμίσεις σας επιτρέπουν να καθορίσετε τον τρόπο λειτουργίας του παιχνιδιού.",
"fields": [
{
"label": "Position the cards in a square",
"description": "Will try to match the number of columns and rows when laying out the cards. Afterward, the cards will be scaled to fit the container."
"label": "Διάταξη καρτών σε τετράγωνο",
"description": "Κατά τη διάταξη των καρτών επιχειρείται ο αριθμός των στηλών να είναι ίδιος με τον αριθμό των γραμμών. Οι διαστάσεις των καρτών προσαρμόζονται."
},
{
"label": "Number of cards to use",
"description": "Setting this to a number greater than 2 will make the game pick random cards from the list of cards."
"label": "Αριθμός καρτών που χρησιμοποιούνται",
"description": "Επιλέγοντας αριθμό μεγαλύτερο του δύο (2) οδηγείτε το παιχνίδι στην τυχαία επιλογή καρτών από τη συνολική λίστα."
},
{
"label": "Add button for retrying when the game is over"
"label": "Προσθήκη κουμπιού νέας προσπάθειας μετά την ολοκλήρωση του παιχνιδιού"
}
]
},
{
"label": "Look and feel",
"description": "Control the visuals of the game.",
"label": "Εμφάνιση",
"description": "Έλεγχος της εμφάνισης του παιχνιδιού.",
"fields": [
{
"label": "Theme Color",
"description": "Choose a color to create a theme for your card game.",
"default": "#909090"
"label": "Χρώμα \"θέματος\"",
"description": "Επιλέξτε ένα χρώμα για τη δημιουργία \"θέματος\" για το παιχνίδι μνήμης."
},
{
"label": "Card Back",
"description": "Use a custom back for your cards."
"label": "Πίσω πλευρά καρτών",
"description": "Χρησιμοποιήστε μια δική σας εικόνα για την πίσω πλευρά των καρτών."
}
]
},
{
"label": "Localization",
"label": "Προσαρμογή",
"fields": [
{
"label": "Card turns text",
"default": "Card turns"
"label": "Κείμενο ανοίγματος κάρτας",
"default": "Άνοιγμα κάρτας"
},
{
"label": "Time spent text",
"default": "Time spent"
"label": "Κείμενο χρόνου που πέρασε",
"default": "Χρόνος"
},
{
"label": "Feedback text",
"default": "Good work!"
"label": "Κείμενο ανατροφοδότησης",
"default": "Μπράβο!"
},
{
"label": "Try again button text",
"default": "Try again?"
"label": "Κείμενο κουμπιού νέας προσπάθειας",
"default": "Επανάληψη"
},
{
"label": "Close button label",
"default": "Close"
"label": "Ετικέτα κουμπιού κλεισίματος",
"default": "Κλείσιμο"
},
{
"label": "Game label",
"default": "Memory Game. Find the matching cards."
"label": "Ετικέτα παιχνιδιού",
"default": "Παιχνίδι μνήμης. Αντιστοίχισε τις κάρτες που ταιριάζουν μεταξύ τους."
},
{
"label": "Game finished label",
"default": "All of the cards have been found."
"label": "Ετικέτα ολοκλήρωσης παιχνιδιού",
"default": "Έχουν αντιστοιχιστεί όλες οι κάρτες!"
},
{
"label": "Card indexing label",
"default": "Card %num:"
"label": "Ετικέτα ταξινόμησης κάρτας",
"default": "Κάρτα %num:"
},
{
"label": "Card unturned label",
"default": "Unturned."
"label": "Ετικέτα κλειστής κάρτας",
"default": "Κλειστή."
},
{
"label": "Card matched label",
"default": "Match found."
"label": "Ετικέτα κάρτας που έχει αντιστοιχιστεί",
"default": "Έχει αντιστοιχιστεί."
}
]
}
]
}
}

121
language/es-mx.json Normal file
View File

@ -0,0 +1,121 @@
{
"semantics": [
{
"widgets": [
{
"label": "Predeterminado"
}
],
"label": "Tarjetas",
"entity": "tarjeta",
"field": {
"label": "Tarjeta",
"fields": [
{
"label": "Imagen"
},
{
"label": "Texto alternativo para la imagen",
"description": "Describe lo que se puede ver en la foto. El texto es leído por herramientas de conversión de texto a voz, necesarias para usuarios con discapacidad visual."
},
{
"label": "Pista de Audio",
"description": "Un sonido opcional que se reproduce cuando se voltea la carta."
},
{
"label": "Imagen Coincidente",
"description": "Una imagen opcional para coincidir, en vez de usar dos tarjetas con la misma imagen."
},
{
"label": "Texto alternativo para Imagen Coincidente",
"description": "Describir lo que puede verse en la foto. El texto es leído por herramientas de conversión de texto a voz, necesarias para usuarios con discapacidad visual."
},
{
"label": "Pista de Audio Coincidente",
"description": "Un sonido opcional que se reproduce cuando se voltea la segunda carta."
},
{
"label": "Descripción",
"description": "Un breve texto opcional que aparecerá una vez se encuentren las dos cartas coincidentes."
}
]
}
},
{
"label": "Configuraciones del comportamiento",
"description": "Estas opciones le permitirán controlar cómo se comporta el juego.",
"fields": [
{
"label": "Colocar las tarjetas en un cuadrado",
"description": "Intentará igualar el número de columnas y filas al distribuir las tarjetas. Después, las tarjetas se escalarán para que se ajusten al contenedor."
},
{
"label": "Número de tarjetas a utilizar",
"description": "Establecer esto a un número mayor que 2 hará que el juego seleccione tarjetas aleatorias de la lista de tarjetas."
},
{
"label": "Añadir botón para volver a intentarlo cuando el juego ha terminado"
}
]
},
{
"label": "Aspecto y comportamiento",
"description": "Controla los efectos visuales del juego.",
"fields": [
{
"label": "Color del Tema",
"description": "Elegir un color para crear un tema para su juego de tarjetas."
},
{
"label": "Reverso de la Tarjeta",
"description": "Utilice una parte posterior personalizada para sus tarjetas."
}
]
},
{
"label": "Localización",
"fields": [
{
"label": "Texto para los giros de tarjetas",
"default": "Giros de tarjeta"
},
{
"label": "Texto de tiempo usado",
"default": "Tiempo usado"
},
{
"label": "Texto de retroalimentación",
"default": "¡Buen trabajo!"
},
{
"label": "Texto del botón Intente de nuevo",
"default": "¿Volver a intentarlo?"
},
{
"label": "Texto del botón Cerrar",
"default": "Cerrar"
},
{
"label": "Etiqueta del juego",
"default": "Juego de Memoria. Encuentra las cartas que coinciden."
},
{
"label": "Etiqueta de juego terminado",
"default": "Todas las cartas han sido encontradas."
},
{
"label": "Etiqueta de indexación de tarjeta",
"default": "Tarjeta %num:"
},
{
"label": "Texto de tarjeta sin voltear",
"default": "Sin voltear."
},
{
"label": "Texto de tarjeta coincidente",
"default": "Coincidencia encontrada."
}
]
}
]
}

View File

@ -7,7 +7,7 @@
}
],
"label": "Tarjetas",
"entity": "card",
"entity": "tarjeta",
"field": {
"label": "Tarjeta",
"fields": [
@ -16,15 +16,23 @@
},
{
"label": "Texto alternativo para la imagen",
"description": "Describe lo que se puede ver en la foto. El texto es leído por una herramienta de conversion de texto a voz, a usuarios con discapacidad visual."
"description": "Describe lo que se puede ver en la foto. El texto es leído por herramientas de conversión de texto a voz, necesarias para usuarios con discapacidad visual."
},
{
"label": "Imagen coincidente",
"label": "Pista de Audio",
"description": "Un sonido opcional que se reproduce cuando se voltea la carta."
},
{
"label": "Imagen Coincidente",
"description": "Una imagen opcional para emparejar, en vez de usar dos tarjetas con la misma imagen."
},
{
"label": "Texto alternativo para imagenes coincidentes",
"description": "El texto es leído por una herramienta de conversion de texto a voz, a usuarios con discapacidad visual."
"label": "Texto alternativo para Imagen Coincidente",
"description": "Describir lo que puede verse en la foto. El texto es leído por herramientas de conversión de texto a voz, necesarias para usuarios con discapacidad visual."
},
{
"label": "Pista de Audio Coincidente",
"description": "Un sonido opcional que se reproduce cuando se voltea la segunda carta."
},
{
"label": "Descripción",
@ -34,11 +42,11 @@
}
},
{
"label": "Ajustes de comportamiento",
"label": "Configuraciones del comportamiento",
"description": "Estas opciones le permitirán controlar cómo se comporta el juego.",
"fields": [
{
"label": "Coloca las tarjetas en un cuadrado",
"label": "Colocar las tarjetas en un cuadrado",
"description": "Intentará igualar el número de columnas y filas al distribuir las tarjetas. Después, las tarjetas se escalarán para que se ajusten al contenedor."
},
{
@ -55,12 +63,11 @@
"description": "Controla los efectos visuales del juego.",
"fields": [
{
"label": "Color del tema",
"description": "Elegir un color para crear un tema para su juego de cartas.",
"default": "#909090"
"label": "Color del Tema",
"description": "Elegir un color para crear un tema para su juego de tarjetas."
},
{
"label": "Parte posterior de la tarjeta",
"label": "Reverso de la Tarjeta",
"description": "Utilice una parte posterior personalizada para sus tarjetas."
}
]
@ -77,7 +84,7 @@
"default": "Tiempo usado"
},
{
"label": "Texto de comentarios",
"label": "Texto de retroalimentación",
"default": "¡Buen trabajo!"
},
{
@ -89,15 +96,15 @@
"default": "Cerrar"
},
{
"label": "Texto del juego",
"default": "Juego de memoria. Encuentra las cartas que hacen juego."
"label": "Etiqueta del juego",
"default": "Juego de Memoria. Encuentra las cartas que coinciden."
},
{
"label": "Texto del juego terminado",
"label": "Etiqueta de juego terminado",
"default": "Todas las cartas han sido encontradas."
},
{
"label": "Texto de indexación de la tarjeta",
"label": "Etiqueta de indexación de tarjeta",
"default": "Tarjeta %num:"
},
{
@ -105,7 +112,7 @@
"default": "Sin voltear."
},
{
"label": "Texto de la tarjeta coincidente",
"label": "Texto de tarjeta coincidente",
"default": "Coincidencia encontrada."
}
]

View File

@ -3,110 +3,117 @@
{
"widgets": [
{
"label": "Default"
"label": "Vaikimisi"
}
],
"label": "Cards",
"entity": "card",
"label": "Kaardid",
"entity": "kaart",
"field": {
"label": "Card",
"label": "Kaart",
"fields": [
{
"label": "Image"
"label": "Pilt"
},
{
"label": "Alternative text for Image",
"description": "Describe what can be seen in the photo. The text is read by text-to-speech tools needed by visually impaired users."
"label": "Pildi alternatiivtekst",
"description": "Kirjelda, mis pildil näha on. Tekst on mõeldud vaegnägijaile tekstilugeriga kuulamiseks."
},
{
"label": "Matching Image",
"description": "An optional image to match against instead of using two cards with the same image."
"label": "Heliriba",
"description": "Valikheli, mida mängitakse kaardi pööramisel."
},
{
"label": "Alternative text for Matching Image",
"description": "Describe what can be seen in the photo. The text is read by text-to-speech tools needed by visually impaired users."
"label": "Sobituv pilt",
"description": "Valikuline pilt võrdlemiseks, selmet kasutada kahte kaarti sama pildiga."
},
{
"label": "Description",
"description": "An optional short text that will pop up once the two matching cards are found."
"label": "Sobituva pildi alternatiivtekst",
"description": "Kirjelda, mis pildil näha on. Tekst on mõeldud vaegnägijaile tekstilugeriga kuulamiseks."
},
{
"label": "Sobituv heliriba",
"description": "Valikheli, mida mängitakse teise kaardi pööramisel."
},
{
"label": "Kirjeldus",
"description": "Valikuline lühitekst, mida näidatakse hüpikaknas peale kahe sobituva kaardi leidmist."
}
]
}
},
{
"label": "Behavioural settings",
"description": "These options will let you control how the game behaves.",
"label": "Käitumisseaded",
"description": "Need valikud võimaldavad sul kontrollida mängu käitumist.",
"fields": [
{
"label": "Position the cards in a square",
"description": "Will try to match the number of columns and rows when laying out the cards. Afterward, the cards will be scaled to fit the container."
"label": "Aseta kaardid väljakule",
"description": "Proovib sobitada ridade ja veergude arvu kaartide asetamisel. Peale seda muudetakse kaartide suurust, et täita neid hoidev raam."
},
{
"label": "Number of cards to use",
"description": "Setting this to a number greater than 2 will make the game pick random cards from the list of cards."
"label": "Kasutatav kaartide arv",
"description": "Määrates selle arvu kahest suuremaks valib mäng kaartide loetelust juhuslikud kaardid."
},
{
"label": "Add button for retrying when the game is over"
"label": "Lisa Proovi uuesti nupp lõppenud mängule"
}
]
},
{
"label": "Look and feel",
"description": "Control the visuals of the game.",
"label": "Välimus",
"description": "Säti mängu visuaali.",
"fields": [
{
"label": "Theme Color",
"description": "Choose a color to create a theme for your card game.",
"default": "#909090"
"label": "Teemavärv",
"description": "Vali oma mängu teemavärv."
},
{
"label": "Card Back",
"description": "Use a custom back for your cards."
"label": "Kaardi taust",
"description": "Kasuta kohandatud kaarditausta."
}
]
},
{
"label": "Localization",
"label": "Kohandamine",
"fields": [
{
"label": "Card turns text",
"default": "Card turns"
"label": "Kaardi pööramise tekst",
"default": "Kaart pöörab"
},
{
"label": "Time spent text",
"default": "Time spent"
"label": "Aega kulunud tekst",
"default": "Aega kulunud"
},
{
"label": "Feedback text",
"default": "Good work!"
"label": "Tagasiside tekst",
"default": "Hea töö!"
},
{
"label": "Try again button text",
"default": "Try again?"
"label": "Proovi uuesti nupu tekst",
"default": "Proovida uuesti?"
},
{
"label": "Close button label",
"default": "Close"
"label": "Sulge nupu tekst",
"default": "Sulge"
},
{
"label": "Game label",
"default": "Memory Game. Find the matching cards."
"label": "Mängu pealkiri",
"default": "Mälumäng. Leida sobituvad kaardid."
},
{
"label": "Game finished label",
"default": "All of the cards have been found."
"label": "Mäng on lõppenud silt",
"default": "Kõik kaardid on leitud."
},
{
"label": "Card indexing label",
"default": "Card %num:"
"label": "Kaardi indeksi silt",
"default": "Kaart %num:"
},
{
"label": "Card unturned label",
"default": "Unturned."
"label": "Kaart pööramata silt",
"default": "Pööramata."
},
{
"label": "Card matched label",
"default": "Match found."
"label": "Kaart sobitub silt",
"default": "Vaste leitud."
}
]
}

121
language/eu.json Normal file
View File

@ -0,0 +1,121 @@
{
"semantics": [
{
"widgets": [
{
"label": "Lehenetsia"
}
],
"label": "Txartelak",
"entity": "karta",
"field": {
"label": "Karta",
"fields": [
{
"label": "Irudia"
},
{
"label": "Irudiaren ordezko testua",
"description": "Deskribatu irudian ikusi daitekeena. Testua irakurketa tresna automatikoek irakurriko dute ikusmen urritasunak dituztenentzat."
},
{
"label": "Audio Pista",
"description": "Karta itzultzen denean erreproduzitzeko aukerazko soinua."
},
{
"label": "Pareko irudia",
"description": "Irudi bera duten bi karta ez erabiltzeko parekatzeko aukeran eskainiko den irudia."
},
{
"label": "Pareko irudiaren ordezko irudia",
"description": "Deskribatu argazkian ikusi daitekeena. Testua irakurketa tresna automatikoek irakurriko dute ikusmen urritasunak dituztenentzat."
},
{
"label": "Pareko Audio Pista",
"description": "Bigarren karta itzultzen denean erreproduzitzeko aukerazko soinua."
},
{
"label": "Deskribapena",
"description": "Bi karta parekatzen direnean bat-batean agertu den aukerako testu laburra."
}
]
}
},
{
"label": "Portaera-ezarpenak",
"description": "Aukera hauen bidez kontrolatu ahal izango duzu zereginaren portaera.",
"fields": [
{
"label": "Kokatu karta karratuan",
"description": "Txartelak banatzean lerro eta zutabe kopurua betetzen saiatuko da. Gero, kartak eskalatuko dira."
},
{
"label": "Erabiliko den karta kopurua",
"description": "2 baino altuagoa den zenbaki bat ezarriz gero jokoak hausazko karta hartuko du karta-zerrendatik."
},
{
"label": "Saiakera berria egiteko botoia txertatu jokoa amaitzerakoan"
}
]
},
{
"label": "Itxura",
"description": "Jokoaren itxura kontrolatu",
"fields": [
{
"label": "Estiloaren kolorea",
"description": "Aukeratu kolorea zure karta jokoarentzat estiloa sortzeko."
},
{
"label": "Kartaren atzeko aldea",
"description": "Erabili karta-atzeko alde pertsonalizatua."
}
]
},
{
"label": "Lokalizazioa",
"fields": [
{
"label": "Txartelak buelta ematen du testua",
"default": "Txartelak buelta ematen du"
},
{
"label": "Igarotako denboraren testua",
"default": "Igarotako denbora"
},
{
"label": "Feedback testua",
"default": "Lan bikaina!"
},
{
"label": "Saiatu berriro botoiaren",
"default": "Saiatu berriro?"
},
{
"label": "Itxi botoiaren etiketa",
"default": "Itxi"
},
{
"label": "Jokoaren etiketa",
"default": "Memoria jokoa. Aurkitu pareko kartak."
},
{
"label": "Amaitutako jokoaren etiketa",
"default": "Karta guztiak aurkitu dira."
},
{
"label": "Txartela zenbakiaren etiketa",
"default": "%num. txartela:"
},
{
"label": "buelta eman gabeko txartela",
"default": "Itzuli gabe"
},
{
"label": "Parekatutako txartelaren etiketa",
"default": "Parekoa topatuta."
}
]
}
]
}

View File

@ -15,16 +15,24 @@
"label": "Kuva"
},
{
"label": "Alternative text for Image",
"description": "Describe what can be seen in the photo. The text is read by text-to-speech tools needed by visually impaired users."
"label": "Vaihtoehtoinen teksti kuvalle.",
"description": "Kuvaile tekstillä mitä kuvassa näkyy. Tämä teksti luetaan ruudunlukijasovelluksella henkilöille jotka käyttävät ko. sovelluksia."
},
{
"label": "Audioraita.",
"description": "Vapaaehtoinen äänitehoste joka soitetaan kun kortti käännetään."
},
{
"label": "Vastattava kuva",
"description": "Valinnainen kuva johon verrata korttia sen sijaan, että kortille etsitään toista samaa kuvaa pariksi."
},
{
"label": "Alternative text for Matching Image",
"description": "Describe what can be seen in the photo. The text is read by text-to-speech tools needed by visually impaired users."
"label": "Vaihtoehtoinen teksti kuvapareille.",
"description": "Kuvaile tekstillä mitä kuvassa näkyy. Tämä teksti luetaan ruudunlukijasovelluksella henkilöille jotka käyttävät ko. sovelluksia."
},
{
"label": "Vastaavien parien audioraita.",
"description": "Vapaaehtoinen äänitehoste joka soitetaan kun toinen kortti käännetään."
},
{
"label": "Selite",
@ -56,8 +64,7 @@
"fields": [
{
"label": "Väriteema",
"description": "Valitse väri luodaksesi teeman pelille.",
"default": "#909090"
"description": "Valitse väri luodaksesi teeman pelille."
},
{
"label": "Kortin kääntöpuoli",

View File

@ -18,6 +18,10 @@
"label": "Texte alternatif pour l'image",
"description": "Décrivez ce que représente l'image. Le texte est lu par la synthèse vocale."
},
{
"label": "Audio Track",
"description": "An optional sound that plays when the card is turned."
},
{
"label": "Image correspondante",
"description": "Une image facultative à comparer au lieu d'utiliser deux cartes avec la même image."
@ -26,6 +30,10 @@
"label": "Texte alternatif pour l'image correspondante",
"description": "Décrivez ce que représente l'image correspondante. Le texte est lu par la synthèse vocale."
},
{
"label": "Matching Audio Track",
"description": "An optional sound that plays when the second card is turned."
},
{
"label": "Description",
"description": "Un texte court optionnel qui apparaîtra une fois que les deux cartes correspondantes auront été trouvées."
@ -56,8 +64,7 @@
"fields": [
{
"label": "Couleur du thème",
"description": "Choisissez une couleur pour créer un thème pour votre jeu de cartes.",
"default": "#909090"
"description": "Choisissez une couleur pour créer un thème pour votre jeu de cartes."
},
{
"label": "Dos des cartes",

121
language/gl.json Normal file
View File

@ -0,0 +1,121 @@
{
"semantics": [
{
"widgets": [
{
"label": "Por defecto"
}
],
"label": "Tarxetas",
"entity": "tarxeta",
"field": {
"label": "Tarxeta",
"fields": [
{
"label": "Imaxe"
},
{
"label": "Texto alternativo para a imaxe",
"description": "Describe o que pode verse na imaxe. Este texto será lido polas ferramentas de texto a voz que precisan os usuarios con discapaciade visual."
},
{
"label": "Pista de audio",
"description": "Son opcional que se escoita ao xirar a tarxeta."
},
{
"label": "Imaxe Coincidente",
"description": "Imaxe opcional coa que coincidir en lugar de usar dúas tarxetas coa mesma imaxe."
},
{
"label": "Texto alternativo para imaxe coincidente",
"description": "Describe o que se pode ver na imaxe. Este texto será lido polas ferramentas de texto a voz que precisan os usuarios con discapaciade visual."
},
{
"label": "Pista de audio coincidente",
"description": "Un son opcional que se escoita ao xirar a segunda tarxeta."
},
{
"label": "Descrición",
"description": "Texto curto opcional que aparece cando se emparellan as dúas tarxetas."
}
]
}
},
{
"label": "Configuración de comportamento",
"description": "Estas opcións permiten controlar o comportamento do xogo.",
"fields": [
{
"label": "Colocar as tarxetas nun cadrado",
"description": "Intentará emparellar o número de filas e columnas ao colocar as tarxetas. Despois, escalaranse as tarxetas para que encaixen no contedor."
},
{
"label": "Número de tarxetas a usar",
"description": "Se este valor e maior que 2, o xogo escollerá tarxetas ao chou da lista de tarxetas."
},
{
"label": "Engadir botón para reintentar cando remate o xogo"
}
]
},
{
"label": "Aspecto",
"description": "Controla o aspecto visual do xogo.",
"fields": [
{
"label": "Cor do tema",
"description": "Escolle unha cor para crear un tema para o teu xogo de tarxetas."
},
{
"label": "Reverso da tarxeta",
"description": "Usar un reverso personalizado nas tarxetas."
}
]
},
{
"label": "Localización",
"fields": [
{
"label": "Texto para xiros de tarxeta",
"default": "Xiros de tarxeta"
},
{
"label": "Texto para tempo transcorrido",
"default": "Tempo transcorrido"
},
{
"label": "Texto de retroalimentación",
"default": "Bo traballo!"
},
{
"label": "Texto para o botón reintentar",
"default": "Probar outra vez?"
},
{
"label": "Etiqueta para o botón pechar",
"default": "Pechar"
},
{
"label": "Etiqueta do xogo",
"default": "Xogo de memoria. Atopa as tarxetas coincidentes."
},
{
"label": "Etiqueta para xogo rematado",
"default": "Atoparonse todas as tarxetas."
},
{
"label": "Etiqueta para o índice das tarxetas",
"default": "Tarxeta %num:"
},
{
"label": "Etiqueta para as tarxetas non xiradas",
"default": "Sen xirar."
},
{
"label": "Etiqueta para coincidencia atopada",
"default": "Coincidencia atopada."
}
]
}
]
}

View File

@ -3,112 +3,119 @@
{
"widgets": [
{
"label": "Default"
"label": "ברירת מחדל"
}
],
"label": "Cards",
"entity": "card",
"label": "קלפים",
"entity": "קלף",
"field": {
"label": "Card",
"label": "קלף",
"fields": [
{
"label": "Image"
"label": "תמונה"
},
{
"label": "Alternative text for Image",
"description": "Describe what can be seen in the photo. The text is read by text-to-speech tools needed by visually impaired users."
"label": "תוכן חלופי לתמונה",
"description": "תאר מה אפשר לראות בתמונה. הטקסט נקרא על ידי כלי טקסט-לדיבור הנחוצים למשתמשים בעלי לקויות ראייה."
},
{
"label": "Matching Image",
"description": "An optional image to match against instead of using two cards with the same image."
"label": "ערוץ שמע",
"description": "צליל אופציונלי שמתנגן כאשר הופכים את הקלף."
},
{
"label": "Alternative text for Matching Image",
"description": "Describe what can be seen in the photo. The text is read by text-to-speech tools needed by visually impaired users."
"label": "תמונה תואמת",
"description": "תמונה אופציונלית להתאמה במקום להשתמש בשני קלפים עם אותה התמונה."
},
{
"label": "Description",
"description": "An optional short text that will pop up once the two matching cards are found."
"label": "טקסט חליפי לתמונה תואמת",
"description": "תאר מה אפשר לראות בתמונה. הטקסט נקרא על ידי כלי טקסט-לדיבור שנחוצים למשתמשים בעלי לקויות ראייה."
},
{
"label": "ערוץ שמע תואם",
"description": "צליל אופציונלי שמתנן כאשר הופכים את הקלף השני."
},
{
"label": "תיאור",
"description": "טקסט קצר אופציונלי יקפוץ ברגע ששני הקלפים התואמים יימצאו."
}
]
}
},
{
"label": "Behavioural settings",
"label": "הגדרות כלליות",
"description": "These options will let you control how the game behaves.",
"fields": [
{
"label": "Position the cards in a square",
"description": "Will try to match the number of columns and rows when laying out the cards. Afterward, the cards will be scaled to fit the container."
"label": "סדרו את הכרטיסים בריבוע",
"description": "ניסיון להתאים בין מספר הטורים והשורות בעת סידור הכרטיסים. לאחר מכן, גודל הכרטיסים יותאם למכל."
},
{
"label": "Number of cards to use",
"description": "Setting this to a number greater than 2 will make the game pick random cards from the list of cards."
"label": "מספר כרטיסים לשימוש",
"description": "להגדיר את זה למספר גדול מ-2 יגרום למשחק לבחור אקראית קלפים מרשימת הקלפים"
},
{
"label": "Add button for retrying when the game is over"
"label": "הוסף כפתור כדי לנסות שוב כאשר המשחק נגמר"
}
]
},
{
"label": "Look and feel",
"description": "Control the visuals of the game.",
"label": "הבט וחוש",
"description": "שליטה בהגדרות החזותיות של המשחק.",
"fields": [
{
"label": "Theme Color",
"description": "Choose a color to create a theme for your card game.",
"default": "#909090"
"label": "צבע נושא",
"description": "בחר צבע ליצירת נושא למשחק הקלפים שלך"
},
{
"label": "Card Back",
"description": "Use a custom back for your cards."
"label": "גב הקלף",
"description": "השתמשו בגב מותאם אישית עבור הכרטיסים."
}
]
},
{
"label": "Localization",
"label": "תרגום מקומי",
"fields": [
{
"label": "Card turns text",
"default": "Card turns"
"label": "טקסט הפיכת קלף",
"default": "הופכים קלף"
},
{
"label": "Time spent text",
"default": "Time spent"
"label": "טקסט זמן שהושקע",
"default": "זמן שהושקע"
},
{
"label": "Feedback text",
"default": "Good work!"
"label": "משוב",
"default": "עבודה טובה!"
},
{
"label": "Try again button text",
"default": "Try again?"
"label": "טקסט של כפתור נסה שוב",
"default": "נסה שוב?"
},
{
"label": "Close button label",
"default": "Close"
"label": "תווית כפתור סגור",
"default": "סגור"
},
{
"label": "Game label",
"default": "Memory Game. Find the matching cards."
"label": "תווית משחק",
"default": "משחק זיכרון. מצא את הקלפים המתאימים."
},
{
"label": "Game finished label",
"default": "All of the cards have been found."
"label": "תווית המשחק נגמר",
"default": "נמצאו כל הקלפים."
},
{
"label": "Card indexing label",
"default": "Card %num:"
"label": "תווית מפתוח קלף",
"default": "כרטיס %num:"
},
{
"label": "Card unturned label",
"default": "Unturned."
"label": "תווית קלף לא הפוך",
"default": "לא הפוך."
},
{
"label": "Card matched label",
"default": "Match found."
"label": "תווית קלף מותאם",
"default": "נמצאה התאמה."
}
]
}
]
}
}

View File

@ -18,6 +18,10 @@
"label": "Alternative text for Image",
"description": "Describe what can be seen in the photo. The text is read by text-to-speech tools needed by visually impaired users."
},
{
"label": "Audio Track",
"description": "An optional sound that plays when the card is turned."
},
{
"label": "Matching Image",
"description": "An optional image to match against instead of using two cards with the same image."
@ -26,6 +30,10 @@
"label": "Alternative text for Matching Image",
"description": "Describe what can be seen in the photo. The text is read by text-to-speech tools needed by visually impaired users."
},
{
"label": "Matching Audio Track",
"description": "An optional sound that plays when the second card is turned."
},
{
"label": "Description",
"description": "An optional short text that will pop up once the two matching cards are found."
@ -56,8 +64,7 @@
"fields": [
{
"label": "Theme Color",
"description": "Choose a color to create a theme for your card game.",
"default": "#909090"
"description": "Choose a color to create a theme for your card game."
},
{
"label": "Card Back",

View File

@ -3,7 +3,7 @@
{
"widgets": [
{
"label": "Default"
"label": "Predefinito"
}
],
"label": "Carte",
@ -15,53 +15,60 @@
"label": "Immagine"
},
{
"label": "Alternative text for Image",
"description": "Describe what can be seen in the photo. The text is read by text-to-speech tools needed by visually impaired users."
"label": "Testo alternativo per l'immagine",
"description": "Descrivi cosa si può vedere nella foto. Il testo è letto da strumenti di sintesi vocale necessari a utenti ipovedenti"
},
{
"label": "Matching Image",
"description": "An optional image to match against instead of using two cards with the same image."
"label": "Traccia audio",
"description": "Un suono facoltativo che viene riprodotto quando si gira la scheda"
},
{
"label": "Alternative text for Matching Image",
"description": "Describe what can be seen in the photo. The text is read by text-to-speech tools needed by visually impaired users."
"label": "Immagine corrispondente",
"description": "Un'immagine facoltativa da abbinare anziché usare due carte con la stessa immagine"
},
{
"label": "Testo alternativo per immagini corrispondenti",
"description": "Descrivi cosa si può vedere nella foto. Il testo è letto da strumenti di sintesi vocale necessari a utenti ipovedenti"
},
{
"label": "Traccia audio corrispondente",
"description": "Un suono facoltativo che viene riprodotto quando si gira la seconda carta"
},
{
"label": "Descrizione",
"description": "Breve testo visualizzato quando due carte uguali vengono trovate."
"description": "Un breve testo facoltativo che apparirà quando vengono trovate due carte corrispondenti"
}
]
}
},
{
"label": "Behavioural settings",
"description": "These options will let you control how the game behaves.",
"label": "Impostazioni di esecuzione",
"description": "Queste opzioni permettono di controllare il comportamento del gioco",
"fields": [
{
"label": "Position the cards in a square",
"description": "Will try to match the number of columns and rows when laying out the cards. Afterward, the cards will be scaled to fit the container."
"label": "Posiziona le carte in un quadrato",
"description": "Cercherà di far corrispondere il numero di colonne e righe durante la disposizione delle carte. In seguito, le carte saranno ridimensionate per adattarsi al contenitore"
},
{
"label": "Number of cards to use",
"description": "Setting this to a number greater than 2 will make the game pick random cards from the list of cards."
"label": "Numero di carte da usare",
"description": "Impostandolo su un numero maggiore di 2, il gioco sceglierà le carte dall'elenco in maniera del tutto casuale"
},
{
"label": "Add button for retrying when the game is over"
"label": "Aggiungi un pulsante per riprovare quanto il gioco è finito"
}
]
},
{
"label": "Look and feel",
"description": "Control the visuals of the game.",
"label": "Aspetto e soddisfazione (look and feel)",
"description": "Controlla gli effetti visivi del gioco",
"fields": [
{
"label": "Theme Color",
"description": "Choose a color to create a theme for your card game.",
"default": "#909090"
"label": "Colore del tema",
"description": "Scegli un colore per creare una tema per il tuo gioco di carte"
},
{
"label": "Card Back",
"description": "Use a custom back for your cards."
"label": "Dietro della carta",
"description": "Usa un retro personalizzato per le tue carte"
}
]
},
@ -69,46 +76,46 @@
"label": "Localizzazione",
"fields": [
{
"label": "Testo Gira carta",
"default": "Card turns"
"label": "Testo per i giri di carta",
"default": "Giri di carta"
},
{
"label": "Testo Tempo trascorso",
"default": "Time spent"
"label": "Testo per il tempo trascorso",
"default": "Tempo trascorso"
},
{
"label": "Testo Feedback",
"default": "Good work!"
"label": "Testo del feedback",
"default": "Buon lavoro!"
},
{
"label": "Try again button text",
"default": "Reset"
"label": "Testo del pulsante per riprovare",
"default": "Vuoi riprovare?"
},
{
"label": "Close button label",
"default": "Close"
"label": "Etichetta del pulsante di chiusura",
"default": "Chiudi"
},
{
"label": "Game label",
"default": "Memory Game. Find the matching cards."
"label": "Etichetta del gioco",
"default": "Gioco di memoria. Trova le carte corrispondenti"
},
{
"label": "Game finished label",
"default": "All of the cards have been found."
"label": "Etichetta di fine gioco",
"default": "Tutte le carte sono state trovate"
},
{
"label": "Card indexing label",
"default": "Card %num:"
"label": "Etichetta di indicizzazione della carta",
"default": "Carta %num:"
},
{
"label": "Card unturned label",
"default": "Unturned."
"label": "Etichetta della carta non voltata",
"default": "Non voltata"
},
{
"label": "Card matched label",
"default": "Match found."
"label": "Etichetta della cartata abbinata",
"default": "Trovata corrispondenza"
}
]
}
]
}
}

View File

@ -18,6 +18,10 @@
"label": "Alternative text for Image",
"description": "Describe what can be seen in the photo. The text is read by text-to-speech tools needed by visually impaired users."
},
{
"label": "Audio Track",
"description": "An optional sound that plays when the card is turned."
},
{
"label": "一致させる画像",
"description": "同じ画像の2枚のカードを使用する代わりに、別に一致させるためのオプション画像"
@ -26,6 +30,10 @@
"label": "Alternative text for Matching Image",
"description": "Describe what can be seen in the photo. The text is read by text-to-speech tools needed by visually impaired users."
},
{
"label": "Matching Audio Track",
"description": "An optional sound that plays when the second card is turned."
},
{
"label": "説明",
"description": "一致する2つのカードが見つかるとポップアップするオプションの短文テキスト。"
@ -56,8 +64,7 @@
"fields": [
{
"label": "テーマ色",
"description": "カードゲームのテーマとなる色を選択してください。",
"default": "#909090"
"description": "カードゲームのテーマとなる色を選択してください。"
},
{
"label": "カード裏",

121
language/km.json Normal file
View File

@ -0,0 +1,121 @@
{
"semantics": [
{
"widgets": [
{
"label": "Default"
}
],
"label": "Cards",
"entity": "card",
"field": {
"label": "Card",
"fields": [
{
"label": "Image"
},
{
"label": "Alternative text for Image",
"description": "Describe what can be seen in the photo. The text is read by text-to-speech tools needed by visually impaired users."
},
{
"label": "Audio Track",
"description": "An optional sound that plays when the card is turned."
},
{
"label": "Matching Image",
"description": "An optional image to match against instead of using two cards with the same image."
},
{
"label": "Alternative text for Matching Image",
"description": "Describe what can be seen in the photo. The text is read by text-to-speech tools needed by visually impaired users."
},
{
"label": "Matching Audio Track",
"description": "An optional sound that plays when the second card is turned."
},
{
"label": "Description",
"description": "An optional short text that will pop up once the two matching cards are found."
}
]
}
},
{
"label": "Behavioural settings",
"description": "These options will let you control how the game behaves.",
"fields": [
{
"label": "Position the cards in a square",
"description": "Will try to match the number of columns and rows when laying out the cards. Afterward, the cards will be scaled to fit the container."
},
{
"label": "Number of cards to use",
"description": "Setting this to a number greater than 2 will make the game pick random cards from the list of cards."
},
{
"label": "Add button for retrying when the game is over"
}
]
},
{
"label": "Look and feel",
"description": "Control the visuals of the game.",
"fields": [
{
"label": "Theme Color",
"description": "Choose a color to create a theme for your card game."
},
{
"label": "Card Back",
"description": "Use a custom back for your cards."
}
]
},
{
"label": "Localization",
"fields": [
{
"label": "Card turns text",
"default": "កាតបង្វិល"
},
{
"label": "Time spent text",
"default": "ពេលចំណាយ"
},
{
"label": "Feedback text",
"default": "ល្អណាស់!"
},
{
"label": "Try again button text",
"default": "សាកម្តងទៀត?"
},
{
"label": "Close button label",
"default": "បិទ"
},
{
"label": "Game label",
"default": "ល្បែងចងចាំ! រកកាតដែលផ្គូផ្គង"
},
{
"label": "Game finished label",
"default": "អ្នកបានរកឃើញកាតទាំងអស់ហើយ!"
},
{
"label": "Card indexing label",
"default": "កាត %num:"
},
{
"label": "Card unturned label",
"default": "មិនបានបង្វិល។"
},
{
"label": "Card matched label",
"default": "រកឃើញកាតផ្គូផ្គង។"
}
]
}
]
}

View File

@ -3,112 +3,120 @@
{
"widgets": [
{
"label": "Default"
"label": "기본값"
}
],
"label": "Cards",
"entity": "card",
"label": "카드",
"entity": "카드",
"field": {
"label": "Card",
"label": "카드",
"fields": [
{
"label": "Image"
"label": "이미지"
},
{
"label": "Alternative text for Image",
"description": "Describe what can be seen in the photo. The text is read by text-to-speech tools needed by visually impaired users."
"label": "이미지의 대체 텍스트",
"description": "사진에서 볼 수 있는 것을 묘사하세요. 이 텍스트는 시각 장애 사용자가 필요로 하는 텍스트 음성 변환 도구로 읽힌다."
},
{
"label": "Matching Image",
"description": "An optional image to match against instead of using two cards with the same image."
"label": "오디오 트랙",
"description": "카드를 돌렸을 때 재생되는 선택적 사운드."
},
{
"label": "Alternative text for Matching Image",
"description": "Describe what can be seen in the photo. The text is read by text-to-speech tools needed by visually impaired users."
"label": "매칭 이미지",
"description": "(선택사항) 같은 이미지의 두 카드를 사용하는 대신에 매칭할 수 있는 선택적 이미지."
},
{
"label": "Description",
"description": "An optional short text that will pop up once the two matching cards are found."
"label": "매칭 이미지에 대한 대체 텍스트",
"description": "사진에서 볼 수 있는 것을 묘사하세요. 이 텍스트는 시각 장애 사용자가 필요로 하는 텍스트 음성 변환 도구로 읽힌다.."
},
{
"label": "매칭 오디오 트랙",
"description": "(선택사항)두 번째 카드를 돌릴 때 재생되는 사운드"
},
{
"label": "설명",
"description": "(선택사항) 일치되는 두 장의 카드가 발견되면 팝업될 짧은 텍스트."
}
]
}
},
{
"label": "Behavioural settings",
"description": "These options will let you control how the game behaves.",
"label": "과제가 수행되는 방법 설정.",
"description": "이 옵션은 과제가 어떻게 수행될 지 환경을 설정합니다.",
"fields": [
{
"label": "Position the cards in a square",
"description": "Will try to match the number of columns and rows when laying out the cards. Afterward, the cards will be scaled to fit the container."
"label": "카드를 정사각형으로 배열하기",
"description": "카드를 놓을 때 열과 행의 개수를 맞추려고 할 것이다. 이후, 카드는 용기에 맞게 크기가 조정될 것이다."
},
{
"label": "Number of cards to use",
"description": "Setting this to a number greater than 2 will make the game pick random cards from the list of cards."
"label": "사용할 카드 수",
"description": "이것을 2보다 큰 숫자로 설정하면 게임이 카드 목록에서 무작위 카드를 선택하게 될 것이다."
},
{
"label": "Add button for retrying when the game is over"
"label": "게임 종료 시 재시도하기 위한 버튼 추가"
}
]
},
{
"label": "Look and feel",
"description": "Control the visuals of the game.",
"label": "외관과 느낌",
"description": "게임의 비주얼 관리",
"fields": [
{
"label": "Theme Color",
"description": "Choose a color to create a theme for your card game.",
"default": "#909090"
"label": "테마 색깔",
"description": "카드 게임의 테마를 만들 색을 선택하십시오."
},
{
"label": "Card Back",
"description": "Use a custom back for your cards."
"label": "카드 뒷면",
"description": "카드의 뒷면을 맞춤형으로 사용하십시오."
}
]
},
{
"label": "Localization",
"label": "맞춤형 설정",
"fields": [
{
"label": "Card turns text",
"default": "Card turns"
"label": "카드가 돌려질 때 텍스트",
"default": "카드가 돌려집니다."
},
{
"label": "Time spent text",
"default": "Time spent"
"label": "걸린 시간 텍스트",
"default": "걸린 시간"
},
{
"label": "Feedback text",
"default": "Good work!"
"label": "피드백 텍스트",
"default": "잘 했습니다.!"
},
{
"label": "Try again button text",
"default": "Try again?"
"label": "재시도 버튼 텍스트",
"default": "다시 시도하시겠습니까?"
},
{
"label": "Close button label",
"default": "Close"
"label": "닫기 버튼 텍스트",
"default": "닫기"
},
{
"label": "Game label",
"default": "Memory Game. Find the matching cards."
"label": "게임 라벨",
"default": "메모리 게임. 매칭되는 카드를 찾으세요."
},
{
"label": "Game finished label",
"default": "All of the cards have been found."
"label": "게임 완료 텍스트",
"default": "모든 카드가 발견되었습니다."
},
{
"label": "Card indexing label",
"default": "Card %num:"
"label": "카드 색인 라벨",
"default": "카드 %num:"
},
{
"label": "Card unturned label",
"default": "Unturned."
"label": "돌려지지 않은 카드 라벨",
"default": "돌려지지 않음."
},
{
"label": "Card matched label",
"default": "Match found."
"label": "매칭된 카드 라벨",
"default": "매칭되었습니다."
}
]
}
]
}
}

View File

@ -18,6 +18,10 @@
"label": "Alternative text for Image",
"description": "Describe what can be seen in the photo. The text is read by text-to-speech tools needed by visually impaired users."
},
{
"label": "Audio Track",
"description": "An optional sound that plays when the card is turned."
},
{
"label": "Tilhørende bilde",
"description": "Et valgfritt bilde som brukes av kort nummer to istedenfor å bruke to kort med samme bilde."
@ -26,6 +30,10 @@
"label": "Alternative text for Matching Image",
"description": "Describe what can be seen in the photo. The text is read by text-to-speech tools needed by visually impaired users."
},
{
"label": "Matching Audio Track",
"description": "An optional sound that plays when the second card is turned."
},
{
"label": "Beskrivelse",
"description": "En valgfri kort tekst som spretter opp når kort-paret er funnet."
@ -56,8 +64,7 @@
"fields": [
{
"label": "Temafarge",
"description": "Velg en farge for å skape et tema over kortspillet ditt.",
"default": "#909090"
"description": "Velg en farge for å skape et tema over kortspillet ditt."
},
{
"label": "Kortbaksiden",

View File

@ -18,6 +18,10 @@
"label": "Bijpassende afbeelding",
"description": "Een optionele afbeelding die past in plaats van 2 kaarten met dezelfde afbeelding."
},
{
"label": "Audio Track",
"description": "Een optioneel geluid dat afspeelt wanneer de kaart wordt omgedraaid."
},
{
"label": "Omschrijving",
"description": "Een optionele korte tekst die zal verschijnen zodra de 2 overeenkomende kaarten zijn gevonden."
@ -26,6 +30,10 @@
"label": "De alternatieve tekst voor de bijpassende afbeelding",
"description": "Omschrijf wat de afbeelding voorstelt. De tekst zal worden gelezen door tekst-naar-spraak tools voor slechtzienden."
},
{
"label": "Matching Audio Track",
"description": "Een optioneel geluid dat afspeelt wanneer de tweede kaart wordt omgedraaid."
},
{
"label": "Omschrijving",
"description": "Een optionele korte tekst die zal verschijnen zodra de 2 overeenkomende kaarten zijn gevonden."
@ -56,8 +64,7 @@
"fields": [
{
"label": "Themakleur",
"description": "Kies een themakleur voor kaarten van je geheugenspel.",
"default": "#909090"
"description": "Kies een themakleur voor kaarten van je geheugenspel."
},
{
"label": "Achterkant kaart",
@ -111,4 +118,4 @@
]
}
]
}
}

View File

@ -18,6 +18,10 @@
"label": "Alternative text for Image",
"description": "Describe what can be seen in the photo. The text is read by text-to-speech tools needed by visually impaired users."
},
{
"label": "Audio Track",
"description": "An optional sound that plays when the card is turned."
},
{
"label": "Matching Image",
"description": "An optional image to match against instead of using two cards with the same image."
@ -26,6 +30,10 @@
"label": "Alternative text for Matching Image",
"description": "Describe what can be seen in the photo. The text is read by text-to-speech tools needed by visually impaired users."
},
{
"label": "Matching Audio Track",
"description": "An optional sound that plays when the second card is turned."
},
{
"label": "Description",
"description": "An optional short text that will pop up once the two matching cards are found."
@ -56,8 +64,7 @@
"fields": [
{
"label": "Theme Color",
"description": "Choose a color to create a theme for your card game.",
"default": "#909090"
"description": "Choose a color to create a theme for your card game."
},
{
"label": "Card Back",
@ -70,45 +77,45 @@
"fields": [
{
"label": "Card turns text",
"default": "Card turns"
"default": "Kort snur"
},
{
"label": "Time spent text",
"default": "Time spent"
"default": "Tid brukt"
},
{
"label": "Feedback text",
"default": "Good work!"
"default": "Bra jobba!"
},
{
"label": "Try again button text",
"default": "Try again?"
"default": "prøv igjen?"
},
{
"label": "Close button label",
"default": "Close"
"default": "Lukk"
},
{
"label": "Game label",
"default": "Memory Game. Find the matching cards."
"default": "Memory-spel. Finn dei matchande korta."
},
{
"label": "Game finished label",
"default": "All of the cards have been found."
"default": "Alle korta har blitt funne."
},
{
"label": "Card indexing label",
"default": "Card %num:"
"default": "Kort %num:"
},
{
"label": "Card unturned label",
"default": "Unturned."
"default": "Ikkje snudd."
},
{
"label": "Card matched label",
"default": "Match found."
"default": "Match funne."
}
]
}
]
}
}

View File

@ -18,6 +18,10 @@
"label": "Alternative text for Image",
"description": "Describe what can be seen in the photo. The text is read by text-to-speech tools needed by visually impaired users."
},
{
"label": "Audio Track",
"description": "An optional sound that plays when the card is turned."
},
{
"label": "Matching Image",
"description": "An optional image to match against instead of using two cards with the same image."
@ -26,6 +30,10 @@
"label": "Alternative text for Matching Image",
"description": "Describe what can be seen in the photo. The text is read by text-to-speech tools needed by visually impaired users."
},
{
"label": "Matching Audio Track",
"description": "An optional sound that plays when the second card is turned."
},
{
"label": "Description",
"description": "An optional short text that will pop up once the two matching cards are found."
@ -56,8 +64,7 @@
"fields": [
{
"label": "Theme Color",
"description": "Choose a color to create a theme for your card game.",
"default": "#909090"
"description": "Choose a color to create a theme for your card game."
},
{
"label": "Card Back",

121
language/pt-br.json Normal file
View File

@ -0,0 +1,121 @@
{
"semantics": [
{
"widgets": [
{
"label": "Padrão"
}
],
"label": "Cartões",
"entity": "card",
"field": {
"label": "Cartão",
"fields": [
{
"label": "Imagem"
},
{
"label": "Texto alternativo para a imagem",
"description": "Descreva o que pode ser visto na foto. O texto será lido para os usuários que necessitam utilizar leitores de tela."
},
{
"label": "Audio Track",
"description": "An optional sound that plays when the card is turned."
},
{
"label": "Imagem-par",
"description": "Uma imagem opcional para ser combinada ao invés de utilizar dois cartões com a mesma imagem."
},
{
"label": "Texto alternativo para a Imagem-par",
"description": "Descreva o que pode ser visto na foto. O texto será lido para os usuários que necessitam utilizar leitores de tela."
},
{
"label": "Matching Audio Track",
"description": "An optional sound that plays when the second card is turned."
},
{
"label": "Descrição",
"description": "Um texto curto opcional que aparecerá quando duas cartas forem combinadas corretamente."
}
]
}
},
{
"label": "Configurações comportamentais",
"description": "Estas opções permitirão que você controle como o jogo funciona.",
"fields": [
{
"label": "Posicionar os cartões em um quadrado",
"description": "Tentará coincidir o número de linhas e colunas quando distribuir os cartões. Após, os cartões serão dimensionados para preencher o espaço."
},
{
"label": "Número de cartas para serem usadas",
"description": "Colocando um número maior que 2 fara com que o jogo escolha cartões aleatórios da lista de cartões."
},
{
"label": "Adicionar botão para tentar novamente quando o jogo acabar"
}
]
},
{
"label": "Aparência e percepção",
"description": "Controla o visual do jogo.",
"fields": [
{
"label": "Cor tema",
"description": "Escolha uma cor para criar um tema para seu jogo."
},
{
"label": "Verso do cartão",
"description": "Use um verso customizado para seus cartões."
}
]
},
{
"label": "Localização",
"fields": [
{
"label": "Texto de virada de cartão",
"default": "Cartão virou"
},
{
"label": "Texto de tempo gasto",
"default": "Tempo gasto"
},
{
"label": "Texto de feedback",
"default": "Bom trabalho!"
},
{
"label": "Texto do botão Tentar Novamente",
"default": "Tentar novamente?"
},
{
"label": "Rótulo do botão Fechar",
"default": "Fechar"
},
{
"label": "Rótulo do jogo",
"default": "Jogo da memória. Forme pares de cartões."
},
{
"label": "Rótulo de fim de jogo",
"default": "Todas os cartões foram encontrados."
},
{
"label": "Rótulo de índice de cartão",
"default": "Cartão %num:"
},
{
"label": "Rótulo de cartão não virado",
"default": "Não virado."
},
{
"label": "Rótulo de combinação",
"default": "Combinação encontrada."
}
]
}
]
}

View File

@ -3,110 +3,117 @@
{
"widgets": [
{
"label": "Default"
"label": "Padrão"
}
],
"label": "Cards",
"label": "Cartões",
"entity": "card",
"field": {
"label": "Card",
"label": "Cartão",
"fields": [
{
"label": "Image"
"label": "Imagem"
},
{
"label": "Alternative text for Image",
"description": "Describe what can be seen in the photo. The text is read by text-to-speech tools needed by visually impaired users."
"label": "Texto alternativo para a imagem",
"description": "Descreva o que pode ser visto na foto. O texto será lido para os usuários que necessitam utilizar leitores de tela."
},
{
"label": "Matching Image",
"description": "An optional image to match against instead of using two cards with the same image."
"label": "Audio Track",
"description": "An optional sound that plays when the card is turned."
},
{
"label": "Alternative text for Matching Image",
"description": "Describe what can be seen in the photo. The text is read by text-to-speech tools needed by visually impaired users."
"label": "Imagem-par",
"description": "Uma imagem opcional para ser combinada ao invés de utilizar dois cartões com a mesma imagem."
},
{
"label": "Description",
"description": "An optional short text that will pop up once the two matching cards are found."
"label": "Texto alternativo para a Imagem-par",
"description": "Descreva o que pode ser visto na foto. O texto será lido para os usuários que necessitam utilizar leitores de tela."
},
{
"label": "Matching Audio Track",
"description": "An optional sound that plays when the second card is turned."
},
{
"label": "Descrição",
"description": "Um texto curto opcional que aparecerá quando duas cartas forem combinadas corretamente."
}
]
}
},
{
"label": "Behavioural settings",
"description": "These options will let you control how the game behaves.",
"label": "Configurações comportamentais",
"description": "Estas opções permitirão que você controle como o jogo funciona.",
"fields": [
{
"label": "Position the cards in a square",
"description": "Will try to match the number of columns and rows when laying out the cards. Afterward, the cards will be scaled to fit the container."
"label": "Posicionar os cartões em um quadrado",
"description": "Tentará coincidir o número de linhas e colunas quando distribuir os cartões. Após, os cartões serão dimensionados para preencher o espaço."
},
{
"label": "Number of cards to use",
"description": "Setting this to a number greater than 2 will make the game pick random cards from the list of cards."
"label": "Número de cartas para serem usadas",
"description": "Colocando um número maior que 2 fara com que o jogo escolha cartões aleatórios da lista de cartões."
},
{
"label": "Add button for retrying when the game is over"
"label": "Adicionar botão para tentar novamente quando o jogo acabar"
}
]
},
{
"label": "Look and feel",
"description": "Control the visuals of the game.",
"label": "Aparência e percepção",
"description": "Controla o visual do jogo.",
"fields": [
{
"label": "Theme Color",
"description": "Choose a color to create a theme for your card game.",
"default": "#909090"
"label": "Cor tema",
"description": "Escolha uma cor para criar um tema para seu jogo."
},
{
"label": "Card Back",
"description": "Use a custom back for your cards."
"label": "Verso do cartão",
"description": "Use um verso customizado para seus cartões."
}
]
},
{
"label": "Localization",
"label": "Localização",
"fields": [
{
"label": "Card turns text",
"default": "Card turns"
"label": "Texto de virada de cartão",
"default": "Cartão virou"
},
{
"label": "Time spent text",
"default": "Time spent"
"label": "Texto de tempo gasto",
"default": "Tempo gasto"
},
{
"label": "Feedback text",
"default": "Good work!"
"label": "Texto de feedback",
"default": "Bom trabalho!"
},
{
"label": "Try again button text",
"default": "Try again?"
"label": "Texto do botão Tentar Novamente",
"default": "Tentar novamente?"
},
{
"label": "Close button label",
"default": "Close"
"label": "Rótulo do botão Fechar",
"default": "Fechar"
},
{
"label": "Game label",
"default": "Memory Game. Find the matching cards."
"label": "Rótulo do jogo",
"default": "Jogo da memória. Forme pares de cartões."
},
{
"label": "Game finished label",
"default": "All of the cards have been found."
"label": "Rótulo de fim de jogo",
"default": "Todas os cartões foram encontrados."
},
{
"label": "Card indexing label",
"default": "Card %num:"
"label": "Rótulo de índice de cartão",
"default": "Cartão %num:"
},
{
"label": "Card unturned label",
"default": "Unturned."
"label": "Rótulo de cartão não virado",
"default": "Não virado."
},
{
"label": "Card matched label",
"default": "Match found."
"label": "Rótulo de combinação",
"default": "Combinação encontrada."
}
]
}

View File

@ -18,6 +18,10 @@
"label": "Alternative text for Image",
"description": "Describe what can be seen in the photo. The text is read by text-to-speech tools needed by visually impaired users."
},
{
"label": "Audio Track",
"description": "An optional sound that plays when the card is turned."
},
{
"label": "Matching Image",
"description": "An optional image to match against instead of using two cards with the same image."
@ -26,6 +30,10 @@
"label": "Alternative text for Matching Image",
"description": "Describe what can be seen in the photo. The text is read by text-to-speech tools needed by visually impaired users."
},
{
"label": "Matching Audio Track",
"description": "An optional sound that plays when the second card is turned."
},
{
"label": "Description",
"description": "An optional short text that will pop up once the two matching cards are found."
@ -56,8 +64,7 @@
"fields": [
{
"label": "Theme Color",
"description": "Choose a color to create a theme for your card game.",
"default": "#909090"
"description": "Choose a color to create a theme for your card game."
},
{
"label": "Card Back",
@ -77,7 +84,7 @@
"default": "Time spent"
},
{
"label": "Feedback text",
"label": "Text de feedback",
"default": "Good work!"
},
{
@ -111,4 +118,4 @@
]
}
]
}
}

View File

@ -3,110 +3,117 @@
{
"widgets": [
{
"label": "Default"
"label": "По умолчанию"
}
],
"label": "Cards",
"entity": "card",
"label": "Карточки",
"entity": "карточка",
"field": {
"label": "Card",
"label": "Карточка",
"fields": [
{
"label": "Image"
"label": "Изображение"
},
{
"label": "Alternative text for Image",
"description": "Describe what can be seen in the photo. The text is read by text-to-speech tools needed by visually impaired users."
"label": "Альтернативный текст для изображения",
"description": "Опишите, что видно на фото. Текст читается с помощью инструментов преобразования текста в речь, необходимых пользователям с нарушениями зрения."
},
{
"label": "Matching Image",
"description": "An optional image to match against instead of using two cards with the same image."
"label": "Звуковая дорожка",
"description": "Дополнительный звук, который воспроизводится при повороте карточки."
},
{
"label": "Alternative text for Matching Image",
"description": "Describe what can be seen in the photo. The text is read by text-to-speech tools needed by visually impaired users."
"label": "Соответствующее изображения",
"description": "Необязательное изображение для сравнения вместо использования двух карточек с одинаковым изображением."
},
{
"label": "Description",
"description": "An optional short text that will pop up once the two matching cards are found."
"label": "Альтернативный текст для соответствующего изображения",
"description": "Describe what can be seen in the photo. Текст читается с помощью инструментов преобразования текста в речь, необходимых пользователям с нарушениями зрения."
},
{
"label": "Соответствующая звуковая дорожка",
"description": "Дополнительный звук, который воспроизводится при повороте второй карточки."
},
{
"label": "Описание",
"description": "Дополнительный короткий текст, который появится после того, как найдены две подходящие карточки."
}
]
}
},
{
"label": "Behavioural settings",
"description": "These options will let you control how the game behaves.",
"label": "Настройки поведения",
"description": "Эти параметры позволят вам контролировать поведение игры.",
"fields": [
{
"label": "Position the cards in a square",
"description": "Will try to match the number of columns and rows when laying out the cards. Afterward, the cards will be scaled to fit the container."
"label": "Положение карточки на площадке",
"description": "Постарайтесь сопоставить количество столбцов и строк при разложении карточек. После чего карточки будут масштабироваться до размера контейнера."
},
{
"label": "Number of cards to use",
"description": "Setting this to a number greater than 2 will make the game pick random cards from the list of cards."
"label": "Количество карточек для использования",
"description": "Если установить значение больше 2, игра будет выбирать случайные карточки из списка."
},
{
"label": "Add button for retrying when the game is over"
"label": "Добавить кнопку для повтора, когда игра закончена"
}
]
},
{
"label": "Look and feel",
"description": "Control the visuals of the game.",
"label": "Смотреть и чувствовать",
"description": "Управление визуальными эффектами игры.",
"fields": [
{
"label": "Theme Color",
"description": "Choose a color to create a theme for your card game.",
"default": "#909090"
"label": "Цвет темы",
"description": "Выберите цвет, чтобы создать тему для своей карточной игры."
},
{
"label": "Card Back",
"description": "Use a custom back for your cards."
"label": "Обратная сторона карточки",
"description": "Использование произвольной спины для своих карточек."
}
]
},
{
"label": "Localization",
"label": "Локализация",
"fields": [
{
"label": "Card turns text",
"default": "Card turns"
"label": "Текст перевернутой карточки",
"default": "Карточка перевернута"
},
{
"label": "Time spent text",
"default": "Time spent"
"label": "Текст затраченного времени",
"default": "Затраченное время"
},
{
"label": "Feedback text",
"default": "Good work!"
"label": "Текст обратной связи",
"default": "Хорошая работа!"
},
{
"label": "Try again button text",
"default": "Try again?"
"label": "Текст кнопки повтора",
"default": "Попробовать еще раз?"
},
{
"label": "Close button label",
"default": "Close"
"label": "Надпись кнопки закрытия",
"default": "Закрыть"
},
{
"label": "Game label",
"default": "Memory Game. Find the matching cards."
"label": "Надпись игры",
"default": "Игра на запоминание. Найти подходящие карточки."
},
{
"label": "Game finished label",
"default": "All of the cards have been found."
"label": "Надпись завершения игры",
"default": "Все карточки были найдены."
},
{
"label": "Card indexing label",
"default": "Card %num:"
"label": "Надпись номера карточки",
"default": "Карточка %num:"
},
{
"label": "Card unturned label",
"default": "Unturned."
"label": "Надпись неперевернутой карточки",
"default": "Неперевернутая."
},
{
"label": "Card matched label",
"default": "Match found."
"label": "Надпись подходящей карточки",
"default": "Соответствие найдено."
}
]
}

121
language/sl.json Normal file
View File

@ -0,0 +1,121 @@
{
"semantics": [
{
"widgets": [
{
"label": "Privzeto"
}
],
"label": "Kartice",
"entity": "kartica",
"field": {
"label": "Kartica",
"fields": [
{
"label": "Slika"
},
{
"label": "Nadomestno besedilo za prvo kartico v paru",
"description": "Besedilo opisuje videno na sliki in služi bralnikom zaslona."
},
{
"label": "Avdiozapis",
"description": "Neobvezen avdiozapis za spremljavo slike na prvi kartici para."
},
{
"label": "Ujemajoča slika",
"description": "Neobvezna slika za drugo kartico v paru. V nasprotnem primeru bosta par sestavljali kartici z enako sliko."
},
{
"label": "Nadomestno besedilo za drugo kartico v paru",
"description": "Besedilo opisuje videno na sliki in služi bralnikom zaslona."
},
{
"label": "Avdiozapis za drugo kartico v paru",
"description": "Neobvezen avdiozapis za spremljavo slike na drugi kartici para."
},
{
"label": "Opis rešitve",
"description": "Neobvezno besedilo ob uspešni povezavi kartic para."
}
]
}
},
{
"label": "Nastavitve interakcije",
"description": "Nastavitve omogočajo nadzor nad interakcijo aktivnosti za udeležence.",
"fields": [
{
"label": "Kartice poravnaj v pravokotnik",
"description": "Kartice prikaže enakomerno v obliki pravokotnika in ne zgolj poravnano v eni vrsti."
},
{
"label": "Uporabi naslednje število parov",
"description": "V primeru večjega nabora pripravljenih parov kartic, lahko izvajalec tukaj omeji (najmanj 2), koliko parov se dejansko uporabi. Ob ponovitvi aktivnosti bodo pari kartic iz celotnega nabora spet izbrani naključno."
},
{
"label": "Prikaži gumb za ponovitev aktivnosti po zaključku"
}
]
},
{
"label": "Vizualizacija",
"description": "Nastavitve izgleda kartic.",
"fields": [
{
"label": "Barvna shema",
"description": "Izbira barvne sheme kartic."
},
{
"label": "Slika hrbta kartic",
"description": "Izbira slike za hrbet kartic."
}
]
},
{
"label": "Določitev kartic",
"fields": [
{
"label": "Besedilo za obrnjene kartice",
"default": "Obrnjenih kartic"
},
{
"label": "Besedilo za porabljen čas",
"default": "Porabljen čas"
},
{
"label": "Besedilo ob zaključku naloge",
"default": "Dobro opravljeno!"
},
{
"label": "Besedilo gumba za ponoven poskus",
"default": "Poskusi ponovno?"
},
{
"label": "Besedilo gumba Zapri",
"default": "Zapri"
},
{
"label": "Besedilo aktivnosti spomin",
"default": "Poveži pare kartic."
},
{
"label": "Besedilo ob zaključku naloge",
"default": "Povezani so vsi pari."
},
{
"label": "Besedilo za razlikovanje kartic",
"default": "Kartica %num:"
},
{
"label": "Besedilo za neobrnjene kartice",
"default": "Neobrnjeno."
},
{
"label": "Besedilo ob povezanem paru",
"default": "Najden par."
}
]
}
]
}

121
language/sma.json Normal file
View File

@ -0,0 +1,121 @@
{
"semantics": [
{
"widgets": [
{
"label": "Default"
}
],
"label": "Cards",
"entity": "card",
"field": {
"label": "Card",
"fields": [
{
"label": "Image"
},
{
"label": "Alternative text for Image",
"description": "Describe what can be seen in the photo. The text is read by text-to-speech tools needed by visually impaired users."
},
{
"label": "Audio Track",
"description": "An optional sound that plays when the card is turned."
},
{
"label": "Matching Image",
"description": "An optional image to match against instead of using two cards with the same image."
},
{
"label": "Alternative text for Matching Image",
"description": "Describe what can be seen in the photo. The text is read by text-to-speech tools needed by visually impaired users."
},
{
"label": "Matching Audio Track",
"description": "An optional sound that plays when the second card is turned."
},
{
"label": "Description",
"description": "An optional short text that will pop up once the two matching cards are found."
}
]
}
},
{
"label": "Behavioural settings",
"description": "These options will let you control how the game behaves.",
"fields": [
{
"label": "Position the cards in a square",
"description": "Will try to match the number of columns and rows when laying out the cards. Afterward, the cards will be scaled to fit the container."
},
{
"label": "Number of cards to use",
"description": "Setting this to a number greater than 2 will make the game pick random cards from the list of cards."
},
{
"label": "Add button for retrying when the game is over"
}
]
},
{
"label": "Look and feel",
"description": "Control the visuals of the game.",
"fields": [
{
"label": "Theme Color",
"description": "Choose a color to create a theme for your card game."
},
{
"label": "Card Back",
"description": "Use a custom back for your cards."
}
]
},
{
"label": "Localization",
"fields": [
{
"label": "Card turns text",
"default": "Card turns"
},
{
"label": "Time spent text",
"default": "Time spent"
},
{
"label": "Feedback text",
"default": "Good work!"
},
{
"label": "Try again button text",
"default": "Try again?"
},
{
"label": "Close button label",
"default": "Close"
},
{
"label": "Game label",
"default": "Memory Game. Find the matching cards."
},
{
"label": "Game finished label",
"default": "All of the cards have been found."
},
{
"label": "Card indexing label",
"default": "Card %num:"
},
{
"label": "Card unturned label",
"default": "Unturned."
},
{
"label": "Card matched label",
"default": "Match found."
}
]
}
]
}

121
language/sme.json Normal file
View File

@ -0,0 +1,121 @@
{
"semantics": [
{
"widgets": [
{
"label": "Default"
}
],
"label": "Cards",
"entity": "card",
"field": {
"label": "Card",
"fields": [
{
"label": "Image"
},
{
"label": "Alternative text for Image",
"description": "Describe what can be seen in the photo. The text is read by text-to-speech tools needed by visually impaired users."
},
{
"label": "Audio Track",
"description": "An optional sound that plays when the card is turned."
},
{
"label": "Matching Image",
"description": "An optional image to match against instead of using two cards with the same image."
},
{
"label": "Alternative text for Matching Image",
"description": "Describe what can be seen in the photo. The text is read by text-to-speech tools needed by visually impaired users."
},
{
"label": "Matching Audio Track",
"description": "An optional sound that plays when the second card is turned."
},
{
"label": "Description",
"description": "An optional short text that will pop up once the two matching cards are found."
}
]
}
},
{
"label": "Behavioural settings",
"description": "These options will let you control how the game behaves.",
"fields": [
{
"label": "Position the cards in a square",
"description": "Will try to match the number of columns and rows when laying out the cards. Afterward, the cards will be scaled to fit the container."
},
{
"label": "Number of cards to use",
"description": "Setting this to a number greater than 2 will make the game pick random cards from the list of cards."
},
{
"label": "Add button for retrying when the game is over"
}
]
},
{
"label": "Look and feel",
"description": "Control the visuals of the game.",
"fields": [
{
"label": "Theme Color",
"description": "Choose a color to create a theme for your card game."
},
{
"label": "Card Back",
"description": "Use a custom back for your cards."
}
]
},
{
"label": "Localization",
"fields": [
{
"label": "Card turns text",
"default": "Card turns"
},
{
"label": "Time spent text",
"default": "Time spent"
},
{
"label": "Feedback text",
"default": "Good work!"
},
{
"label": "Try again button text",
"default": "Try again?"
},
{
"label": "Close button label",
"default": "Close"
},
{
"label": "Game label",
"default": "Memory Game. Find the matching cards."
},
{
"label": "Game finished label",
"default": "All of the cards have been found."
},
{
"label": "Card indexing label",
"default": "Card %num:"
},
{
"label": "Card unturned label",
"default": "Unturned."
},
{
"label": "Card matched label",
"default": "Match found."
}
]
}
]
}

121
language/smj.json Normal file
View File

@ -0,0 +1,121 @@
{
"semantics": [
{
"widgets": [
{
"label": "Default"
}
],
"label": "Cards",
"entity": "card",
"field": {
"label": "Card",
"fields": [
{
"label": "Image"
},
{
"label": "Alternative text for Image",
"description": "Describe what can be seen in the photo. The text is read by text-to-speech tools needed by visually impaired users."
},
{
"label": "Audio Track",
"description": "An optional sound that plays when the card is turned."
},
{
"label": "Matching Image",
"description": "An optional image to match against instead of using two cards with the same image."
},
{
"label": "Alternative text for Matching Image",
"description": "Describe what can be seen in the photo. The text is read by text-to-speech tools needed by visually impaired users."
},
{
"label": "Matching Audio Track",
"description": "An optional sound that plays when the second card is turned."
},
{
"label": "Description",
"description": "An optional short text that will pop up once the two matching cards are found."
}
]
}
},
{
"label": "Behavioural settings",
"description": "These options will let you control how the game behaves.",
"fields": [
{
"label": "Position the cards in a square",
"description": "Will try to match the number of columns and rows when laying out the cards. Afterward, the cards will be scaled to fit the container."
},
{
"label": "Number of cards to use",
"description": "Setting this to a number greater than 2 will make the game pick random cards from the list of cards."
},
{
"label": "Add button for retrying when the game is over"
}
]
},
{
"label": "Look and feel",
"description": "Control the visuals of the game.",
"fields": [
{
"label": "Theme Color",
"description": "Choose a color to create a theme for your card game."
},
{
"label": "Card Back",
"description": "Use a custom back for your cards."
}
]
},
{
"label": "Localization",
"fields": [
{
"label": "Card turns text",
"default": "Card turns"
},
{
"label": "Time spent text",
"default": "Time spent"
},
{
"label": "Feedback text",
"default": "Good work!"
},
{
"label": "Try again button text",
"default": "Try again?"
},
{
"label": "Close button label",
"default": "Close"
},
{
"label": "Game label",
"default": "Memory Game. Find the matching cards."
},
{
"label": "Game finished label",
"default": "All of the cards have been found."
},
{
"label": "Card indexing label",
"default": "Card %num:"
},
{
"label": "Card unturned label",
"default": "Unturned."
},
{
"label": "Card matched label",
"default": "Match found."
}
]
}
]
}

View File

@ -3,112 +3,119 @@
{
"widgets": [
{
"label": "Default"
"label": "Уобичајено"
}
],
"label": "Cards",
"label": "Картице",
"entity": "card",
"field": {
"label": "Card",
"label": "Картица",
"fields": [
{
"label": "Image"
"label": "Слика"
},
{
"label": "Alternative text for Image",
"description": "Describe what can be seen in the photo. The text is read by text-to-speech tools needed by visually impaired users."
"label": "Алтернативни текст за слику",
"description": "Опишите шта се може видети на фотографији. Текст читају алати за претварање текста у говор који су потребни корисницима са оштећеним видом."
},
{
"label": "Matching Image",
"description": "An optional image to match against instead of using two cards with the same image."
"label": "Аудио запис",
"description": "Опционални звук који се чује када се картица окрене."
},
{
"label": "Alternative text for Matching Image",
"description": "Describe what can be seen in the photo. The text is read by text-to-speech tools needed by visually impaired users."
"label": "Упарене слике",
"description": "Опционална слика за упоређивање уместо да користите две картице са истом сликом."
},
{
"label": "Description",
"description": "An optional short text that will pop up once the two matching cards are found."
"label": "Алтернативни текст за подударање слике",
"description": "пишите шта се може видети на фотографији. Текст читају алати за претварање текста у говор који су потребни корисницима са оштећеним видом."
},
{
"label": "Подударање аудио записа",
"description": "Опционални звук који се чује када се окрене друга карта."
},
{
"label": "Опис",
"description": "Необавезни кратак текст који ће се појавити када се пронађу две одговарајуће картице."
}
]
}
},
{
"label": "Behavioural settings",
"description": "These options will let you control how the game behaves.",
"label": "Поставке понашања",
"description": "Ове опције ће вам омогућити да контролишете понашање игре.",
"fields": [
{
"label": "Position the cards in a square",
"description": "Will try to match the number of columns and rows when laying out the cards. Afterward, the cards will be scaled to fit the container."
"label": "Позиција карте у квадрат",
"description": "Покушаће да усклади број колона и редова приликом полагања карата. Након тога, картице ће се скалирати тако да одговарају контејнеру."
},
{
"label": "Number of cards to use",
"description": "Setting this to a number greater than 2 will make the game pick random cards from the list of cards."
"label": "Број карата које треба користити",
"description": "Ако ово поставите на број већи од 2, игра ће изабрати случајне карте са листе карата."
},
{
"label": "Add button for retrying when the game is over"
"label": "Додај дугме за поновни покушај када се игра заврши"
}
]
},
{
"label": "Look and feel",
"description": "Control the visuals of the game.",
"label": "Погледај и осети",
"description": "Контролишите визуелне елементе игре.",
"fields": [
{
"label": "Theme Color",
"description": "Choose a color to create a theme for your card game.",
"default": "#909090"
"label": "Боја теме",
"description": "Одаберите боју да бисте креирали тему за своју игру."
},
{
"label": "Card Back",
"description": "Use a custom back for your cards."
"label": "Полеђина карте",
"description": "Користите прилагођену полеђину за картице."
}
]
},
{
"label": "Localization",
"label": "Локализација",
"fields": [
{
"label": "Card turns text",
"default": "Card turns"
"label": "Текст окрета картице",
"default": "Окретање карата"
},
{
"label": "Time spent text",
"default": "Time spent"
"label": "Текст утрошеног времена",
"default": "Утрошено време"
},
{
"label": "Feedback text",
"default": "Good work!"
"label": "Текст повратне информације",
"default": "Одлично!"
},
{
"label": "Try again button text",
"default": "Try again?"
"label": "Текст дугмета Покушај поново",
"default": "Покушај поново?"
},
{
"label": "Close button label",
"default": "Close"
"label": "Наслов дугмета Затвори",
"default": "Затвори"
},
{
"label": "Game label",
"default": "Memory Game. Find the matching cards."
"label": "Наслов Игре",
"default": "Игра Меморија"
},
{
"label": "Game finished label",
"default": "All of the cards have been found."
"label": "Текст завршетка игре",
"default": "Све карте су пронађене."
},
{
"label": "Card indexing label",
"default": "Card %num:"
"label": "Ознака за индексирање картица",
"default": "Картица %num:"
},
{
"label": "Card unturned label",
"default": "Unturned."
"label": "Наслов Неокренуте картице",
"default": "Неокренуте."
},
{
"label": "Card matched label",
"default": "Match found."
"label": "Наслов Картице се подударају",
"default": "Подударају се картице."
}
]
}
]
}
}

View File

@ -18,6 +18,10 @@
"label": "Alternative text for Image",
"description": "Describe what can be seen in the photo. The text is read by text-to-speech tools needed by visually impaired users."
},
{
"label": "Audio Track",
"description": "An optional sound that plays when the card is turned."
},
{
"label": "Matching Image",
"description": "An optional image to match against instead of using two cards with the same image."
@ -26,6 +30,10 @@
"label": "Alternative text for Matching Image",
"description": "Describe what can be seen in the photo. The text is read by text-to-speech tools needed by visually impaired users."
},
{
"label": "Matching Audio Track",
"description": "An optional sound that plays when the second card is turned."
},
{
"label": "Description",
"description": "An optional short text that will pop up once the two matching cards are found."
@ -34,7 +42,7 @@
}
},
{
"label": "Behavioural settings",
"label": "Beteende-inställningar",
"description": "These options will let you control how the game behaves.",
"fields": [
{
@ -56,8 +64,7 @@
"fields": [
{
"label": "Theme Color",
"description": "Choose a color to create a theme for your card game.",
"default": "#909090"
"description": "Choose a color to create a theme for your card game."
},
{
"label": "Card Back",
@ -77,7 +84,7 @@
"default": "Time spent"
},
{
"label": "Feedback text",
"label": "Feedbacktext",
"default": "Good work!"
},
{
@ -111,4 +118,4 @@
]
}
]
}
}

View File

@ -3,112 +3,119 @@
{
"widgets": [
{
"label": "Default"
"label": "Varsayılan"
}
],
"label": "Cards",
"entity": "card",
"label": "Kartlar",
"entity": "kart",
"field": {
"label": "Card",
"label": "kart",
"fields": [
{
"label": "Image"
"label": "Resim"
},
{
"label": "Alternative text for Image",
"description": "Describe what can be seen in the photo. The text is read by text-to-speech tools needed by visually impaired users."
"label": "Resim için alt metin",
"description": "Resimde neler göründüğünü açıklayın. Alt metin, görme engelli kullanıcıların resim için ihtiyaç duyduğu açıklamadır. Yardımcı teknolojiler ile okunur."
},
{
"label": "Matching Image",
"description": "An optional image to match against instead of using two cards with the same image."
"label": "Müzik Parçası",
"description": "Kart döndürüldüğünde çalınması istenen ses (isteğe bağlı)."
},
{
"label": "Alternative text for Matching Image",
"description": "Describe what can be seen in the photo. The text is read by text-to-speech tools needed by visually impaired users."
"label": "Eşleştirilen Resim",
"description": "Aynı görüntüye sahip iki kart kullanmak yerine eşleştirilecek farklı bir resim seçebilirsiniz (isteğe bağlı)."
},
{
"label": "Description",
"description": "An optional short text that will pop up once the two matching cards are found."
"label": "Eşleştirilen resim için alt metin",
"description": "Resimde neler göründüğünü açıklayın. Alt metin, görme engelli kullanıcıların resim için ihtiyaç duyduğu açıklamadır. Yardımcı teknolojiler ile okunur."
},
{
"label": "Eşleştirilen için müzik parçası",
"description": "İkinci kart döndürüldüğünde çalınması istenen ses (isteğe bağlı)."
},
{
"label": "Açıklama",
"description": "Kartlar eşleştiğinde açılır kutuda kısa metin (isteğe bağlı)."
}
]
}
},
{
"label": "Behavioural settings",
"description": "These options will let you control how the game behaves.",
"label": "Etkinlik ayarları",
"description": "Bu seçenekler aktivitenin çalışma şeklini denetlemenize izin verir.",
"fields": [
{
"label": "Position the cards in a square",
"description": "Will try to match the number of columns and rows when laying out the cards. Afterward, the cards will be scaled to fit the container."
"label": "Kartları kare şeklinde yerleştirin.",
"description": "Kartları yerleştirirken satır ve sütun sayısını eşitlenmeye çalışılacaktır. Daha sonra kartlar çerçeveye sığacak şekilde ölçeklendirilecektir."
},
{
"label": "Number of cards to use",
"description": "Setting this to a number greater than 2 will make the game pick random cards from the list of cards."
"label": "Kullanılacak kart sayısı",
"description": "İkiden büyük bir sayı girerek, oyunda kart havuzundan belirttiğiniz sayıda rastgele kartlar kullanabilirsiniz."
},
{
"label": "Add button for retrying when the game is over"
"label": "Oyun bittiğinde yeniden başlatmak için bir buton ekleyin"
}
]
},
{
"label": "Look and feel",
"description": "Control the visuals of the game.",
"label": "Görünüm ve doku",
"description": "Oyunun görselliğini değiştirin.",
"fields": [
{
"label": "Theme Color",
"description": "Choose a color to create a theme for your card game.",
"default": "#909090"
"label": "Tema rengi",
"description": "Kart oyunu teması için bir renk seçiniz."
},
{
"label": "Card Back",
"description": "Use a custom back for your cards."
"label": "Kart Görünümü",
"description": "Kart arkası için bir görünüm seçin."
}
]
},
{
"label": "Localization",
"label": "Yerelleştirme",
"fields": [
{
"label": "Card turns text",
"default": "Card turns"
"label": "Kart döndürme metni",
"default": "Kart dönüşleri"
},
{
"label": "Time spent text",
"default": "Time spent"
"label": "Geçen süre metni",
"default": "Geçen süre"
},
{
"label": "Feedback text",
"default": "Good work!"
"label": "Geri bildirim meni",
"default": "İyi oyundu!"
},
{
"label": "Try again button text",
"default": "Try again?"
"label": "Tekrar",
"default": "Tekrar denemek ister misiniz?"
},
{
"label": "Close button label",
"default": "Close"
"label": "Kapatma butonu etiketi",
"default": "Kapat"
},
{
"label": "Game label",
"default": "Memory Game. Find the matching cards."
"label": "Oyun Başlığı",
"default": "Hazfıza oyunu. Kartları eşleştirin."
},
{
"label": "Game finished label",
"default": "All of the cards have been found."
"label": "Oyun bitti etiketi",
"default": "Tüm kartlar eşleştirildi."
},
{
"label": "Card indexing label",
"default": "Card %num:"
"label": "Kart sıra etiketi",
"default": "Kart %num:"
},
{
"label": "Card unturned label",
"default": "Unturned."
"label": "Kart döndürülmemiş etiketi",
"default": "Döndürülmedi."
},
{
"label": "Card matched label",
"default": "Match found."
"label": "Kart eşleşme etiketi",
"default": "Eşleştirildi."
}
]
}
]
}
}

121
language/uk.json Normal file
View File

@ -0,0 +1,121 @@
{
"semantics": [
{
"widgets": [
{
"label": "По умовчанню"
}
],
"label": "Карточки",
"entity": "карточка",
"field": {
"label": "Карточка",
"fields": [
{
"label": "Зображення"
},
{
"label": "Альтернативний текст для зображення",
"description": "Опишіть, що видно на фото. Текст читаеться за допомогою інструментів перетворення тексту в мову, необхідну користувачам з порушенням зору."
},
{
"label": "Звукова доріжка",
"description": "Додатковий звук, який відтворюється при повороті карточки."
},
{
"label": "Відповідне зображення",
"description": "Необов'язкове зображення для співставлення замість використання двох карточок з однаковими зображеннями."
},
{
"label": "Альтернативний текст для відповідного зображення",
"description": "Опишіть, що видно на фото. Текст читаеться за допомогою інструментів перетворення тексту в мову, необхідну користувачам з порушенням зору."
},
{
"label": "Відповідна звукова доріжка",
"description": "Додатковий звук, який відтворюється при повороті карточки."
},
{
"label": "Опис",
"description": "Додатковий короткий текст, який появиться після того, як знайдено дві відповідні карточки."
}
]
}
},
{
"label": "Настройки поведінки",
"description": "Ці параметри дозволять вам контролювати поведінку гри.",
"fields": [
{
"label": "Розміщення карточки на площадці",
"description": "Постарайтеся співставити кількість стовпчиків і рядків при разкладанні карточок. Після чого карточки будуть масштабуватися до разміру контейнера."
},
{
"label": "Кількість карточок для використання",
"description": "Якщо встановити значення більше 2, гра будет обирати випадкові карточки із списку."
},
{
"label": "Добавити кнопку для повтору, коли гра закінчена"
}
]
},
{
"label": "Дивитися і відчувати",
"description": "Керування візуальними ефектами гри.",
"fields": [
{
"label": "Колір теми",
"description": "Оберіть колір, щоб створити тему для своеї карточної гри."
},
{
"label": "Зворотня сторона карточки",
"description": "Використання довільної сорочки для своїх карточок."
}
]
},
{
"label": "Локалізація",
"fields": [
{
"label": "Текст перевернутої карточки",
"default": "Карточка перевернута"
},
{
"label": "Текст витраченого часу",
"default": "Витречено часу"
},
{
"label": "Текст зворотнього зв'зку",
"default": "Гарна робота!"
},
{
"label": "Текст кнопки повтору",
"default": "Спробувати ще раз?"
},
{
"label": "Надпис кнопки закриття",
"default": "Закрить"
},
{
"label": "Надпис гри",
"default": "Гра на запам'ятовування. Знайди відповідні карточки."
},
{
"label": "Надпис завершення гри",
"default": "Всі карточки були знайдені."
},
{
"label": "Надпис номера карточки",
"default": "Карточка %num:"
},
{
"label": "Надпис неперевернутої карточки",
"default": "Неперевернута."
},
{
"label": "Надпис відповідної карточки",
"default": "Відповідність знайдено."
}
]
}
]
}

View File

@ -18,6 +18,10 @@
"label": "Alternative text for Image",
"description": "Describe what can be seen in the photo. The text is read by text-to-speech tools needed by visually impaired users."
},
{
"label": "Audio Track",
"description": "An optional sound that plays when the card is turned."
},
{
"label": "Matching Image",
"description": "An optional image to match against instead of using two cards with the same image."
@ -26,6 +30,10 @@
"label": "Alternative text for Matching Image",
"description": "Describe what can be seen in the photo. The text is read by text-to-speech tools needed by visually impaired users."
},
{
"label": "Matching Audio Track",
"description": "An optional sound that plays when the second card is turned."
},
{
"label": "Description",
"description": "An optional short text that will pop up once the two matching cards are found."
@ -56,8 +64,7 @@
"fields": [
{
"label": "Theme Color",
"description": "Choose a color to create a theme for your card game.",
"default": "#909090"
"description": "Choose a color to create a theme for your card game."
},
{
"label": "Card Back",

121
language/zh-hans.json Normal file
View File

@ -0,0 +1,121 @@
{
"semantics": [
{
"widgets": [
{
"label": "预设"
}
],
"label": "所有卡片",
"entity": "卡片",
"field": {
"label": "卡片",
"fields": [
{
"label": "图像"
},
{
"label": "配对图像(非必要项)",
"description": "如果游戏中要配对的不是同一张图像,那么可以在这里添加要配对的另一张图像。"
},
{
"label": "音轨",
"description": "翻转卡片时可选声音."
},
{
"label": "配对成功文字(非必要项)",
"description": "在找到配对时会显示的文字讯息。"
},
{
"label": "配对图像的替代文字",
"description": "在报读器上用、或是配对图像无法正常输出时的文字。"
},
{
"label": "匹配音轨",
"description": "翻转第二张卡片时可选声音."
},
{
"label": "配对成功文字(非必要项)",
"description": "在找到配对时会显示的文字讯息。"
}
]
}
},
{
"label": "行为设置",
"description": "让你控制游戏行为的一些设置。",
"fields": [
{
"label": "将所有卡片显示在方形容器",
"description": "在布置卡片时,将尝试匹配列数和行数。之后,卡片将被缩放以适合容器。"
},
{
"label": "卡片的使用数量",
"description": "游戏中配对的卡片组合数量,设定后会从卡片集中随机挑选指定组合数,数字必须大于 2。"
},
{
"label": "显示「再试一次」按钮"
}
]
},
{
"label": "外观",
"description": "控制游戏的视觉效果。",
"fields": [
{
"label": "主题色调",
"description": "选择游戏环境要使用的色调。"
},
{
"label": "背面图像(非必要项)",
"description": "允许自定义卡片背景要使用的图片。"
}
]
},
{
"label": "本地化",
"fields": [
{
"label": "翻牌次数的显示文字",
"default": "翻牌次数"
},
{
"label": "花费时间的显示文字",
"default": "花费时间"
},
{
"label": "游戏过关的显示文字",
"default": "干得好!"
},
{
"label": "重试按钮的显示文字",
"default": "再试一次"
},
{
"label": "关闭按钮的显示文字",
"default": "关闭"
},
{
"label": "游戏说明的显示文字",
"default": "卡片记忆游戏,找出配对的所有图片吧!"
},
{
"label": "游戏结束的显示文字",
"default": "已配对完所有卡片。"
},
{
"label": "卡片索引的显示文字",
"default": "%num: 张卡片"
},
{
"label": "卡片未翻开的显示文字",
"default": "还没翻开。"
},
{
"label": "卡片已配对的显示文字",
"default": "配对成功。"
}
]
}
]
}

View File

@ -18,6 +18,10 @@
"label": "配對圖像(非必要項)",
"description": "如果遊戲中要配對的不是同一張圖像,那麼可以在這裡添加要配對的另一張圖像。"
},
{
"label": "Audio Track",
"description": "An optional sound that plays when the card is turned."
},
{
"label": "配對成功文字(非必要項)",
"description": "在找到配對時會跳出的文字訊息。"
@ -26,6 +30,10 @@
"label": "配對圖像的替代文字",
"description": "在報讀器上用、或是配對圖像無法正常輸出時顯示的文字。"
},
{
"label": "Matching Audio Track",
"description": "An optional sound that plays when the second card is turned."
},
{
"label": "配對成功文字(非必要項)",
"description": "在找到配對時會跳出的文字訊息。"
@ -56,8 +64,7 @@
"fields": [
{
"label": "主題色調",
"description": "選擇遊戲環境要使用的色調。",
"default": "#909090"
"description": "選擇遊戲環境要使用的色調。"
},
{
"label": "背面圖像(非必要項)",

View File

@ -18,6 +18,10 @@
"label": "Alternative text for Image",
"description": "Describe what can be seen in the photo. The text is read by text-to-speech tools needed by visually impaired users."
},
{
"label": "Audio Track",
"description": "An optional sound that plays when the card is turned."
},
{
"label": "相稱圖示",
"description": "可選用一張與主圖示相稱的圖示,並非使用兩張相同的圖示."
@ -26,6 +30,10 @@
"label": "相稱圖示的替代文字",
"description": "請描述此張圖示中可以看到什麼. 此段文字將做為閱讀器導讀文字,對視障使用者更為友善."
},
{
"label": "Matching Audio Track",
"description": "An optional sound that plays when the second card is turned."
},
{
"label": "描述",
"description": "選填。當找到兩張相稱圖示時所顯示的文字."
@ -56,8 +64,7 @@
"fields": [
{
"label": "主題顏色",
"description": "為您的翻轉記憶牌遊戲設定一種顏色主題.",
"default": "#909090"
"description": "為您的翻轉記憶牌遊戲設定一種顏色主題."
},
{
"label": "記憶牌背面圖示",

View File

@ -2,8 +2,8 @@
"title": "Memory Game",
"description": "See how many cards you can remember!",
"majorVersion": 1,
"minorVersion": 2,
"patchVersion": 12,
"minorVersion": 3,
"patchVersion": 7,
"runnable": 1,
"author": "Joubel",
"license": "MIT",
@ -52,6 +52,11 @@
"machineName": "H5PEditor.VerticalTabs",
"majorVersion": 1,
"minorVersion": 3
},
{
"machineName": "H5PEditor.AudioRecorder",
"majorVersion": 1,
"minorVersion": 0
}
]
}
}

View File

@ -318,3 +318,28 @@
.h5p-memory-game .h5p-programatically-focusable {
outline: none;
}
.h5p-memory-audio-instead-of-image {
font-family: 'H5PFontAwesome4';
width: 100%;
height: 100%;
font-style: normal;
color: #404040;
font-size: 2em;
}
.h5p-memory-audio-button {
position: absolute;
top: 0;
right: 0;
font-family: 'H5PFontAwesome4';
width: 1em;
height: 1em;
line-height: 1;
}
.h5p-memory-audio-instead-of-image:before,
.h5p-memory-audio-button:before {
content: "\f026";
}
.h5p-memory-audio-playing .h5p-memory-audio-instead-of-image:before,
.h5p-memory-audio-playing .h5p-memory-audio-button:before {
content: "\f028";
}

View File

@ -22,7 +22,7 @@ H5P.MemoryGame = (function (EventDispatcher, $) {
// Initialize event inheritance
EventDispatcher.call(self);
var flipped, timer, counter, popup, $bottom, $taskComplete, $feedback, $wrapper, maxWidth, numCols;
var flipped, timer, counter, popup, $bottom, $taskComplete, $feedback, $wrapper, maxWidth, numCols, audioCard;
var cards = [];
var flipBacks = []; // Que of cards to be flipped back
var numFlipped = 0;
@ -218,6 +218,9 @@ H5P.MemoryGame = (function (EventDispatcher, $) {
*/
var addCard = function (card, mate) {
card.on('flip', function () {
if (audioCard) {
audioCard.stopAudio();
}
// Always return focus to the card last flipped
for (var i = 0; i < cards.length; i++) {
@ -260,6 +263,15 @@ H5P.MemoryGame = (function (EventDispatcher, $) {
// Count number of cards turned
counter.increment();
});
card.on('audioplay', function () {
if (audioCard) {
audioCard.stopAudio();
}
audioCard = card;
});
card.on('audiostop', function () {
audioCard = undefined;
});
/**
* Create event handler for moving focus to the next or the previous
@ -384,16 +396,16 @@ H5P.MemoryGame = (function (EventDispatcher, $) {
var cardParams = cardsToUse[i];
if (MemoryGame.Card.isValid(cardParams)) {
// Create first card
var cardTwo, cardOne = new MemoryGame.Card(cardParams.image, id, cardParams.imageAlt, parameters.l10n, cardParams.description, cardStyles);
var cardTwo, cardOne = new MemoryGame.Card(cardParams.image, id, cardParams.imageAlt, parameters.l10n, cardParams.description, cardStyles, cardParams.audio);
if (MemoryGame.Card.hasTwoImages(cardParams)) {
// Use matching image for card two
cardTwo = new MemoryGame.Card(cardParams.match, id, cardParams.matchAlt, parameters.l10n, cardParams.description, cardStyles);
cardTwo = new MemoryGame.Card(cardParams.match, id, cardParams.matchAlt, parameters.l10n, cardParams.description, cardStyles, cardParams.matchAudio);
cardOne.hasTwoImages = cardTwo.hasTwoImages = true;
}
else {
// Add two cards with the same image
cardTwo = new MemoryGame.Card(cardParams.image, id, cardParams.imageAlt, parameters.l10n, cardParams.description, cardStyles);
cardTwo = new MemoryGame.Card(cardParams.image, id, cardParams.imageAlt, parameters.l10n, cardParams.description, cardStyles, cardParams.audio);
}
// Add cards to card list for shuffeling
@ -424,9 +436,10 @@ H5P.MemoryGame = (function (EventDispatcher, $) {
for (var i = 0; i < cards.length; i++) {
cards[i].appendTo($list);
}
cards[0].makeTabbable();
if ($list.children().length) {
cards[0].makeTabbable();
$('<div/>', {
id: 'h5p-intro-' + numInstances,
'class': 'h5p-memory-hidden-read',
@ -464,6 +477,13 @@ H5P.MemoryGame = (function (EventDispatcher, $) {
popup.close();
});
}
else {
const $foo = $('<div/>')
.text('No card was added to the memory game!')
.appendTo($list);
$list.appendTo($container);
}
};
/**

View File

@ -13,7 +13,7 @@
var closed;
var $popup = $('<div class="h5p-memory-pop" role="dialog"><div class="h5p-memory-top"></div><div class="h5p-memory-desc h5p-programatically-focusable" tabindex="-1"></div><div class="h5p-memory-close" role="button" tabindex="0" title="' + (l10n.closeLabel || 'Close') + '"></div></div>').appendTo($container);
var $popup = $('<div class="h5p-memory-pop" role="dialog"><div class="h5p-memory-top"></div><div class="h5p-memory-desc h5p-programatically-focusable" tabindex="-1"></div><div class="h5p-memory-close" role="button" tabindex="0" title="' + (l10n.closeLabel || 'Close') + '" aria-label="' + (l10n.closeLabel || 'Close') + '"></div></div>').appendTo($container);
var $desc = $popup.find('.h5p-memory-desc');
var $top = $popup.find('.h5p-memory-top');

View File

@ -33,6 +33,15 @@
"importance": "high",
"description": "Describe what can be seen in the photo. The text is read by text-to-speech tools needed by visually impaired users."
},
{
"name": "audio",
"type": "audio",
"importance": "high",
"label": "Audio Track",
"description": "An optional sound that plays when the card is turned.",
"optional": true,
"widgetExtensions": ["AudioRecorder"]
},
{
"name": "match",
"type": "image",
@ -50,6 +59,15 @@
"optional": true,
"description": "Describe what can be seen in the photo. The text is read by text-to-speech tools needed by visually impaired users."
},
{
"name": "matchAudio",
"type": "audio",
"importance": "low",
"label": "Matching Audio Track",
"description": "An optional sound that plays when the second card is turned.",
"optional": true,
"widgetExtensions": ["AudioRecorder"]
},
{
"name": "description",
"type": "text",
@ -207,4 +225,4 @@
}
]
}
]
]