Skip to content

Commit

Permalink
Merge branch 'stage' into production
Browse files Browse the repository at this point in the history
  • Loading branch information
moz-dfeller committed Apr 15, 2024
2 parents 1654aaf + 5c78972 commit f721623
Show file tree
Hide file tree
Showing 34 changed files with 505 additions and 43 deletions.
24 changes: 12 additions & 12 deletions bundler/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"lodash.omit": "4.5.0",
"lodash.pick": "4.4.0",
"mp3-duration": "^1.1.0",
"mysql2": "3.6.3",
"mysql2": "3.9.4",
"nodemailer": "6.9.13",
"passport": "0.6.0",
"passport-auth0": "0.6.1",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
export const up = async function (db: any): Promise<any> {
return db.runSql(
`
ALTER TABLE sentence_metadata
ADD COLUMN variant_id INT UNSIGNED DEFAULT NULL AFTER client_id,
ADD CONSTRAINT sentence_metadata_variant_id_fk FOREIGN KEY (variant_id) REFERENCES variants(id) ON DELETE SET NULL
`
)
}

export const down = async function (db: any): Promise<any> {
await db.runSql(
`ALTER TABLE sentence_metadata DROP FOREIGN KEY sentence_metadata_variant_id_fk`
)

await db.runSql(`ALTER TABLE sentence_metadata DROP COLUMN variant_id`)

return null
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
export const up = async function (db: any): Promise<any> {
await db.runSql(`
ALTER TABLE user_client_variants
ADD is_preferred_option TINYINT NOT NULL DEFAULT FALSE
AFTER variant_id
`)
}

export const down = async function (db: any): Promise<any> {
await db.runSql(
`ALTER TABLE user_client_variants DROP COLUMN is_preferred_option`
)
}
55 changes: 51 additions & 4 deletions web/locales/am/messages.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -420,8 +420,10 @@ native-language =
profile-form-add-accent = አዲስ ብጁ ዘዬ ያክሉ "{ $inputValue }"
profile-form-submit-save = አስቀምጥ
profile-form-submit-saved = ተቀምጧል
male = ወንድ
female = ሴት
male_masculine = ወንድ/ተባዕታይ
female_feminine = ሴት/አንስታይ
non-binary = ሁለትዮሽ ያልሆነ
do_not_wish_to_say = ለመግለፅ አትፈልግም
# Gender
other = ሌላ
why-profile-title = መገለጫ ለምን?
Expand Down Expand Up @@ -692,6 +694,9 @@ about-playbook-how-project-governance-content-5 = ዋጋ እና እውቅና።
about-playbook-how-project-governance-content-6 = የጋራ ተጠያቂነት።
about-playbook-how-project-governance-content-7 = <governanceLink>እንዴት እንደምንመራ የበለጠ ያንብቡ</ governanceLink>
## How is Common Voice funded


## Glossary

glossary = መፍትሄ ቃላት
Expand Down Expand Up @@ -772,7 +777,6 @@ number-of-voices = የድምፅ ብዛት
splits = ክፋዮች
email-to-download = ለማውረድ ኢሜል ያስገቡ
why-email = <b> ኢሜል ለምን? </b> በውሂብ ስብስቡ ላይ ስለሚደረጉ ለውጦች ወደፊት እርስዎን ማነጋገር ሊያስፈልገን ይችላል ፣ ኢሜል የመገናኛ ነጥብ ይሰጠናል።
why-donate = ለምን ይጠይቃሉ?
confirm-size = የ <b> { $size } </b> ን ማውረድ ለመጀመር ተዘጋጅቷል
size-gigabyte = ጊባ
size-megabyte = ሜባ
Expand All @@ -791,6 +795,8 @@ subscribe = ደንበኛ ይሁኑ
get-started-speech = በንግግር ዕውቅና ይጀምሩ
other-datasets = ሌሎች የድምጽ ውሂብ ስብስቦች
feedback-q = ግብረመልስ አለዎት?
# This indicates that there is no data to display
no-information = ምንም መረጃ የለም
resource-nemo-info = <githubLink>NVIDIA NeMo</githubLink>™ ዘመናዊ የውይይት ሰው ሰራሽ አስተውሎ ሞዴሎችን ለሚገነቡ ተመራማሪዎች <docsLink>ክፍት-ምንጭ መሣሪያ ስብስብ</docsLink> ነው።
resource-deepspeech-info = የሞዚላ ክፍት ምንጭ የድምጽ ማወቂያ ሞተር ጥልቅ ንግግር የንግግር ማወቂያ መተግበሪያዎችን ለመገንባት ሊያገለግል ይችላል። የኛን <githubLink>Github አጠቃላይ እይታ</githubLink>ን ያንብቡ ወይም እንዴት መጀመር እንደሚችሉ ለማወቅ <discourseLink>DeepSpeech Disccourse</discourseLink>ን ይቀላቀሉ።
resource-coqui-info = <coquiLink>Coqui</coquiLink> የንግግር ቴክኖሎጂን ለመክፈት የተሰጠ ነው። ፕሮጀክቶቻቸው ጥልቅ ትምህርትን መሰረት ያደረጉ ድምፅ-ወደ-ፅሁፍ(STT) እና ፅሁፍ-ወደ-ድምፅ(TTS) ሞተሮችን ያካትታሉ።
Expand All @@ -817,6 +823,10 @@ no-information-available = ምንም መረጃ አይገኝም
dataset-metadata-sex = ፆታ
# dataset metadata - age of contributor
dataset-metadata-age = ዕድሜ
donate-modal-message = የውሂብ ስብስብዎ እየወረደ ነው!
dataset-donate-modal-heading = ያውቁ ኖሯል…
# Text in <bold></bold> will shown in bold
donate-modal-explanation-2 = <bold>ለክፍት፣ አካታች ዳታ ዋጋ ከሰጡ - ዛሬውኑ ይለግሱ!</bold>
## Download Modal

Expand Down Expand Up @@ -1668,6 +1678,9 @@ continue-speaking-button = አይ አመሰግናለሁ፣ መናገርዎን
create-profile-text = መረጃዎን ማስቀመጥ ይፈልጋሉ? <createProfile>መገለጫ ፍጠር</createProfile>
thanks-for-voice-toast = ለድምጽ መረጃዎ እናመሰግናለን
thanks-for-voice-toast-error = የድምጽ መረጃዎን በማስገባት ላይ ስህተት ተፈጥሯል።
first-cta-gender-select-default-option = አንድ አማራጭ ይምረጡ
first-cta-gender-select-help-text =
.label = የእርስዎን ጾታ ወይም ሥርዓተ-ጾታ እንዴት ይገልጹታል?
# SECOND POST SUBMISSION CTA
second-cta-header-text = ድምጽዎን ስላበረከቱ እናመሰግናለን!
second-cta-subtitle-text = በመገለጫ አማካኝነት የእርስዎን እንቅስቃሴ መከታተል እና ከድምጽ ውሂብ አስተዋጽዖ አበርካቾች ማህበረሰብ ጋር መገናኘት ይችላሉ።
Expand Down Expand Up @@ -1728,6 +1741,7 @@ public-domain = የህዝብ ጎራ
citing-sentences = ዓረፍተ-ነገሮችን በማጣቀስ
adding-sentences = ዓረፍተ-ነገሮችን በማከል ላይ
reviewing-sentences = ዓረፍተ-ነገሮችን በመገምገም ላይ
sentence-domain = የዓረፍተ-ነገር ጎራ
public-domain-explanation-1 = የጋራ ልሳን መረጃ ስብስብ በ cc0 ፍቃድ የሚለቀቅ በመሆኑ ሁሉም የጽሑፍ ዓረፍተ ነገሮች <publicDomain>የሕዝብ ጎራ</publicDomain> (<cc0>cc0</cc0>) መሆናቸው በጣም አስፈላጊ ነው። እርግጠኛ ከሆኑ ብቻ መቼም ዓረፍተ ነገር ይስቀሉ፣ እና ሁልጊዜ የሚመለከተውን ጥቅስ ያካትቱ።
public-domain-explanation-2 = ጠቃሚ የንግግር ማወቂያ ሞተርን ለመገንባት በጣም ጥሩዎቹ ዓረፍተ ነገሮች የንግግር ፣ ዘመናዊ ቋንቋ ናቸው። ዓረፍተ ነገሮችን ለማመንጨት የሚረዱዎት አንዳንድ ሀሳቦች፤
public-domain-explanation-3 = በራስህ ወይም ከጓደኞችዎ ወይም ከቋንቋ ማህበረሰብዎ ጋር ዘመናዊ፣ አነጋገር አረፍተ ነገሮችን ይፍጠሩ - ለምሳሌ በ‘ጻፍ-አ-ቶን’
Expand Down Expand Up @@ -1766,7 +1780,10 @@ reviewing-sentences-explanation-1 = ዓረፍተ ነገሩ ከላይ ያሉት
reviewing-sentences-explanation-2 = ዓረፍተ ነገሩ ከላይ የተጠቀሱትን መስፈርቶች የማያሟላ ከሆነ "አይ" የሚለውን ቁልፍ ይጫኑ።
reviewing-sentences-explanation-3 = ስለ ዓረፍተ ነገሩ እርግጠኛ ካልሆኑ፣ እሱንም መዝለል እና ወደሚቀጥለው መቀጠል ይችላሉ።
reviewing-sentences-explanation-4 = ለመገምገም ዓረፍተ ነገሮች ካለቀብዎት፣ እባክዎን ተጨማሪ ዓረፍተ ነገሮችን እንድንሰበስብ ያግዙን!
# WRITE PAGE
domain-explanation = ጎራ የዓረፍተ-ነገሩን ርዕሰ ጉዳይ ያመለክታል። በአሁኑ ጊዜ ከሚከተሉት መካከል መምረጥ ይችላሉ፦
## WRITE PAGE

write-instruction = የወል ጎራ ዓረፍተ ነገር <icon></icon> ያክሉ
write-page-subtitle = እዚህ የተበረከቱ ዓረፍተ-ነገሮች በይፋ ወደሚገኝ cc-0 ፈቃድ ያለው የውሂብ ስብስብ ይታከላሉ።
sentence =
Expand Down Expand Up @@ -1797,6 +1814,33 @@ single-sentence-submission = ነጠላ ዓረፍተ ነገር ማስገባት
bulk-sentence-submission = የጅምላ ዓረፍተ-ነገር ማስገባት
single-sentence = ነጠላ ዓረፍተ-ነገር
bulk-sentences = ጅምላ ዓረፍተ-ነገሮች
sentence-domain-select =
.label = የዓረፍተ-ነገር ጎራ
sentence-domain-select-placeholder = እስከ ሶስት ጎራዎችን ይምረጡ
# Sentence Domain dropdown option
agriculture = ግብርና
# Sentence Domain dropdown option
automotive = አውቶሞቲቭ
# Sentence Domain dropdown option
finance = ፋይናንስ
# Sentence Domain dropdown option
food_service_retail = ምግብ፣ አገልግሎት እና ችርቻሮ
# Sentence Domain dropdown option
general = አጠቃላይ
# Sentence Domain dropdown option
healthcare = የጤና ጥበቃ
# Sentence Domain dropdown option
history_law_government = ታሪክ, ህግ እና መንግስት
# Sentence Domain dropdown option
language_fundamentals = የቋንቋ መሰረታዊ ነገሮች (ለምሳሌ አሃዞች፣ ደብዳቤዎች፣ ገንዘብ)
# Sentence Domain dropdown option
media_entertainment = ሚዲያ እና መዝናኛ
# Sentence Domain dropdown option
nature_environment = ተፈጥሮ እና አካባቢ
# Sentence Domain dropdown option
news_current_affairs = ዜና እና ወቅታዊ ጉዳዮች
# Sentence Domain dropdown option
technology_robotics = ቴክኖሎጂ እና ሮቦቲክስ
## REVIEW PAGE

Expand Down Expand Up @@ -1841,3 +1885,6 @@ file-invalid-type = ልክ ያልሆነ ፋይል
file-too-large = ፋይሉ በጣም ትልቅ ነው።
file-too-small = ፋይሉ በጣም ትንሽ ነው።
too-many-files = በጣም ብዙ ፋይሎች
## Donate banner

0 comments on commit f721623

Please sign in to comment.