Skip to content

Commit 641ba49

Browse files
committedFeb 13, 2022
Reorganize Settings and improve docs
- remove checkbox for the IME Help text (which makes the IME too crowded) - list Rewrites as the first item in the Dependencies section and mention buttons in its summary
1 parent 32b3507 commit 641ba49

File tree

4 files changed

+15
-10
lines changed

4 files changed

+15
-10
lines changed
 

‎app/src/main/res/values-et/strings.xml

+2-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@
5858
<string name="summaryGrammarList">Nimekiri grammatikatest, mis tõlgivad
5959
transkriptsiooni rakenduse-keelde</string>
6060
<string name="titleSelectRewrites">Ümberkirjutusreeglid</string>
61-
<string name="summarySelectRewrites">Reeglistike lisamine, vaatamine, sisse/välja lülitamine, testimine, …</string>
61+
<string name="summarySelectRewrites">Nimekiri reeglistikest, mida rakendatakse tagastatud
62+
transkriptsiooni ümberkirjutamiseks, ja mida saab samuti käivitada klaviatuuri nuppudena.</string>
6263
<string name="summarySimpleDemo">Transkribeerib kõne ja näitab tulemusi</string>
6364
<string name="summaryExtrasDemo">Transkribeerib kõne ja näitab tagastatud tulemusi (sh tehnilisi)</string>
6465
<string name="summaryHandsfreeDemo">Transkribeerib kõne, näitab parimaid tulemusi,

‎app/src/main/res/values/strings.xml

+4-2
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,9 @@
106106
<string name="summarySystemVoiceInputSettings">System-wide settings panel for the installed speech recognition services, as well as the Assist app</string>
107107

108108
<string name="titleSelectRewrites">Rewrites</string>
109-
<string name="summarySelectRewrites">List of available rewrite rule tables that can be used to rewrite the transcription. (Works with any service.)</string>
109+
<string name="summarySelectRewrites">List of available rewrite rule tables,
110+
where the activated tables modify the returned transcription and can be also
111+
used as keyboard buttons. (Works with any service.)</string>
110112

111113
<string name="titleQuickSettings">Quick settings</string>
112114
<string name="summaryQuickSettings">Quickly apply some common default settings</string>
@@ -294,7 +296,7 @@
294296
<!-- Content description of images and buttons -->
295297
<string name="cdUndefined">Undefined</string>
296298
<string name="cdNewline">Insert new line</string>
297-
<string name="cdMicrophone">Press this button and speak</string>
299+
<string name="cdMicrophone">Tap this button and speak</string>
298300
<string name="cdAppIcon">App icon</string>
299301
<string name="cdServiceIcon">Service icon</string>
300302
<string name="cdChangeCombo">Change recognition service/locale</string>

‎app/src/main/res/xml/preferences.xml

+8-6
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,14 @@
4949
android:summary="@string/summaryImeShowPartialResults"
5050
android:title="@string/titleImeShowPartialResults"
5151
app:iconSpaceReserved="false" />
52+
<!--
5253
<CheckBoxPreference
5354
android:defaultValue="@bool/defaultImeHelpText"
5455
android:key="@string/keyImeHelpText"
5556
android:summary="@string/summaryImeHelpText"
5657
android:title="@string/titleImeHelpText"
5758
app:iconSpaceReserved="false" />
59+
-->
5860
</PreferenceCategory>
5961

6062
// Voice search activity (TODO: unify terminology: dialog, panel, UI, speech action)
@@ -112,11 +114,11 @@
112114
android:title="@string/titleCategoryDependencies"
113115
app:iconSpaceReserved="false">
114116
<Preference
115-
android:summary="@string/summaryAppList"
116-
android:title="@string/labelActivityAppList"
117+
android:summary="@string/summarySelectRewrites"
118+
android:title="@string/titleSelectRewrites"
117119
app:iconSpaceReserved="false">
118120
<intent
119-
android:targetClass="ee.ioc.phon.android.speak.activity.AppListActivity"
121+
android:targetClass="ee.ioc.phon.android.speak.activity.RewritesSelectorActivity"
120122
android:targetPackage="ee.ioc.phon.android.speak" />
121123
</Preference>
122124
<Preference
@@ -128,11 +130,11 @@
128130
android:targetPackage="ee.ioc.phon.android.speak" />
129131
</Preference>
130132
<Preference
131-
android:summary="@string/summarySelectRewrites"
132-
android:title="@string/titleSelectRewrites"
133+
android:summary="@string/summaryAppList"
134+
android:title="@string/labelActivityAppList"
133135
app:iconSpaceReserved="false">
134136
<intent
135-
android:targetClass="ee.ioc.phon.android.speak.activity.RewritesSelectorActivity"
137+
android:targetClass="ee.ioc.phon.android.speak.activity.AppListActivity"
136138
android:targetPackage="ee.ioc.phon.android.speak" />
137139
</Preference>
138140
<Preference

‎docs/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Various documents, notes, examples
1111

1212
[intents.dot](intents.dot) is a diagram showing how information can flow from Kõnele to external devices/apps and back.
1313

14-
[Rewrite rule examples](http://kaljurand.github.io/K6nele/docs/et/user_guide.html#näited)
14+
[Rewrite rule examples](http://kaljurand.github.io/K6nele/docs/et/rewrites.html)
1515
contains (mostly) Estonian rewrite rule tables (documented in English).
1616
A rewrite rule table contains the following tab-separated columns:
1717

0 commit comments

Comments
 (0)
Failed to load comments.