Conversation
Thank you for the pull request! 💙The Scribe-iOS team will do our best to address your contribution as soon as we can. If you're not already a member of our public Matrix community, please consider joining! We'd suggest that you use the Element client as well as Element X for a mobile app, and definitely join the Note Scribe uses Conventional Comments in reviews to make sure that communication is as clear as possible. |
Maintainer ChecklistThe following is a checklist for maintainers to make sure this process goes as well as possible. Feel free to address the points below yourself in further commits if you realize that actions are needed :) |
There was a problem hiding this comment.
First PR Commit Check
- The commit messages for the remote branch should be checked to make sure the contributor's email is set up correctly so that they receive credit for their contribution
- The contributor's name and icon in remote commits should be the same as what appears in the PR
- If there's a mismatch, the contributor needs to make sure that the email they use for GitHub matches what they have for
git config user.emailin their local Scribe-iOS repo (can be set withgit config --global user.email "GITHUB_EMAIL")
Contributor checklist
xcodebuildandswiftlint --strictcommands as directed in the testing section of the contributing guideDescription
This pull request prepares Scribe-iOS for the migration from Wikidata to Wiktionary as the data source for translations.
invalidCommandMsghas been replaced with two variables,invalidCommandMsgWikidataandinvalidCommandMsgWiktionary.Changes:
CommandVariables.swift: replacedinvalidCommandMsgwithinvalidCommandMsgWikidataandinvalidCommandMsgWiktionaryKeyboardViewController.swift: conjugate and plural errors useinvalidCommandMsgWikidata, translate case usesinvalidCommandMsgWiktionaryKeyboardStyling.swift: updated condition to check for both new variablesTestKeyboardStyling.swift: replacedtestStyleBtnWithInvalidCommandMsg()with separate tests for Wikidata and Wiktionary messagesNotes:
returnkey path for translate currently still showsinvalidCommandMsgWikidata, happy to add a state tracking variable so pressing return after a failed translation also shows "Not in Wiktionary" if neededRelated issue