Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Galician accents #3038

Closed
wants to merge 23 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
e6ac2b5
Pontoon: Update Thai (th) localization of Common Voice
ppnplus Jul 29, 2020
bcf2ea6
Pontoon: Update Sorbian, Upper (hsb) localization of Common Voice
milupo Jul 29, 2020
d95d00a
Pontoon: Update Sorbian, Upper (hsb) localization of Common Voice
milupo Jul 29, 2020
4afe3bb
Pontoon: Update Croatian (hr) localization of Common Voice
milotype Jul 29, 2020
e49723d
Pontoon: Update Sorbian, Lower (dsb) localization of Common Voice
milupo Jul 29, 2020
44bccc4
Change repo name and default branch name (#2854)
phirework Jul 30, 2020
ce1d43f
Pontoon: Update Vietnamese (vi) localization of Common Voice
Jul 30, 2020
5ed5ed7
Pontoon: Update Welsh (cy) localization of Common Voice
rprys Jul 30, 2020
bc46d70
Pontoon: Update Luganda (lg) localization of Common Voice
lawk Jul 30, 2020
a15718a
Pontoon: Update Luganda (lg) localization of Common Voice
lawk Jul 30, 2020
c336658
Pontoon: Update Danish (da) localization of Common Voice
jakobkappel Jul 30, 2020
0fb1d92
Pontoon: Update Luganda (lg) localization of Common Voice
lawk Jul 30, 2020
509a480
Pontoon: Update Luganda (lg) localization of Common Voice
lawk Jul 30, 2020
d77c6cb
Pontoon: Update Luganda (lg) localization of Common Voice
lawk Jul 30, 2020
dfbf746
Pontoon: Update Luganda (lg) localization of Common Voice
lawk Jul 30, 2020
08c2b62
Pontoon: Update Luganda (lg) localization of Common Voice
lawk Jul 30, 2020
54f18ea
Change env variable names in user deletion script
phirework Aug 6, 2020
ca17990
Fixes localization issue #2832 (#2847)
phirework Aug 7, 2020
accda76
Add new RW sentences
rutsam Aug 10, 2020
fe1b1ef
New partner RW sentence 8th sentence batch (#2873)
rutsam Aug 14, 2020
6b0cd1d
Fix(Image-over-nav-issue) (#2706)
shakti97 Oct 26, 2020
9db4326
NEW PARTNER RW BATCH 9 SENTENCES (#2946)
rutsam Dec 7, 2020
8edaf87
NEW PARTNER RW BATCH 10 SENTENCES (#2958)
rutsam Dec 15, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -40,7 +40,7 @@ deploy:
provider: script
on:
all_branches: true
condition: ($TRAVIS_TAG != "" || $TRAVIS_BRANCH =~ ^(master|production|stage)$) && ! $TRAVIS_COMMIT_MESSAGE =~ ^Pontoon:*
condition: ($TRAVIS_TAG != "" || $TRAVIS_BRANCH =~ ^(main|production|stage)$) && ! $TRAVIS_COMMIT_MESSAGE =~ ^Pontoon:*
script: docker push "$IMAGE_NAME:$REVISION_TAG" && docker push "$IMAGE_NAME:$SYMBOLIC_TAG"
env:
global:
Expand Down
20 changes: 10 additions & 10 deletions CONTRIBUTING.md
Expand Up @@ -16,7 +16,7 @@ Help us add more sentences for other volunteers to read. We've written [a detail

### Bug Fixes and Feature Enhancements

All of our current issues can be found here on GitHub. Anything with a [help wanted](https://github.com/mozilla/voice-web/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22) tag is definitely up for grabs. If you're interested in an issues without this tag, best to ask first to make sure our vision of it aligns.
All of our current issues can be found here on GitHub. Anything with a [help wanted](https://github.com/mozilla/common-voice/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22) tag is definitely up for grabs. If you're interested in an issues without this tag, best to ask first to make sure our vision of it aligns.

#### Project requirements

Expand All @@ -36,19 +36,19 @@ We provide a [docker-compose](https://docs.docker.com/compose/) setup to orchest

##### Setup

[Fork](https://help.github.com/articles/fork-a-repo/) and [clone](https://help.github.com/articles/cloning-a-repository/) the repository onto your computer. Then run the following commands to spin off `voice-web`:
[Fork](https://help.github.com/articles/fork-a-repo/) and [clone](https://help.github.com/articles/cloning-a-repository/) the repository onto your computer. Then run the following commands to spin off `common-voice`:

```
> cd voice-web
> cd common-voice
> docker-compose up
```

This is going to:

- Launch a mysql instance configured for `voice-web`
- Launch a mysql instance configured for `common-voice`
- Launch an s3proxy instance to store files locally and avoid going through setting up AWS S3.
- Mount the project using a Docker volume to allow reflecting changes to the codebase directly to the container.
- Launch `voice-web` server
- Launch `common-voice` server

You can visit the website at [http://localhost:9000](http://localhost:9000).

Expand Down Expand Up @@ -91,7 +91,7 @@ You may have to run these commands as root/superuser.

[Fork](https://help.github.com/articles/fork-a-repo/) and [clone](https://help.github.com/articles/cloning-a-repository/) the repository onto your computer.

Either create a MySQL superuser that that uses the default `DB_ROOT_USER` and `DB_ROOT_PASS` values from `/server/src/config-helper.ts` or [create your own config](https://github.com/mozilla/voice-web/blob/master/CONTRIBUTING.md#configuration).
Either create a MySQL superuser that that uses the default `DB_ROOT_USER` and `DB_ROOT_PASS` values from `/server/src/config-helper.ts` or [create your own config](https://github.com/mozilla/common-voice/blob/main/CONTRIBUTING.md#configuration).

Then `cd` into the project directory and enter the following commands:

Expand Down Expand Up @@ -144,9 +144,9 @@ You do not need to set up NewRelic, except if you fix anything related to that.
During the server start (after running ‘yarn start’), you might notice an error log similar to this:

```
at Class.exports.up (/Users/admin/Desktop/myprojects/mozilla/voice-web-master/server/src/lib/model/db/migrations/20180910121256-user-sso-fields.ts:2:13)
at Class.exports.up (/Users/admin/Desktop/myprojects/mozilla/common-voice-master/server/src/lib/model/db/migrations/20180910121256-user-sso-fields.ts:2:13)
....
[BE] at /Users/admin/Desktop/myprojects/mozilla/voice-web-master/node_modules/db-migrate/lib/migrator.js:237:31 {
[BE] at /Users/admin/Desktop/myprojects/mozilla/common-voice-master/node_modules/db-migrate/lib/migrator.js:237:31 {
[BE] code: 'ER_BLOB_CANT_HAVE_DEFAULT',
[BE] errno: 1101,
[BE] sqlMessage: "BLOB, TEXT, GEOMETRY or JSON column 'username' can't have a default value",
Expand Down Expand Up @@ -225,7 +225,7 @@ Migrations are always run when the server is started.

#### Making Strings localizable

We're using [Fluent](http://projectfluent.org/) to localize strings. You can find examples all over the frontend code. Strings that appear in the [english message files](https://github.com/mozilla/voice-web/tree/master/web/locales/en), can then be translated on [Pontoon](https://pontoon.mozilla.org/projects/common-voice/). Some things to note regarding string changes are documented on [MDN](https://developer.mozilla.org/en-US/docs/Mozilla/Localization/Localization_content_best_practices#Changing_existing_strings).
We're using [Fluent](http://projectfluent.org/) to localize strings. You can find examples all over the frontend code. Strings that appear in the [english message files](https://github.com/mozilla/common-voice/tree/main/web/locales/en), can then be translated on [Pontoon](https://pontoon.mozilla.org/projects/common-voice/). Some things to note regarding string changes are documented on [MDN](https://developer.mozilla.org/en-US/docs/Mozilla/Localization/Localization_content_best_practices#Changing_existing_strings).

#### Import languages

Expand Down Expand Up @@ -262,7 +262,7 @@ The project is organized into the following directories:

## Submitting an Issue

Did you notice a bug? Do you have a feature request? Please file an issue [here on GitHub](https://github.com/mozilla/voice-web/issues).
Did you notice a bug? Do you have a feature request? Please file an issue [here on GitHub](https://github.com/mozilla/common-voice/issues).

## Something Else?

Expand Down
4 changes: 2 additions & 2 deletions README.md
@@ -1,4 +1,4 @@
## Common Voice [![Travis Status](https://travis-ci.org/mozilla/voice-web.svg?branch=master)](https://travis-ci.org/mozilla/voice-web)
## Common Voice [![Travis Status](https://travis-ci.org/mozilla/voice-web.svg?branch=main)](https://travis-ci.org/mozilla/voice-web)

This is the web app for Mozilla Common Voice, a platform for collecting speech donations in order to create public domain datasets for training voice recognition-related tools.

Expand All @@ -16,7 +16,7 @@ This repository is released under [MPL (Mozilla Public License) 2.0](LICENSE).

The majority of our sentence text in `/server/data` comes directly from user submissions in our [Sentence Collector](https://github.com/Common-Voice/sentence-collector/) or they are scraped from Wikipedia using our [extractor tool](https://github.com/Common-Voice/common-voice-wiki-scraper), and are released under a [CC0 public domain Creative Commons license](https://creativecommons.org/share-your-work/public-domain/cc0/).

Any files that follow the pattern `europarl-VERSION-LANG.txt` (such as [europarl-v7-de.txt](https://github.com/mozilla/voice-web/blob/master/server/data/de/europarl-v7-de.txt)) were extracted with our thanks from the [Europarl Corpus](http://www.statmt.org/europarl/), which features transcripts from proceedings in the European parliament.
Any files that follow the pattern `europarl-VERSION-LANG.txt` (such as [europarl-v7-de.txt](https://github.com/mozilla/voice-web/blob/main/server/data/de/europarl-v7-de.txt)) were extracted with our thanks from the [Europarl Corpus](http://www.statmt.org/europarl/), which features transcripts from proceedings in the European parliament.

### Contributing

Expand Down
10 changes: 5 additions & 5 deletions contribute.json
Expand Up @@ -2,19 +2,19 @@
"name": "Common Voice",
"description": "Common Voice is Mozilla's initiative to help teach machines how real people speak.",
"repository": {
"url": "https://github.com/mozilla/voice-web",
"url": "https://github.com/mozilla/common-voice",
"license": "MPL2",
"tests": "https://travis-ci.org/mozilla/voice-web/"
"tests": "https://travis-ci.org/mozilla/common-voice/"
},
"participate": {
"home": "https://commonvoice.mozilla.org",
"docs": "https://github.com/mozilla/voice-web/blob/master/CONTRIBUTING.md",
"docs": "https://github.com/mozilla/common-voice/blob/main/CONTRIBUTING.md",
"forum": "https://discourse.mozilla.org/c/voice",
"matrix": "https://chat.mozilla.org/#/room/#common-voice:mozilla.org"
},
"bugs": {
"list": "https://github.com/mozilla/voice-web/issues",
"report": "https://github.com/mozilla/voice-web/issues/new"
"list": "https://github.com/mozilla/common-voice/issues",
"report": "https://github.com/mozilla/common-voice/issues/new"
},
"urls": {
"prod": "https://commonvoice.mozilla.org",
Expand Down
8 changes: 4 additions & 4 deletions scripts/scrub-user.js
Expand Up @@ -3,10 +3,10 @@ const mysql = require('mysql');
const { promisify } = require('util');

const dbConfig = {
host: process.env.MYSQLHOST || 'localhost',
user: process.env.MYSQLUSER || 'voicecommons',
password: process.env.MYSQLPASS || 'voicecommons',
database: process.env.MYSQLDBNAME || 'voiceweb',
host: process.env.CV_MYSQLHOST || 'localhost',
user: process.env.CV_MYSQLUSER || 'voicecommons',
password: process.env.CV_MYSQLPASS || 'voicecommons',
database: process.env.CV_MYSQLDBNAME || 'voiceweb',
};

const deletionSummary = {
Expand Down