From: Damyan Ivanov Date: Sat, 15 Aug 2020 09:57:52 +0000 (+0000) Subject: fix a bunch of spelling mistakes all around X-Git-Tag: v0.15.0~69 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=4f8b4f8bf16aaef182e1aac31a34f88a2adf5fa8;p=mobile-ledger.git fix a bunch of spelling mistakes all around --- diff --git a/app/src/main/java/net/ktnx/mobileledger/async/DbOpRunner.java b/app/src/main/java/net/ktnx/mobileledger/async/DbOpRunner.java index 67d8a0b1..f8ea5775 100644 --- a/app/src/main/java/net/ktnx/mobileledger/async/DbOpRunner.java +++ b/app/src/main/java/net/ktnx/mobileledger/async/DbOpRunner.java @@ -36,7 +36,7 @@ class DbOpRunner extends Thread { while (!interrupted()) { try { DbOpItem item = queue.take(); - debug("opQrunner", "Got " + item.sql); + debug("opQRunner", "Got " + item.sql); { SQLiteDatabase db = App.getDatabase(); if (BuildConfig.DEBUG) { @@ -54,7 +54,7 @@ class DbOpRunner extends Thread { } b.append("]"); } - debug("opQrunner", b.toString()); + debug("opQRunner", b.toString()); } db.execSQL(item.sql, item.params); } diff --git a/app/src/main/java/net/ktnx/mobileledger/async/SendTransactionTask.java b/app/src/main/java/net/ktnx/mobileledger/async/SendTransactionTask.java index 0fd4a1b5..f67e1844 100644 --- a/app/src/main/java/net/ktnx/mobileledger/async/SendTransactionTask.java +++ b/app/src/main/java/net/ktnx/mobileledger/async/SendTransactionTask.java @@ -62,7 +62,7 @@ public class SendTransactionTask extends AsyncTask { + refreshLayout.setOnRefreshListener(() -> { debug("ui", "refreshing accounts via swipe"); Data.scheduleTransactionListRetrieval(mainActivity); }); diff --git a/app/src/main/java/net/ktnx/mobileledger/ui/activity/NewTransactionItemsAdapter.java b/app/src/main/java/net/ktnx/mobileledger/ui/activity/NewTransactionItemsAdapter.java index 80deaf27..d3e9d8f2 100644 --- a/app/src/main/java/net/ktnx/mobileledger/ui/activity/NewTransactionItemsAdapter.java +++ b/app/src/main/java/net/ktnx/mobileledger/ui/activity/NewTransactionItemsAdapter.java @@ -186,7 +186,7 @@ class NewTransactionItemsAdapter extends RecyclerView.Adapter { Snackbar.make(recyclerView, R.string.ignoring_preferred_account, diff --git a/app/src/main/java/net/ktnx/mobileledger/ui/profiles/ProfileDetailFragment.java b/app/src/main/java/net/ktnx/mobileledger/ui/profiles/ProfileDetailFragment.java index 7a7afef6..95faf5d1 100644 --- a/app/src/main/java/net/ktnx/mobileledger/ui/profiles/ProfileDetailFragment.java +++ b/app/src/main/java/net/ktnx/mobileledger/ui/profiles/ProfileDetailFragment.java @@ -172,7 +172,7 @@ public class ProfileDetailFragment extends Fragment { if (mProfile.equals(Data.getProfile())) Data.setCurrentProfile(newProfile); } - private void hookTextChangeSyncRoutine(TextView view, TextChangeSyncProc syncRoutine) { + private void hookTextChangeSyncRoutine(TextView view, TextChangeSyncRoutine syncRoutine) { view.addTextChangedListener(new TextWatcher() { @Override public void beforeTextChanged(CharSequence s, int start, int count, int after) {} @@ -586,7 +586,7 @@ public class ProfileDetailFragment extends Fragment { defaultCommodity.setText(name); defaultCommodity.setTypeface(Typeface.DEFAULT); } - interface TextChangeSyncProc { + interface TextChangeSyncRoutine { void onTextChanged(String text); } } diff --git a/app/src/main/java/net/ktnx/mobileledger/ui/transaction_list/TransactionListFragment.java b/app/src/main/java/net/ktnx/mobileledger/ui/transaction_list/TransactionListFragment.java index 19945505..fd13bc60 100644 --- a/app/src/main/java/net/ktnx/mobileledger/ui/transaction_list/TransactionListFragment.java +++ b/app/src/main/java/net/ktnx/mobileledger/ui/transaction_list/TransactionListFragment.java @@ -98,8 +98,8 @@ public class TransactionListFragment extends MobileLedgerListFragment MainActivity mainActivity = getMainActivity(); - swiper = mainActivity.findViewById(R.id.transaction_swipe); - if (swiper == null) + refreshLayout = mainActivity.findViewById(R.id.transaction_swipe); + if (refreshLayout == null) throw new RuntimeException("Can't get hold on the swipe layout"); root = mainActivity.findViewById(R.id.transaction_root); if (root == null) @@ -116,7 +116,7 @@ public class TransactionListFragment extends MobileLedgerListFragment llm.setOrientation(RecyclerView.VERTICAL); root.setLayoutManager(llm); - swiper.setOnRefreshListener(() -> { + refreshLayout.setOnRefreshListener(() -> { debug("ui", "refreshing transactions via swipe"); Data.scheduleTransactionListRetrieval(mainActivity); }); @@ -137,7 +137,7 @@ public class TransactionListFragment extends MobileLedgerListFragment Data.accountFilter.observe(getViewLifecycleOwner(), this::onAccountNameFilterChanged); TransactionListViewModel.updating.addObserver( - (o, arg) -> swiper.setRefreshing(TransactionListViewModel.updating.get())); + (o, arg) -> refreshLayout.setRefreshing(TransactionListViewModel.updating.get())); TransactionListViewModel.updateError.addObserver((o, arg) -> { String err = TransactionListViewModel.updateError.get(); if (err == null) diff --git a/app/src/main/res/layout/account_summary_fragment.xml b/app/src/main/res/layout/account_summary_fragment.xml index 296b1c47..55f4af9f 100644 --- a/app/src/main/res/layout/account_summary_fragment.xml +++ b/app/src/main/res/layout/account_summary_fragment.xml @@ -33,7 +33,7 @@ > diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 21742503..00028d43 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -127,7 +127,7 @@ 0.00 Saving… Simulate save requests - Simul. save + Simulate saves SIMULATION Allow input of dates in the future No future dates are allowed diff --git a/metadata/en-US/changelogs/20.txt b/metadata/en-US/changelogs/20.txt index 56e7ec48..829160c8 100644 --- a/metadata/en-US/changelogs/20.txt +++ b/metadata/en-US/changelogs/20.txt @@ -1,6 +1,6 @@ * NEW: - App shortcuts for starting the new transaction activity on Android 7.1+ - - Auto-filling of the accounts in the new transaction screen can be limitted to the transactions using accounts corresponding to a filter -- the filter is set in the profile details + - Auto-filling of the accounts in the new transaction screen can be limited to the transactions using accounts corresponding to a filter -- the filter is set in the profile details * IMPROVED: - Account list: Accounts with many commodities have their commodity list collapsed to avoid filling too much of the screen with one account - Account list: Viewing account's transactions migrated to a context menu diff --git a/metadata/en-US/changelogs/30.txt b/metadata/en-US/changelogs/30.txt index a55f91cd..e064b67b 100644 --- a/metadata/en-US/changelogs/30.txt +++ b/metadata/en-US/changelogs/30.txt @@ -3,7 +3,7 @@ * SECURITY + avoid exposing basic HTTP authentication to wifi portals + profile editor: warn when using authentication with insecure HTTP scheme - + permit cleartext HTTP traffic on Android 8+ (still, please use HTTPS to keep yout data safe while in transit) + + permit cleartext HTTP traffic on Android 8+ (still, please use HTTPS to keep your data safe while in transit) * IMPROVEMENTS + clarify that crash reports are sent via email and user can review them before sending + allow toggling password visibility in profile details diff --git a/metadata/en-US/changelogs/32.txt b/metadata/en-US/changelogs/32.txt index 0a9b8ef3..d37e9c60 100644 --- a/metadata/en-US/changelogs/32.txt +++ b/metadata/en-US/changelogs/32.txt @@ -4,4 +4,4 @@ * FIXES: + fixed crash when parsing posting flags with hledger-web before 1.14 + visual fixes - + fix numerical entry with some samsung keyboards + + fix numerical entry with some Samsung keyboards diff --git a/metadata/en-US/changelogs/34.txt b/metadata/en-US/changelogs/34.txt index 06fce4fe..2072184b 100644 --- a/metadata/en-US/changelogs/34.txt +++ b/metadata/en-US/changelogs/34.txt @@ -2,7 +2,7 @@ + show transaction-level comment in transaction list + scroll to a specific date in the transaction list * IMPROVEMENTS - + better all-around theming; employ some material design recommendations + + better all-around theme integration; employ some material design recommendations + follow system-wide font size settings * FIXES + fix a crash in legacy parser with amounts like '$123.45'