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 turkish translations for encouragement and praise #554

Merged
merged 4 commits into from
Jul 7, 2021
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ learnr (development version)
* Added Spanish language support (@yabellini [#483](https://github.com/rstudio/learnr/pull/483))
* Added Portuguese language support (@beatrizmilz [#488](https://github.com/rstudio/learnr/pull/488))
* Added Basque language support (@mikelmadina [#489](https://github.com/rstudio/learnr/pull/489))
* Added Turkish language support (@hyigit2, @coatless [#493](https://github.com/rstudio/learnr/pull/493))
* Added Turkish language support (@hyigit2, @coatless [#493](https://github.com/rstudio/learnr/pull/493), [#554](https://github.com/rstudio/learnr/pull/554))
* Added option for quickly restoring a tutorial without re-evaluating the last stored exercise submission. This feature is enabled by setting the global option `tutorial.quick_restore = TRUE` or the environment variable `TUTORIAL_QUICK_RESTORE=1` (thanks @mstackhouse, [#509](https://github.com/rstudio/learnr/pull/509)).
* Clicking "Run Code" or using the keyboard shortcut (Cmd/Ctrl + Enter) now runs the selected code only, if any code is selected ([#512](https://github.com/rstudio/learnr/issues/512)).
* `exercise_result()` no longer combines the code output and feedback; this now happens just before presenting the exercise result to the user ([#522](https://github.com/rstudio/learnr/pull/522)).
Expand Down
2 changes: 1 addition & 1 deletion R/praise.R
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#' quiz experience.
#'
#' @param language The language for the random phrase. The currently supported
#' languages include: `en`, `es`, `emo`, and `testing` (static phrases).
#' languages include: `en`, `es`, `tr`, `emo`, and `testing` (static phrases).
#'
#' @return Character string with a random saying
#' @export
Expand Down
49 changes: 49 additions & 0 deletions data-raw/i18n_random-phrases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,44 @@ praise:
- ¡Lo superaste!
- ¡Excelente respuesta!
- Deberias sentir mucho orgullo.
tr:
hyigit2 marked this conversation as resolved.
Show resolved Hide resolved
- Kesinlikle muhteşem!
- Inanilmaz!
- Harika!
- Güzel!
- Aferin!
- Iyi iş!
- Keyifli!
- Mükemmel!
- Fantastik!
- Harika iş!
- Daha iyisini yapamazdım.
- Etkileyici çalışma!
- Harika iş!
- Fevkalade!
- Aferin!
- Harikulade!
- Çok etkileyici!
- Harika iş çikardin!
- Yaptigin işi cok iyi biliyorsun :)
- Çok iyi iş çikardin!
- Çok basarili!
- Basari!
- Super iş!
- Harika iş!
- Iyi iş çikardin!
- Harika!
- Bu harika bir cevap!
- Çok harika!
- Olağanüstü !
- Çok iyi!
- Çok iyi yaptin!
- Çok mükemmel çalisma!
- Çok zekisin
- Harika!
- Başaracaksın!
- Çok iyisin!
- Gurur duymalısın.
emo:
- 😀
- 😁
Expand Down Expand Up @@ -112,6 +150,17 @@ encouragement:
- Intenta otra vez. Mejoras cada vez.
- Inténtalo nuevamente. La perseverancia es la clave del éxito.
- "Está bien: se aprende más de los errores que de los éxitos. Hagámoslo una vez más."
tr:
- Lütfen bir daha deneyin.
- Bir kez daha dene!
- Hadi bir daha deneyelim!
- Bir kez daha dene. Bu kez başaracaksın .
- Sakın bırakma. Bir kez daha dene
- Endişe etmeye gerek yok. Hadi bir daha dene.
- Bir kez daha dene. Bu kez olacak hissediyorum.
- Bir kez daha dene. Herseferinde daha iyi gelistiryorsun.
- Bir kez daha dene. Pes etmemek olayin sirri
- Sorun Degil. Basarılarına gore hatalarından cok daha fazla öğrenirsin
emo:
- 🤗
- 🤘
Expand Down
2 changes: 1 addition & 1 deletion man/random_praise.Rd

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