-
Notifications
You must be signed in to change notification settings - Fork 200
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
Regex search #3287
base: develop
Are you sure you want to change the base?
Regex search #3287
Changes from all commits
3d9fe47
ce93038
e58cfdf
dff03cf
bceda7a
5c1e06a
c5016ae
9161603
65c2efd
14b6a16
c8ec62e
a13450d
36891ac
5b83678
0fc893b
92e7283
3f5d910
e1fc57a
6429c35
4aaae92
f314b97
d92dc82
1b62208
e3edd02
0ace870
310d6ec
23de811
ba012b2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[submodule "jsword"] | ||
path = jsword | ||
url = [email protected]:AndBible/jsword.git |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -202,12 +202,11 @@ class CurrentBiblePage( | |
} | ||
} | ||
|
||
//TODO allow japanese search - japanese bibles use smartcn which is not available | ||
/** can we enable the main menu search button | ||
*/ | ||
override val isSearchable: Boolean | ||
get() = try { //TODO allow japanese search - japanese bibles use smartcn which is not available | ||
!currentDocument!!.doesNotExist && "ja" != currentDocument!!.language.code | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I performed a quick check by copy-pasting part of the document and searching for it, which worked. But I don't speak/read Japanese, so I don't know if the results made any sense. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I will try to consult my friend chatgpt. He speaks japanese for sure 😊 |
||
get() = try { | ||
!currentDocument!!.doesNotExist | ||
} catch (e: Exception) { | ||
Log.w(TAG, "Missing language code", e) | ||
true | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,4 +15,4 @@ | |
* If not, see http://www.gnu.org/licenses/. | ||
*/ | ||
|
||
include(":app") | ||
include(":app", ":jsword") |
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.
What requires this?
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.
Not sure, I'll check what breaks if I put it back
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.
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.
Lucene requires this:
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.
This is rather conserning in my opinion. We will drop support from very big amount of mobile phones if we drop android 6 and 7. Maybe we need to release two versions, one for old phones and one for new phones if we will merge this...
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.
About 2% of our users are using Android versions 6 / 7 / 7.1.