mirror of
https://github.com/deltachat/deltachat-android.git
synced 2025-10-03 01:39:18 +02:00
add codespell, fix typos (#2490)
* add script to call codespell utility * fix typos found by scripts/codespell.sh
This commit is contained in:
parent
1eb04a8bcb
commit
08bb30eb3a
14 changed files with 34 additions and 30 deletions
32
CHANGELOG.md
32
CHANGELOG.md
|
@ -287,7 +287,7 @@
|
|||
* fix: send locations in the background regardless of other sending activity
|
||||
* fix rare crashes when stopping IMAP and SMTP
|
||||
* fix correct message escaping consisting of a dot in SMTP protocol
|
||||
* fix: don't jump to parent message if parent messagse is not a webxdc
|
||||
* fix: don't jump to parent message if parent message is not a webxdc
|
||||
* fix webxdc background mode so that music stops playing
|
||||
* webxdc: improve display of webxdc items in the gallery's "docs" tab
|
||||
* webxdc: show icon in quotes
|
||||
|
@ -439,7 +439,7 @@
|
|||
* contact requests are notified as usual now
|
||||
* force strict certificate checks when a strict certificate was seen on first login
|
||||
* do not forward group names on forwarding messages
|
||||
* "Broadcast Lists", as kown from other messengers, added as an experimental feature
|
||||
* "Broadcast Lists", as known from other messengers, added as an experimental feature
|
||||
(you can enable it at "Settings / Advanced")
|
||||
* improve accessibility: add some button descriptions
|
||||
* remove "view profile" from the chat menu; just tap the chat name to open the profile
|
||||
|
@ -667,7 +667,7 @@
|
|||
* fix maybe stuck notifications
|
||||
* fix: close keyboard when a quotes is opened in another chat
|
||||
* fix: do not cut the document icon in quotes
|
||||
* fix: make the the quote dissmiss button better clickable again
|
||||
* fix: make the the quote dismiss button better clickable again
|
||||
* update translations
|
||||
|
||||
|
||||
|
@ -688,7 +688,7 @@
|
|||
* disappearing messages: select for any chat the lifetime of the messages
|
||||
* chat opens at the position of the first unseen message
|
||||
* add known contacts from the IMAP-server to the local addressbook on configure
|
||||
* direct forwarding to "saved messags" - save one tap and stay in context :)
|
||||
* direct forwarding to "saved messages" - save one tap and stay in context :)
|
||||
* long tap in contact-list allows opening "profile" directly
|
||||
* allow forwarding to multiple archived chats
|
||||
* enable encryption in groups if preferred by the majority of recipients
|
||||
|
@ -768,7 +768,7 @@
|
|||
|
||||
* show a device message when the password was changed on the server
|
||||
* videochats introduced as experimental feature
|
||||
* show experimental disappearing-messags state in chat's title bar
|
||||
* show experimental disappearing-messages state in chat's title bar
|
||||
* improve sending large messages
|
||||
* improve receiving messages
|
||||
* improve error handling when there is no network
|
||||
|
@ -837,9 +837,9 @@
|
|||
## v1.8.0
|
||||
2020-05-11
|
||||
|
||||
* by default, the permantent notification is no longer shown;
|
||||
* by default, the permanent notification is no longer shown;
|
||||
the background fetch realibility depends on the system and the
|
||||
permantent notification can be enabled at "Settings / Notifications" as needed
|
||||
permanent notification can be enabled at "Settings / Notifications" as needed
|
||||
* fix a bug that stops receiving messages under some circumstances
|
||||
* more bug fixes
|
||||
* update translations
|
||||
|
@ -864,8 +864,8 @@
|
|||
* new experimental feature that allows switching the account in use
|
||||
* improve interaction with traditional mail clients
|
||||
* improved onboarding when the provider returns a link
|
||||
* to improve background fetch, show a permantent notification by default
|
||||
* the permantent notification can be disabled at "Settins / Notifications"
|
||||
* to improve background fetch, show a permanent notification by default
|
||||
* the permanent notification can be disabled at "Settings / Notifications"
|
||||
* bug fixes
|
||||
* add Indonesian and Persian translations, update other translations
|
||||
|
||||
|
@ -1088,7 +1088,7 @@ Racer1, Simon Laux, solokot, Waldemar Stoczkowski, Xosé M. Lamas, Zkdc
|
|||
* use the rust-language for the mail-parsing and -generating part,
|
||||
introducing a vastly improved reliability
|
||||
* fix moving messages
|
||||
* fix flakyness when receiving messages
|
||||
* fix flakiness when receiving messages
|
||||
and in the secure-join process
|
||||
* more bug fixes
|
||||
|
||||
|
@ -1182,7 +1182,7 @@ Heimen Stoffels, Lin Miaoski, Ozancan Karataş, Zkdc
|
|||
* Optional plipp-plop sounds in chats
|
||||
* Better document- and music-files view
|
||||
* Add new-messages marker
|
||||
* Keep chat-scroll-postion on incoming messages
|
||||
* Keep chat-scroll-position on incoming messages
|
||||
* Clean up settings dialog
|
||||
* More general "outgoing media quality" option (replaces image-quality option)
|
||||
* Improve quality of voice messages
|
||||
|
@ -1190,12 +1190,12 @@ Heimen Stoffels, Lin Miaoski, Ozancan Karataş, Zkdc
|
|||
* Add an experimental option to delete e-mails from server
|
||||
* Improve compatibility with older phones
|
||||
* Show a warning if the app is too old and won't be updated automatically
|
||||
(done just by date comparision, no data is sent anywhere)
|
||||
(done just by date comparison, no data is sent anywhere)
|
||||
* New option to save the log to a file
|
||||
* Make input text field a bit larger
|
||||
* Add Traditional Chinese and Simplified Chinese translations
|
||||
* Update Albanian, Azerbaijani, Basque, Brazilian Portuguese, Catalan, Danish,
|
||||
Dutch, French, German, Italien, Japanese, Lithuanian, Polish, Portuguese,
|
||||
Dutch, French, German, Italian, Japanese, Lithuanian, Polish, Portuguese,
|
||||
Russian, Spanish, Swedish, Turkish and Ukrainian translations
|
||||
* Bugfixes
|
||||
|
||||
|
@ -1324,11 +1324,11 @@ Iskatel Istiny, Lech Rowerski, violoncelloCH and others.
|
|||
* Options for watching several IMAP-folders
|
||||
* Option to move messages to the DeltaChat-folder
|
||||
* Improved multi-device behavior
|
||||
* Improved Accessiblity eg. for screen readers
|
||||
* Improved Accessibility eg. for screen readers
|
||||
* Dark theme
|
||||
* Support right-to-left languages
|
||||
* Relative time display
|
||||
* Chatlist and contat list support a long click for several operations
|
||||
* Chatlist and contact list support a long click for several operations
|
||||
* Archive chats by swiping a chat right out of the chatlist
|
||||
* Show date always atop of the chat
|
||||
* Fix redraw problems with hidden system status or navigation bar
|
||||
|
@ -1372,7 +1372,7 @@ Karissa McKelvey, Lars-Magnus Skog, Ole Carlsen
|
|||
2018-07-10
|
||||
|
||||
* Give advices for Google users
|
||||
* Speed up by making database-locks unneccessary
|
||||
* Speed up by making database-locks unnecessary
|
||||
* Fix drafts appearing twice
|
||||
* Update Albanian, Basque, Catalan, Danish, Dutch, English,
|
||||
Italian, Polish, Russian, and Turkish translations
|
||||
|
|
|
@ -136,7 +136,7 @@ Then, configure `ANDROID_NDK_ROOT` environment variable to point to the Android
|
|||
installation directory e.g. by adding this to your `.bashrc`:
|
||||
|
||||
```bash
|
||||
export ANDROID_NDK_ROOT=${HOME}/Android/Sdk/ndk/[version] # (or whereever your NDK is) Note that there is no `/` at the end!
|
||||
export ANDROID_NDK_ROOT=${HOME}/Android/Sdk/ndk/[version] # (or wherever your NDK is) Note that there is no `/` at the end!
|
||||
export PATH=${PATH}:${ANDROID_NDK_ROOT}/toolchains/llvm/prebuilt/linux-x86_64/bin/:${ANDROID_NDK_ROOT}
|
||||
```
|
||||
|
||||
|
@ -196,7 +196,7 @@ environment.
|
|||
|
||||
- Disable animations on your device, otherwise the test may fail:
|
||||
at "Developer options"
|
||||
set all of "Window animation scale", "Transition animation scale" and "Animatior duration scale" to 0x
|
||||
set all of "Window animation scale", "Transition animation scale" and "Animator duration scale" to 0x
|
||||
|
||||
- In Android Studio: "File" / "Sync project with gradle files"
|
||||
|
||||
|
|
|
@ -54,7 +54,7 @@ dependencies {
|
|||
annotationProcessor 'androidx.annotation:annotation:1.5.0'
|
||||
implementation 'com.makeramen:roundedimageview:2.1.0' // crops the avatars to circles
|
||||
implementation 'com.pnikosis:materialish-progress:1.5' // used only in the "Progress Wheel" in Share Activity.
|
||||
implementation 'com.soundcloud.android:android-crop:0.9.10@aar' // used in Group Select Avatar, should be unified with profie
|
||||
implementation 'com.soundcloud.android:android-crop:0.9.10@aar' // used in Group Select Avatar, should be unified with profile
|
||||
implementation 'com.nineoldandroids:library:2.4.0' // DEPRECATED! Used to slide in the half-camera.
|
||||
implementation 'mobi.upod:time-duration-picker:1.1.3' // Used to pick the time for inactivity.
|
||||
implementation 'com.amulyakhare:com.amulyakhare.textdrawable:1.0.1' // number of unread messages,
|
||||
|
|
|
@ -50,7 +50,7 @@ $ cp ../fdroidserver/examples/config.py . # adapt file as needed
|
|||
|
||||
checkout repo as f-droid would do:
|
||||
$ ../fdroidserver/fdroid checkupdates -v com.b44t.messenger
|
||||
(for testing with uncommited changes, add --allow-dirty)
|
||||
(for testing with uncommitted changes, add --allow-dirty)
|
||||
|
||||
build repo as f-droid would do:
|
||||
$ ../froidserver/fdroid build -v com.b44t.messenger:<versionCode>
|
||||
|
|
4
scripts/codespell.sh
Executable file
4
scripts/codespell.sh
Executable file
|
@ -0,0 +1,4 @@
|
|||
#!/bin/sh
|
||||
codespell \
|
||||
--skip './.git,./build,./res/values-*/strings.xml,,./assets/help,./jni/deltachat-core-rust' \
|
||||
--ignore-words-list formattings
|
|
@ -612,7 +612,7 @@ public class ConversationActivity extends PassphraseRequiredActionBarActivity
|
|||
if (isSharing(this)) {
|
||||
// we're allowing only 1 try to share, going back to the conversation list will
|
||||
// close the conversation list in activtyForResult() as well, so that the user
|
||||
// comes back to the extenal app's share menu
|
||||
// comes back to the external app's share menu
|
||||
setResult(RESULT_OK);
|
||||
}
|
||||
finish();
|
||||
|
|
|
@ -54,7 +54,7 @@ public class KeepAliveService extends Service {
|
|||
// set self as foreground
|
||||
try {
|
||||
stopForeground(true);
|
||||
startForeground(NotificationCenter.ID_PERMANTENT, createNotification());
|
||||
startForeground(NotificationCenter.ID_PERMANENT, createNotification());
|
||||
}
|
||||
catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
|
|
|
@ -69,7 +69,7 @@ public class LocationBackgroundService extends Service {
|
|||
try {
|
||||
locationManager.removeUpdates(locationListener);
|
||||
} catch (Exception ex) {
|
||||
Log.i(TAG, "fail to remove location listners, ignore", ex);
|
||||
Log.i(TAG, "fail to remove location listeners, ignore", ex);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@ import java.util.List;
|
|||
import static java.util.Collections.emptyList;
|
||||
|
||||
/**
|
||||
* Renders multiple lines of {@link #text} in ths specified {@link #color}.
|
||||
* Renders multiple lines of {@link #text} in the specified {@link #color}.
|
||||
* <p>
|
||||
* Scales down the text size of long lines to fit inside the {@link Bounds} width.
|
||||
*/
|
||||
|
|
|
@ -192,7 +192,7 @@ public class DCMapFragment extends Fragment implements OnMapReadyCallback {
|
|||
}
|
||||
|
||||
/**
|
||||
* Called when the fragment is view hiearchy is being destroyed.
|
||||
* Called when the fragment is view hierarchy is being destroyed.
|
||||
*/
|
||||
@Override
|
||||
public void onDestroyView() {
|
||||
|
|
|
@ -399,7 +399,7 @@ public class AttachmentManager {
|
|||
return result;
|
||||
}
|
||||
|
||||
// should be called when the attachement manager comes into view again.
|
||||
// should be called when the attachment manager comes into view again.
|
||||
// if the attachment manager contains a webxdc, its summary is updated.
|
||||
public void onResume() {
|
||||
if (slide.isPresent()) {
|
||||
|
|
|
@ -149,7 +149,7 @@ public class NotificationCenter {
|
|||
// Notification IDs
|
||||
// --------------------------------------------------------------------------------------------
|
||||
|
||||
public static final int ID_PERMANTENT = 1;
|
||||
public static final int ID_PERMANENT = 1;
|
||||
public static final int ID_MSG_SUMMARY = 2;
|
||||
public static final int ID_GENERIC = 3;
|
||||
public static final int ID_MSG_OFFSET = 0; // msgId is added - as msgId start at 10, there are no conflicts with lower numbers
|
||||
|
|
|
@ -112,7 +112,7 @@ public class NotificationsPreferenceFragment extends ListSummaryPreferenceFragme
|
|||
super.onResume();
|
||||
((ApplicationPreferencesActivity) getActivity()).getSupportActionBar().setTitle(R.string.pref_notifications);
|
||||
|
||||
// upate ignoreBattery in onResume() to reflects changes done in the system settings
|
||||
// update ignoreBattery in onResume() to reflects changes done in the system settings
|
||||
ignoreBattery.setChecked(isIgnoringBatteryOptimizations());
|
||||
}
|
||||
|
||||
|
|
|
@ -837,7 +837,7 @@ public class VideoRecoder {
|
|||
vei.resultHeight *= scale;
|
||||
}
|
||||
|
||||
// we know the most important things now, prepare the message to get a resposive ui
|
||||
// we know the most important things now, prepare the message to get a responsive ui
|
||||
if (vei.originalRotationValue == 90 || vei.originalRotationValue == 270) {
|
||||
msg.setDimension(vei.resultHeight, vei.resultWidth);
|
||||
} else {
|
||||
|
@ -846,7 +846,7 @@ public class VideoRecoder {
|
|||
msg.setDuration((int) resultDurationMs);
|
||||
DcHelper.getContext(context).prepareMsg(chatId, msg);
|
||||
|
||||
// calulate bytes
|
||||
// calculate bytes
|
||||
vei.estimatedBytes = VideoRecoder.calculateEstimatedSize((float) resultDurationMs / vei.originalDurationMs,
|
||||
vei.resultVideoBitrate, vei.originalDurationMs, vei.originalAudioBytes);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue