-
Notifications
You must be signed in to change notification settings - Fork 283
Malay Translation Support #321
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
Malay Translation Support #321
Conversation
* Refactoring the copy-pasted buttons styles. * Remove dead NegButton references This also includes some code reformatting from VS Code, but mainly it removes dangling references to the NegViews. Co-authored-by: Steve Penrod <[email protected]> Co-authored-by: Steve Penrod <[email protected]>
Using Adaptive Icons Android and preparing the app for release on the Apple Store.
* Massaged the look of the UI on the sub-pages and the main page * Added description text to the Export page * Changed the URL of the webview to: https://privatekit.mit.edu/views
This changes several things about the data being stored: * The time being stored in the structure is now UTC. It was previous local time * The data being stored is now simplified to: [ (utc_unix_time, GPS lat, GPS lon) ... ] * The stored data is now limited to 28 days
Creates Statically Typed LocationServices class to handle all background instantiation once. BackgroundGeolocation is smart in itself and will handle any form of termination events. In addition, the onListen event `stop` was added where future release can include a local push notification to tell the user that location services were terminated.
- Allows the file to be shared instead of raw string NOTES: This requires accessing the filesystem when you do an Export. Potentially we'll need to warn people this is going to cause a popup.
Screen requests users to download the Google Takeout file for the Location History. After the download, users have to go back and come back to import. Watch the logs to see what the app is doing. We don't have the UI to let the user know the current progress yet.
Adds two scripts to make it easy to start the react system and (re)run the application within the emulator. Simply run: 1_start_react.sh To install packages and start the react ecosystem, then run 2_start_android_app.sh To launch the application within the Android emulator (launching the emulator automatically if necessary).
Merge ended up with a missing comma in the package.json
When the application is already running, clicking on the icon (at least under Android) would start another object for the logger. This does a quick instance count check to prevent multiple loggers.
It looks like the code got refactored and not all variables were renamed during that, leading to some exceptions during import. Just renamed vars as appropriate.
Importing Google Location History Exporting functions
* Add contribution guide * Initialize .github files Helping others get started
1. Package.json format must follow 0.0.0 version names. 2. Version ID for the AppleStore and Android Stores are now the same.
The LocationServices refactor merge lost the changes that happened to adding "curation" to the point data (PR Path-Check#35). This restores it.
Now the Export screen shows a count of points to be exported. This is provides minimal information for debugging and to let the user understand that something is happening in the background. Co-authored-by: Abhishek Singh <[email protected]>
The HeadlessTask part of the BackgroundLocationTracker component wasn't being used. On Android, it spins up a special background task when the main application has been shutdown to continue grabbing points.
Several people have said that 'yarn' works much better than 'npm', so I'm making it the default if found. If not, the script will still attempt to run 'npm.
* Add missing notifications for Location Services Several conditions cause Private Kit to stop failing when it cannot access GPS info. We should notify the user when this has happened. That includes: * The app doesn't have proper permissions * The permissions have been revoked * The location service has been shut down Still to do is a notification to show the user that the background service is not doing anything when the user turns off location services. * Fix auto-format errors The automatic formatting done in "Javascript" style instead of "React Native" * use 5 minute time interval Co-authored-by: Abhishek Singh <[email protected]>
…r iOS (Path-Check#67) * updated README.md Made changes for developers on macOS with Xcode 10+ * Fixed Async storage, request cycles warnings * using patch-package to work around RNFetchBlob recursive importing * saving patch for RNFetchBlob recursive importing * Putting native background geo back. * re-fix AsyncStorage * Fixing Background services not existing on iOS * Fixing Internationalization on Xcode * Import Alert and add stationarylocation logging * capitalize L Co-authored-by: Andy Nuzzo <[email protected]> Co-authored-by: philrouge <[email protected]> Co-authored-by: Abhishek Singh <[email protected]>
Added info on how to download a PR from a Forked Repo in order to review it.
The export of file in iOS does not work directly from base64 due to the encoding performed by sharing application in order to add a file as an attachment. This PR solves it in the following way - 1. Write file on the disk first 2. Share through the url of this file 3. Remove the file as soon as it is shared.
* Running build on develop. * Keeping action to Master * Starting Bluetooth Beacon Broadcasting. * Other ID was too big. * Only runs Bluetooth on Android * Changing Package version to 0.0.4 to pass tests on Phones without Bluetooth adapters. * 0.5.7 * 0.5.8 * Migrating Bluetooth to 0.0.5 * Removing the tag for just build number increments on new versions. * 0.5.9 * 0.5.10 * Saving contacts and Requesting permissions to turn bluetooth on * Fully functioning version of Bluetooth on Android
Adds scripts for development on Windows (and mentioned them in README.md) Fixes Path-Check#267
* CS (Czech) locale This translation was created by myself. I am native speaker. * Update languages.js Indentation fixed * CS (Czech) locale CS (Czech) locale update * Merge conflicts Merge conflicts resolved, translation fixed. * Update notification.json Encoding changed to UTF8. Co-authored-by: Abhishek Singh <[email protected]>
* Create exportscreen.json * Create import.json * Create index.js * Create intro.json * Create licensesscreen.json * Create locationTracking.json * Create notification.json * Create overlap.json * Update languages.js * Update languages.js * Delete exportscreen.json * Delete import.json * Delete index.js * Delete licensesscreen.json * Delete overlap.json * Delete notification.json * Delete locationTracking.json * Delete intro.json * hindi index file update * hindi update * Update import.json * Update intro.json * Create licensesscreen.json * Update locationTracking.json * Create notification.json * Create overlap.json * Update import.json * Update locationTracking.json
* added new language urdu support for the urdu speaking community from India, Pakistan, Bangladesh and Afghanistan. * fixed conflicts and added translation for new keys in overlap.json * added new key vals * added the missing braces in languages.js * updated overlap_para_1 translation in overlap.js * Remove extra lines Co-authored-by: Talha <[email protected]> Co-authored-by: Abhishek Singh <[email protected]>
* add gujarati support * Create gj * Delete gj * Create intro.json * Add files via upload * Add files via upload * updated overlap_para_1 and clarified show_overlap * updated to include additional fields after data_hint * fixed missing comma on line 5 * Update overlap.json Co-authored-by: Abhishek Singh <[email protected]>
* Running build on develop. * Keeping action to Master * 0.5.11 * New version Test fix.
…private-kit into malay-translation
… - tripleblindmarket#311
app/locales/ms/notication.json
Outdated
"notification_warning_text": "Anda boleh tekan butang ini untuk menjana persimapngan rambang.\nAMARAN: Ini hanyalah persimpangan simulasi dan bukan persimpangan yang benar", | ||
"notification_random_data_button": "Tekan butang ini untuk mengambil data rambang", | ||
"notifications":"Pemberitahuan" | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
error in file name, please fix
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
app/locales/ms/intro.json
Outdated
"intro2_title2":"You are in charge", | ||
"intro2_para2": "Data Never Leaves Your Device Without Your Consent", | ||
"intro3_title1":"The Future", | ||
"intro3_para1": "The Next Step in Solving Today's and Tomorrow’s Problems Enabling individuals to log their location trail offers new opportunities for researchers studying pandemic tracking, refugee migration, and community traffic analysis.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please translate these keys too
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I left these in English because it is grammatically erratic to write in Malay in this way. I will look into it further soon.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for this translation. The UI has changed significantly and has now finalized for the v1.0 release, which has resulted in a great deal of changes to the text in the final app. Because of this we found that it was best to remove the existing translations and start again. Even though we are also closing this PR, we hope you understand and will help us again. The text in the app is now complete, so we're asking for your help to redo this translation on the text for the v1.0 release. Our translation lead @alpita-masurkar will be coordinating this effort. Thank you from the COVID Safe Paths dev team. |
Closes #311
Malay translation support for Malay speaking communities in Malaysia, Singapore and Brunei