0.0.10 • Published 10 years ago

ecg-quicktest-texts v0.0.10

Weekly downloads
3
License
-
Repository
github
Last release
10 years ago

ECG quick test data Build Status NPM version

This package contains the texts for the ECG quick test and tests to validate their proper structure.

Installation

Requirements:

  • Node.js 0.10.x
npm install --save ecg-quicktest-texts

Data

The data is saved as JSON files (*.<lang>.json) in the data/ folder.

Exports

This module exports the data in the following form:

{
  de: { /* German quick test data */ },
  en: { /* English quick test data */ },
}

Tests

The data files and the module are tested with Mocha and Chai.

View the tests

Open the tests

Run the tests

npm test

Roadmap

  • :white_check_mark: add German texts.
  • :arrow_right: add English translation.
  • add Spanish translation.

Contributing

Feel free to contribute to the Roadmap or otherwise.

Translation

All texts for a single language are contained in single file data/quicktest-texts.<matrix-version>.<lang>.json.

If you want to help with translating the texts:

  • if a file with the desired language does not exist in the data/ folder, create it.
  • open the file for translation and
    • you will see a lot of data in the format <key>: <value> (e.g. "name": "Schnelltest Gemeinwohl-Ökonomie")
    • do not translate any keys.
    • translate all values, except those belonging to the following keys:
      • matrixVersion
      • structure.participants.type
      • structure.individualAnswer.evaluationValues.value
      • structure.result.feedback.level
      • test.questions.stakeholders/ecgValue

To do this you can either:

  • collaborate through GitHub (See how in this video):
    • fork the repository
    • translate the files
    • If you can, run npm test to make sure that the tests are still running successfully after your changes.
    • send a pull request
  • email the translated files to the main developer, see below.

Issues and Features

Share issues and desired features in GitHub.

License

  • All files under data/ contain texts from the Economy for the Common Good (ECG) movement which are released under the Creative Commons Share Alike license.
  • All other files are under the MIT License.

Developers

Release History

  • 0.0.10 - add dot at the end of the pitch.
  • 0.0.9 - remove a double sentence in the German translation.
  • 0.0.6 - tests fixed.
  • 0.0.5 - add result level, remove app specific translations.
  • 0.0.4 - added module tests and grunt.
  • 0.0.3 - fixed tests and added travis CI.
  • 0.0.2 - Simplified the JSON structure, moved the repository to the new ECG GitHub account, updated collaboration info.
  • 0.0.1 - Added german quick test data and few tests.
0.0.10

10 years ago

0.0.9

10 years ago

0.0.8

10 years ago

0.0.7

10 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago