Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
LatinIME
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
keyboard
LatinIME
Commits
b359c0f3
Commit
b359c0f3
authored
8 months ago
by
Aleksandras Kostarevas
Browse files
Options
Downloads
Patches
Plain Diff
Add language dictionary tip
parent
90aa0c2e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
Loading
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
java/src/org/futo/inputmethod/latin/uix/settings/pages/Languages.kt
+7
-1
7 additions, 1 deletion
...rg/futo/inputmethod/latin/uix/settings/pages/Languages.kt
with
7 additions
and
1 deletion
java/src/org/futo/inputmethod/latin/uix/settings/pages/Languages.kt
+
7
−
1
View file @
b359c0f3
...
...
@@ -59,6 +59,7 @@ import org.futo.inputmethod.latin.uix.namePreferenceKeyFor
import
org.futo.inputmethod.latin.uix.settings.NavigationItem
import
org.futo.inputmethod.latin.uix.settings.NavigationItemStyle
import
org.futo.inputmethod.latin.uix.settings.ScreenTitle
import
org.futo.inputmethod.latin.uix.settings.Tip
import
org.futo.inputmethod.latin.uix.settings.pages.modelmanager.openModelImporter
import
org.futo.inputmethod.latin.uix.settings.useDataStoreValueBlocking
import
org.futo.inputmethod.latin.uix.theme.Typography
...
...
@@ -209,7 +210,12 @@ fun LanguageSurface(
)
{
CompositionLocalProvider
(
LocalContentColor
provides
MaterialTheme
.
colorScheme
.
onSurfaceVariant
)
{
Text
(
item
.
languageName
,
modifier
=
Modifier
.
padding
(
start
=
16
.
dp
,
end
=
16
.
dp
),
style
=
TextHeadingMediumMlStyle
)
Spacer
(
modifier
=
Modifier
.
height
(
32
.
dp
))
if
(
item
.
options
.
dictionary
==
null
)
{
Tip
(
"This language has no built-in dictionary. We recommend downloading and importing one to get autocorrect and word suggestions."
)
}
else
{
Spacer
(
modifier
=
Modifier
.
height
(
32
.
dp
))
}
LanguageConfigurable
(
kind
=
FileKind
.
VoiceInput
,
selection
=
item
.
options
.
voiceInputModel
?:
"(None)"
)
{
onConfigurableSelected
(
FileKind
.
VoiceInput
)
}
LanguageConfigurable
(
kind
=
FileKind
.
Dictionary
,
selection
=
item
.
options
.
dictionary
?:
"(None)"
)
{
onConfigurableSelected
(
FileKind
.
Dictionary
)
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment