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 gujarati support #286

Merged
merged 11 commits into from
Apr 1, 2020
13 changes: 13 additions & 0 deletions app/locales/gj/exportscreen.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"export_para_1":"તમે નીચે શેર કરો બટનનો ઉપયોગ કરીને કોઈપણ સાથે તમારી સ્થાન પગેરું શેર કરી શકો છો. એકવાર તમે બટન દબાવો તે તમને પૂછશે કે તમે કોની સાથે અને કેવી રીતે તેને શેર કરવા માંગો છો.",
"export_para_2":"સ્થાન ઇતિહાસ ફક્ત સ્થાનો અને સમયની સૂચિ તરીકે બતાવેલ છે, તેમાં કોઈ વ્યક્તિગત માહિતી શામેલ નથી",
"share":"શેર કરો",
"data_hint":"યાદીમાં માહિતી છે"
AmeyDesai7 marked this conversation as resolved.
Show resolved Hide resolved
"data_covers":"યાદીમાં લખેલું કુલ સમય:",
"data_count":"નોંધાયેલા શબ્દસમૂહોની સંખ્યા:",
"data_last_updated":"છેલ્લે નોંધ્યું ત્યારથી સમય:",
"no_data": "કોઈ માહિતી નથી",
"less_than_one_minute": "1 મિનિટ કરતા ઓછી"
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

new file has more key-value pairs, needs to be updated with translation for those (see locales/en/exportscreen.json for more)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

excellent!



5 changes: 5 additions & 0 deletions app/locales/gj/import.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"import_title":"પાછલા સ્થળો લાવો",
"import_step_1":"1. તમારા Google ખાતામાં પ્રવેશ કરો કરો અને તમારું સ્થાન ઇતિહાસ ડાઉનલોડ કરો",
"import_step_2":"2. ડાઉનલોડ કર્યા પછી, ફરીથી આ સ્ક્રીન ખોલો. ડેટા આપમેળે આયાત કરશે."
}
17 changes: 17 additions & 0 deletions app/locales/gj/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import intro from './intro.json';
import locationTracking from './locationTracking.json';
import importFile from './import.json';
import exportFile from './exportscreen.json';
import licensesFile from './licensesscreen.json';
import overlapFile from './overlap.json';
import notificationFile from './notification.json';

export default {
...intro,
...locationTracking,
...importFile,
...exportFile,
...overlapFile,
...licensesFile,
...notificationFile,
};
14 changes: 14 additions & 0 deletions app/locales/gj/intro.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"private_kit":"પ્રાઇવેટ કીટ",
"intro1_para1":"માહિતીની સલામતી અને ગોપનીયતા સુરક્ષાને ધ્યાનમાં રાખીને રચાયેલ, એમઆઈટી પ્રાઇવેટ કિટ સુરક્ષિત સ્થાન માહિતીની આગલી પેઢી છે.",
"next":"આગળ",
"back":"પાછળ",
"start":"શરૂઆત",
"intro2_title1":"100KB કરતા ઓછી",
"intro2_para1":"પ્રાઇવેટ કીટનું તમારા ઉપકરણના સ્થાન ડેટાને 100KB જગ્યા હેઠળ લsગ કરે છે – એક ચિત્ર કરતાં ઓછી જગ્યા.",
"intro2_title2":"તમે પ્રભારી છો ",
"intro2_para2": "ડેટા તમારી સંમતિ વિના તમારા ઉપકરણને ક્યારેય છોડતો નથી ",
"intro3_title1":"આ ભવિષ્ય છે",
"intro3_para1": "આજ અને આવતીકાલની સમસ્યાઓ હલ કરવા માટેનું આગલું પગલું. વ્યક્તિઓને તેમની સ્થાન માહિતી નોંધ કરવા માટે તક આપવાતી સંશોધનકારો માટે રોગચાળો ટ્રેકિંગ, શરણાર્થી સ્થળાંતર અને સમુદાય હિલચાલ વિશ્લેષણ ક્ષેત્રમાં નવી તકો મળશે",
"intro3_para2":"વધુ મહિતી http://privatekit.mit.edu/"
}
3 changes: 3 additions & 0 deletions app/locales/gj/licensesscreen.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"license_placeholder": "આ એપ્લિકેશન MIT પરવાનો હેઠળ બનાવવામાં આવી છે."
}
13 changes: 13 additions & 0 deletions app/locales/gj/locationTracking.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"start_logging":"માહિતી લખવાનું શરૂ કરો",
"stop_logging":"માહિતી લખવાનું બંધ કરો",
"logging_message":"તે હાલમાં દર પાંચ મિનિટમાં તમારા સ્થાનને ખાનગી રૂપે લ લખે છે. તમારી સ્થાનની માહિતી તમારો ફોન છોડશે નહીં",
"not_logging_message":"નોંધ: આ બટનને ક્લિક કર્યા પછી તમને તમારા સ્થાનની માહિતી આપવા માટે પૂછવામાં આવશે.",
"import":"આયાત કરો ",
"export":"નિકાસ કરો ",
"news":"સમાચાર",
"latest_news":"તાજા સમાચાર",
"url_info":"વધુ માહિતી માટે ખાનગી કિટ હોમપેજની મુલાકાત લો: ",
"private_kit_url":"privatekit.mit.edu",
"overlap": "આંતરછેદ તપાસો"
}
8 changes: 8 additions & 0 deletions app/locales/gj/notification.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"notification_main_text": "તમારા આંતરછેદ દિવસ મુજબની તપાસો",
"notification_title": "તમારા આંતરછેદનું વિશ્લેષણ કરો ",
"notification_data_not_available": "\n\nતમારી પાસે કોઈ પગેરું નથી!\n\n",
"notification_warning_text": "મનસ્વી આંતરછેદ પેદા કરવા માટે તમે નીચેનું બટન દબાવો.\nચેતવણી: આ વાસ્તવિક ન હોય તેવા આંતરછેદ છે",
"notification_random_data_button": "મનસ્વી માહિતી પેદા કરવા માટે આ બટન દબાવો",
"notifications":"સૂચનાઓ"
}
11 changes: 11 additions & 0 deletions app/locales/gj/overlap.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"overlap_title": "આંતરછેદ તપાસો",
"overlap_para_1": "લીલો પગેરું તમારા સ્થાન ઇતિહાસનું પ્રતિનિધિત્વ કરે છે \n \n પ્રકાશ જાંબુડિયા વર્તુળો સાર્વજનિક માહિતીને રજૂ કરે છે",
"show_overlap": "સસાર્વજનિક માહિતી જોવા માટે ક્લિક કરો",
"loading_public_data": "માહિતી લાવી રહ્યું છે ...",
"overlap_no_results_button_label": "સાર્વજનિક માહિતી લોડ થયો",
"overlap_found_button_label": "સાર્વજનિક માહિતી લોડ થયો",
"nCoV2019_url_info": "આ નકશા માટે ડેટાસેટ પર વધુ માહિતી માટે",
"nCoV2019_url": "github.com/beoutbreakprepared/nCoV2019"
}

6 changes: 6 additions & 0 deletions app/locales/languages.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import pt_BRlabels from './pt_BR';
import eslabels from './es';
import knlabels from './kn';
import calabels from './ca';
import gjlabels from './gj';

// This will fetch the user's language
let userLang = undefined;
Expand Down Expand Up @@ -103,6 +104,11 @@ i18next.init({
label: calabels,
},
},
gj: {
translation: {
label: gjlabels,
},
},
},
});

Expand Down