Skip to content

Commit

Permalink
feature / added hover text to tc-ready toggle. (#7616)
Browse files Browse the repository at this point in the history
* added hover text to tc-ready toggle.  update CHANGELOG.md

* update locales

---------

Co-authored-by: PhotoNomad0 <[email protected]>
  • Loading branch information
PhotoNomad0 and PhotoNomad0 authored Dec 18, 2024
1 parent 4b44c06 commit a5b157d
Show file tree
Hide file tree
Showing 26 changed files with 67 additions and 1 deletion.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
# Changelog


## [v3.6.7](https://github.com/unfoldingWord/translationCore/tree/v3.6.7) (2024-12-18)

**Implemented enhancements:**
- Updated Crowdin translations
- Add shortcut Keys to WordAlignment [\#7601](https://github.com/unfoldingWord/translationCore/issues/7601)
- Default to showing tC-ready content in the source content downloader [\#7604](https://github.com/unfoldingWord/translationCore/issues/7604)

**Fixed bugs:**
- Fix Critical Error screen when opening an old project aligned with the older version of Original language [\#7592](https://github.com/unfoldingWord/translationCore/issues/7592)



## [v3.6.6](https://github.com/unfoldingWord/translationCore/tree/v3.6.6) (2024-09-18)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import PropTypes from 'prop-types';
import Checkbox from 'material-ui/Checkbox';
import Divider from 'material-ui/Divider';
import Toggle from 'material-ui/Toggle';
import ReactTooltip from 'react-tooltip';
import BaseDialog from './BaseDialog';
import ResourceListItem from './ResourceListItem';

Expand Down Expand Up @@ -109,6 +110,9 @@ class ContentUpdateDialog extends React.Component {
const allChecked =
JSON.stringify(availableLanguageIds) === JSON.stringify(languagesSelectedList);

const tcReadyToggleHintKey = tcReady ? 'updates.show_all_available_content_off_hint' : 'updates.show_all_available_content_on_hint';
const tcReadyToggleHintText = translate(tcReadyToggleHintKey);

return (
<BaseDialog
open={open}
Expand Down Expand Up @@ -138,7 +142,10 @@ class ContentUpdateDialog extends React.Component {
thumbStyle={styles.toggleThumbStyle}
thumbSwitchedStyle={styles.toggleThumbStyle}
labelStyle={styles.toggleLabelStyle}
data-tip={tcReadyToggleHintText}
data-type="light"
/>
<ReactTooltip classname="light-tooltip" />
</div>
</div>
}
Expand Down
2 changes: 2 additions & 0 deletions src/locale/Arabic-ar_SA.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@
"local_timestamp": "Local:",
"online_timestamp": "Online:",
"show_all_available_content": "Show All Available Content",
"show_all_available_content_off_hint": "The current list is showing commonly used content",
"show_all_available_content_on_hint": "The list shows all available content",
"update_error_reason_parse": "parse error",
"update_error_reason_download": "download error",
"update_error_reason_missing_dependency": "missing dependency"
Expand Down
2 changes: 2 additions & 0 deletions src/locale/Assamese-as_IN.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@
"local_timestamp": "Local:",
"online_timestamp": "Online:",
"show_all_available_content": "Show All Available Content",
"show_all_available_content_off_hint": "The current list is showing commonly used content",
"show_all_available_content_on_hint": "The list shows all available content",
"update_error_reason_parse": "parse error",
"update_error_reason_download": "download error",
"update_error_reason_missing_dependency": "missing dependency"
Expand Down
2 changes: 2 additions & 0 deletions src/locale/Bengali, India-bn_IN.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@
"local_timestamp": "স্থানীয়:",
"online_timestamp": "অনলাইন:",
"show_all_available_content": "Show All Available Content",
"show_all_available_content_off_hint": "The current list is showing commonly used content",
"show_all_available_content_on_hint": "The list shows all available content",
"update_error_reason_parse": "parse error",
"update_error_reason_download": "download error",
"update_error_reason_missing_dependency": "missing dependency"
Expand Down
2 changes: 2 additions & 0 deletions src/locale/English-en_US.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@
"local_timestamp": "Local:",
"online_timestamp": "Online:",
"show_all_available_content": "Show All Available Content",
"show_all_available_content_off_hint": "The current list is showing commonly used content",
"show_all_available_content_on_hint": "The list shows all available content",
"update_error_reason_parse": "parse error",
"update_error_reason_download": "download error",
"update_error_reason_missing_dependency": "missing dependency"
Expand Down
2 changes: 2 additions & 0 deletions src/locale/French-fr_FR.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@
"local_timestamp": "Locale",
"online_timestamp": "En ligne",
"show_all_available_content": "Afficher tous les contenus disponibles",
"show_all_available_content_off_hint": "La liste actuelle affiche le contenu couramment utilisé",
"show_all_available_content_on_hint": "La liste montre tout le contenu disponible",
"update_error_reason_parse": "Erreur d'analyse",
"update_error_reason_download": "Erreur de téléchargement",
"update_error_reason_missing_dependency": "Dépendance manquante"
Expand Down
2 changes: 2 additions & 0 deletions src/locale/Gujarati-gu_IN.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@
"local_timestamp": "સ્થાનિક:",
"online_timestamp": "ઓનલાઈન:",
"show_all_available_content": "Show All Available Content",
"show_all_available_content_off_hint": "The current list is showing commonly used content",
"show_all_available_content_on_hint": "The list shows all available content",
"update_error_reason_parse": "parse error",
"update_error_reason_download": "download error",
"update_error_reason_missing_dependency": "missing dependency"
Expand Down
2 changes: 2 additions & 0 deletions src/locale/Hindi-hi_IN.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@
"local_timestamp": "स्थानीय:",
"online_timestamp": "ऑनलाइन:",
"show_all_available_content": "Show All Available Content",
"show_all_available_content_off_hint": "The current list is showing commonly used content",
"show_all_available_content_on_hint": "The list shows all available content",
"update_error_reason_parse": "parse error",
"update_error_reason_download": "download error",
"update_error_reason_missing_dependency": "missing dependency"
Expand Down
2 changes: 2 additions & 0 deletions src/locale/Indonesian-id_ID.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@
"local_timestamp": "Lokal:",
"online_timestamp": "Daring:",
"show_all_available_content": "Show All Available Content",
"show_all_available_content_off_hint": "The current list is showing commonly used content",
"show_all_available_content_on_hint": "The list shows all available content",
"update_error_reason_parse": "proses analisis bermasalah",
"update_error_reason_download": "Unduhan bermasalah",
"update_error_reason_missing_dependency": "komponen hilang "
Expand Down
2 changes: 2 additions & 0 deletions src/locale/Kannada-kn_IN.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@
"local_timestamp": "ಸ್ಥಳೀಯ:",
"online_timestamp": "ಮಿನ್ಕಾಣ್ಕೆ:",
"show_all_available_content": "Show All Available Content",
"show_all_available_content_off_hint": "The current list is showing commonly used content",
"show_all_available_content_on_hint": "The list shows all available content",
"update_error_reason_parse": "parse error",
"update_error_reason_download": "download error",
"update_error_reason_missing_dependency": "missing dependency"
Expand Down
2 changes: 2 additions & 0 deletions src/locale/Malayalam-ml_IN.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@
"local_timestamp": "പ്രാദേശികം:",
"online_timestamp": "ഓൺലൈൻ",
"show_all_available_content": "Show All Available Content",
"show_all_available_content_off_hint": "The current list is showing commonly used content",
"show_all_available_content_on_hint": "The list shows all available content",
"update_error_reason_parse": "parse error",
"update_error_reason_download": "download error",
"update_error_reason_missing_dependency": "missing dependency"
Expand Down
2 changes: 2 additions & 0 deletions src/locale/Marathi-mr_IN.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@
"local_timestamp": "स्थानिक:",
"online_timestamp": "ऑनलाइन:",
"show_all_available_content": "Show All Available Content",
"show_all_available_content_off_hint": "The current list is showing commonly used content",
"show_all_available_content_on_hint": "The list shows all available content",
"update_error_reason_parse": "parse error",
"update_error_reason_download": "download error",
"update_error_reason_missing_dependency": "missing dependency"
Expand Down
2 changes: 2 additions & 0 deletions src/locale/Naga Pidgin-nag_IN.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@
"local_timestamp": "Sthaniya:",
"online_timestamp": "Online:",
"show_all_available_content": "Show All Available Content",
"show_all_available_content_off_hint": "The current list is showing commonly used content",
"show_all_available_content_on_hint": "The list shows all available content",
"update_error_reason_parse": "parse error",
"update_error_reason_download": "download error",
"update_error_reason_missing_dependency": "missing dependency"
Expand Down
2 changes: 2 additions & 0 deletions src/locale/Nepali-ne_NP.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@
"local_timestamp": "Local:",
"online_timestamp": "Online:",
"show_all_available_content": "Show All Available Content",
"show_all_available_content_off_hint": "The current list is showing commonly used content",
"show_all_available_content_on_hint": "The list shows all available content",
"update_error_reason_parse": "parse error",
"update_error_reason_download": "download error",
"update_error_reason_missing_dependency": "missing dependency"
Expand Down
2 changes: 2 additions & 0 deletions src/locale/Odia-or_IN.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@
"local_timestamp": "ସ୍ଥାନୀୟ:",
"online_timestamp": "ଅନ୍‌ଲାଇନ୍:",
"show_all_available_content": "Show All Available Content",
"show_all_available_content_off_hint": "The current list is showing commonly used content",
"show_all_available_content_on_hint": "The list shows all available content",
"update_error_reason_parse": "parse error",
"update_error_reason_download": "download error",
"update_error_reason_missing_dependency": "missing dependency"
Expand Down
2 changes: 2 additions & 0 deletions src/locale/Persian-fa_IR.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@
"local_timestamp": "Local:",
"online_timestamp": "Online:",
"show_all_available_content": "Show All Available Content",
"show_all_available_content_off_hint": "The current list is showing commonly used content",
"show_all_available_content_on_hint": "The list shows all available content",
"update_error_reason_parse": "parse error",
"update_error_reason_download": "download error",
"update_error_reason_missing_dependency": "missing dependency"
Expand Down
2 changes: 2 additions & 0 deletions src/locale/Portuguese, Brazilian-pt_BR.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@
"local_timestamp": "Local:",
"online_timestamp": "Online:",
"show_all_available_content": "Mostrar todo o conteúdo disponível",
"show_all_available_content_off_hint": "A lista atual mostra conteúdo comumente utilizado",
"show_all_available_content_on_hint": "A lista mostra todo o conteúdo disponível",
"update_error_reason_parse": "erro de análise",
"update_error_reason_download": "erro no download",
"update_error_reason_missing_dependency": "dependência em falta"
Expand Down
2 changes: 2 additions & 0 deletions src/locale/Punjabi-pa_IN.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@
"local_timestamp": "ਸਥਾਨਕ:",
"online_timestamp": "ਆਨਲਾਈਨ",
"show_all_available_content": "Show All Available Content",
"show_all_available_content_off_hint": "The current list is showing commonly used content",
"show_all_available_content_on_hint": "The list shows all available content",
"update_error_reason_parse": "parse error",
"update_error_reason_download": "download error",
"update_error_reason_missing_dependency": "missing dependency"
Expand Down
2 changes: 2 additions & 0 deletions src/locale/Russian-ru_RU.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@
"local_timestamp": "Локально:",
"online_timestamp": "Онлайн:",
"show_all_available_content": "Показать все доступные материалы",
"show_all_available_content_off_hint": "Текущий список показывает широко используемый контент",
"show_all_available_content_on_hint": "Список показывает все доступные материалы",
"update_error_reason_parse": "ошибка обработки",
"update_error_reason_download": "ошибка при загрузке",
"update_error_reason_missing_dependency": "зависимотси не обнаружены"
Expand Down
2 changes: 2 additions & 0 deletions src/locale/Spanish-es_ES.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@
"local_timestamp": "Local:",
"online_timestamp": "En línea:",
"show_all_available_content": "Mostrar todo el contenido disponible",
"show_all_available_content_off_hint": "La lista actual muestra el contenido usado comúnmente",
"show_all_available_content_on_hint": "La lista muestra todo el contenido disponible",
"update_error_reason_parse": "error de análisis",
"update_error_reason_download": "error de descarga",
"update_error_reason_missing_dependency": "falta dependencia"
Expand Down
2 changes: 2 additions & 0 deletions src/locale/Tamil-ta_IN.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@
"local_timestamp": "உள்ளூர்:",
"online_timestamp": "ஆன்லைன்",
"show_all_available_content": "Show All Available Content",
"show_all_available_content_off_hint": "The current list is showing commonly used content",
"show_all_available_content_on_hint": "The list shows all available content",
"update_error_reason_parse": "parse error",
"update_error_reason_download": "download error",
"update_error_reason_missing_dependency": "missing dependency"
Expand Down
2 changes: 2 additions & 0 deletions src/locale/Telugu-te_IN.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@
"local_timestamp": "స్థానికం:",
"online_timestamp": "ఆన్ లైన్:",
"show_all_available_content": "Show All Available Content",
"show_all_available_content_off_hint": "The current list is showing commonly used content",
"show_all_available_content_on_hint": "The list shows all available content",
"update_error_reason_parse": "parse error",
"update_error_reason_download": "download error",
"update_error_reason_missing_dependency": "missing dependency"
Expand Down
4 changes: 3 additions & 1 deletion src/locale/Ukrainian-uk_UA.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,9 @@
"source_label": "Джерело:",
"local_timestamp": "На пристрої:",
"online_timestamp": "Онлайн:",
"show_all_available_content": "Show All Available Content",
"show_all_available_content": "Показати весь доступний вміст",
"show_all_available_content_off_hint": "Поточний список відображає зазвичай використаний вміст",
"show_all_available_content_on_hint": "Список показує весь доступний вміст",
"update_error_reason_parse": "помилка під час обробки",
"update_error_reason_download": "помилка завантаження",
"update_error_reason_missing_dependency": "відсутня залежність"
Expand Down
2 changes: 2 additions & 0 deletions src/locale/Urdu-Devanagari-ur_deva_IN.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@
"local_timestamp": "Local:",
"online_timestamp": "Online:",
"show_all_available_content": "Show All Available Content",
"show_all_available_content_off_hint": "The current list is showing commonly used content",
"show_all_available_content_on_hint": "The list shows all available content",
"update_error_reason_parse": "parse error",
"update_error_reason_download": "download error",
"update_error_reason_missing_dependency": "missing dependency"
Expand Down
2 changes: 2 additions & 0 deletions src/locale/Vietnamese-vi_VN.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@
"local_timestamp": "Local:",
"online_timestamp": "Online:",
"show_all_available_content": "Show All Available Content",
"show_all_available_content_off_hint": "The current list is showing commonly used content",
"show_all_available_content_on_hint": "The list shows all available content",
"update_error_reason_parse": "parse error",
"update_error_reason_download": "download error",
"update_error_reason_missing_dependency": "missing dependency"
Expand Down

0 comments on commit a5b157d

Please sign in to comment.