* Updated mailspring.appdata.xml.in and PT-BR translation
The mailspring.appdata.xml.in file is used by Flatpak to automatically build the containerized version, available in Flathub, and that file wasn't tracking Mailspring's version, showing then an older version on Flathub (main Flatpak store). Also, the Brazilian Portuguese translation is around 80% checked and corrected (also standardized a lot of different words that were the same thing, improving usability).
* Update pt-BR.json
All of the pt-BR.json was checked and verified. I've applied the necessary corrections, and tried my best to fully standardize the entire translation, because same things were being translated to different things in Portuguese.
* Some UX improvements (plus .gitignore tweak)
Made a few UX improvements:
- The send later delay can be skipped by clicking the new `Send now instead` button (localization required)
- If there is a range selection in the subject line then a context menu pops up on right click (for those that are allergic to keyboard shortcuts 😂)
- Message participant tweaks:
- you can now open the context menu on the name or email, not just the email
- you don't need to expand the participants to open the context menu
- name is shown over the email for `Email "Name else Email"` context menu item
- added `Copy "Email"` to context menu when nothing is selected/highlighted and just `Copy` when something is
- **for devs:** pretty console messages now consider your device theme and use an appropriate colour
* Prettier adjustments
* Revert `.gitignore` change
* Fix & actual prettier-ing
- Fix email context menu (now email and name can be alt-clicked)
- Sorted auto format (sorry didn't realise it was off)
* Use localised date/time format
Use a localised date format rather than forcing the Americanised format. This does loose the ordinal in `fullTimeString(Date)`
* Use weekday(Mon-Sun), for recent emails
- Changed recent emails to:
- display weekday and time (e.g Mon, 10:15)
- the recent emails to be 5 days, rather than 2
- Removed dead code
- Removed unnecessary import
* Remove unnecessary log
* Add key to prevent console error
Added a key to prevent a `Each child in an array or iterator should have a unique "key" prop` error in the console
* Add a key to "more" span
Co-authored-by: Ben Gotow <ben@foundry376.com>
* Changed postinstall.js and updated better-sqlite3 to fix Windows 11 version
* Updated Grunt build to avoid error on Windows 11
Co-authored-by: Ben Gotow <ben@foundry376.com>
* Update es.json
Some sentences that are not correct in Spanish have been changed.
Added opening punctuation in some sentences.
Added or changed letters in words to match the correct form of the word in Spanish.
* Update es.json
* Revert: Update es.json
Sorry, this was my bad - I meant to resolve a merge conflict with master and it committed the changes here.
Co-authored-by: Ben Gotow <bengotow@gmail.com>
The issue is fixed by passing —disable-gpu at launch, but it seems like it might be required for some users and the text is totally unlegible without the flag. Even the stock “electron” app exhibits the problem and it wasn’t required in Electron 17.4 so I’m hopeful they’ll fix it.