You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: packages/keybr-intl/translations/en.json
+2
Original file line number
Diff line number
Diff line change
@@ -363,6 +363,8 @@
363
363
"settings.previewLesson.label": "Lesson Preview",
364
364
"settings.punctuation.description": "Adjust the amount of basic punctuation characters added to the lesson text. Use this option to practice typing the punctuation characters. We recommend to increase this value only if you have all letters above the target speed.",
"settings.programming.description": "Add programming characters to the lesson text. Use this option to practice typing the programming characters. We recommend to increase this value only if you have all letters above the target speed.",
366
368
"settings.recoverKeys.description": "When you focus on a new key, it is very likely that the speed of previous keys will decrease. If this option is disabled, you unlock a new key by raising only the focused key above the target speed. If this option is enabled, you will have to raise the focused key and all the previous keys above the target speed. This will make unlocking new keys harder. However, this will also make forgetting old keys harder.",
367
369
"settings.recoverKeys.label": "The previous keys are also above the target speed",
368
370
"settings.recoverKeys.prefix": "Unlock a next key only when:",
Copy file name to clipboardexpand all lines: packages/page-practice/lib/settings/lesson/TextManglingProp.tsx
+23-1
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,7 @@ import { useIntlNumbers } from "@keybr/intl";
2
2
import{lessonProps}from"@keybr/lesson";
3
3
import{useSettings}from"@keybr/settings";
4
4
import{
5
+
CheckBox,
5
6
Explainer,
6
7
Field,
7
8
FieldList,
@@ -10,11 +11,12 @@ import {
10
11
Value,
11
12
}from"@keybr/widget";
12
13
import{typeReactNode}from"react";
13
-
import{FormattedMessage}from"react-intl";
14
+
import{FormattedMessage,useIntl}from"react-intl";
14
15
15
16
exportfunctionTextManglingProp(): ReactNode{
16
17
const{ formatPercents }=useIntlNumbers();
17
18
const{ settings, updateSettings }=useSettings();
19
+
const{ formatMessage }=useIntl();
18
20
return(
19
21
<>
20
22
<FieldList>
@@ -79,6 +81,26 @@ export function TextManglingProp(): ReactNode {
79
81
defaultMessage="Adjust the amount of basic punctuation characters added to the lesson text. Use this option to practice typing the punctuation characters. We recommend to increase this value only if you have all letters above the target speed."
defaultMessage="Add programming characters to the lesson text. Use this option to practice typing the programming characters. Programming characters will be added only if you have all letters above the target speed."
0 commit comments