@studyjoyful/shared 1.0.7 → 1.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@studyjoyful/shared",
3
- "version": "1.0.7",
3
+ "version": "1.0.10",
4
4
  "description": "Shared code for StudyJoyful Web and App (i18n, constants, types, utils)",
5
5
  "main": "src/index.ts",
6
6
  "types": "src/index.ts",
@@ -117,7 +117,8 @@
117
117
  },
118
118
  "header": {
119
119
  "newTask": "StudyJoyful",
120
- "creating": "Creating Task"
120
+ "creating": "Creating Task",
121
+ "chat": "Chat with AI"
121
122
  },
122
123
  "time": {
123
124
  "justNow": "Just now",
@@ -1,12 +1,33 @@
1
1
  {
2
2
  "network": {
3
+ "title": "No Connection",
4
+ "description": "Please check your internet connection and try again.",
3
5
  "offline": "You're offline",
4
6
  "offlineDesc": "Check your internet connection and try again",
5
7
  "noConnection": "No network connection, please check and retry",
6
8
  "timeout": "Request timed out",
7
9
  "timeoutDesc": "The server is taking too long. Please try again."
8
10
  },
11
+ "timeout": {
12
+ "title": "Request Timed Out",
13
+ "description": "The server is taking too long. Please try again."
14
+ },
15
+ "unauthorized": {
16
+ "title": "Session Expired",
17
+ "description": "Please sign in again to continue."
18
+ },
19
+ "default": {
20
+ "title": "Unable to Load",
21
+ "description": "Something went wrong. Please try again."
22
+ },
23
+ "actions": {
24
+ "retry": "Try Again",
25
+ "goBack": "Go Back",
26
+ "signIn": "Sign In"
27
+ },
9
28
  "server": {
29
+ "title": "Server Error",
30
+ "description": "We're experiencing issues. Please try again later.",
10
31
  "unavailable": "Server Unavailable",
11
32
  "unavailableDesc": "We're experiencing issues. Please try again later.",
12
33
  "maintenance": "Under Maintenance",
@@ -0,0 +1,144 @@
1
+ {
2
+ "scan": {
3
+ "title": "Scan Homework",
4
+ "subtitle": "Take a photo and generate practice instantly",
5
+ "cta": "Scan Now"
6
+ },
7
+ "quickStart": {
8
+ "title": "Quick Start",
9
+ "math": {
10
+ "title": "Math Practice",
11
+ "subtitle": "{{grade}} Topics",
12
+ "subtitleNoGrade": "Select topics"
13
+ },
14
+ "english": {
15
+ "title": "English Practice",
16
+ "subtitle": "{{grade}} Topics",
17
+ "subtitleNoGrade": "Select topics"
18
+ }
19
+ },
20
+ "chat": {
21
+ "sectionTitle": "Or describe what you need",
22
+ "title": "Chat with AI",
23
+ "placeholder": "\"Create practice for 2-digit subtraction\""
24
+ },
25
+ "recentTasks": {
26
+ "title": "Recent Tasks",
27
+ "viewAll": "View All",
28
+ "questions": "questions",
29
+ "empty": "No tasks yet",
30
+ "notStarted": "Not started"
31
+ },
32
+ "time": {
33
+ "justNow": "Just now",
34
+ "minutesAgo": "{{count}} min ago",
35
+ "hoursAgo": "{{count}}h ago",
36
+ "daysAgo": "{{count}}d ago"
37
+ },
38
+ "topics": {
39
+ "title": "Select Topic",
40
+ "popular": "Popular",
41
+ "all": "All Topics",
42
+ "math": {
43
+ "addition": {
44
+ "label": "Addition",
45
+ "description": "With & without carrying"
46
+ },
47
+ "subtraction": {
48
+ "label": "Subtraction",
49
+ "description": "With & without borrowing"
50
+ },
51
+ "multiplication": {
52
+ "label": "Multiplication",
53
+ "description": "Times tables & word problems"
54
+ },
55
+ "division": {
56
+ "label": "Division",
57
+ "description": "Basic division concepts"
58
+ },
59
+ "fractions": {
60
+ "label": "Fractions",
61
+ "description": "Halves, quarters, thirds"
62
+ },
63
+ "shapes": {
64
+ "label": "Shapes",
65
+ "description": "2D and 3D shapes"
66
+ },
67
+ "time": {
68
+ "label": "Time",
69
+ "description": "Telling time, duration"
70
+ },
71
+ "money": {
72
+ "label": "Money",
73
+ "description": "Counting, adding money"
74
+ },
75
+ "measurement": {
76
+ "label": "Measurement",
77
+ "description": "Length, mass, volume"
78
+ },
79
+ "wordProblems": {
80
+ "label": "Word Problems",
81
+ "description": "Mixed operations"
82
+ }
83
+ },
84
+ "english": {
85
+ "spelling": {
86
+ "label": "Spelling",
87
+ "description": "Common words & patterns"
88
+ },
89
+ "vocabulary": {
90
+ "label": "Vocabulary",
91
+ "description": "Word meanings & usage"
92
+ },
93
+ "grammar": {
94
+ "label": "Grammar",
95
+ "description": "Sentence structure"
96
+ },
97
+ "reading": {
98
+ "label": "Reading",
99
+ "description": "Comprehension practice"
100
+ },
101
+ "phonics": {
102
+ "label": "Phonics",
103
+ "description": "Sound-letter relationships"
104
+ },
105
+ "punctuation": {
106
+ "label": "Punctuation",
107
+ "description": "Periods, commas, capitals"
108
+ }
109
+ }
110
+ },
111
+ "confirm": {
112
+ "title": "Confirm Practice",
113
+ "settings": "Settings",
114
+ "questions": "Questions",
115
+ "difficulty": "Difficulty",
116
+ "easier": "Easier",
117
+ "balanced": "Balanced",
118
+ "harder": "Harder",
119
+ "generate": "Generate Practice",
120
+ "customizeWithAI": "Customize with AI"
121
+ },
122
+ "scanPage": {
123
+ "title": "Scan Homework",
124
+ "tips": "Tips",
125
+ "tip1": "Make sure text is clear and in focus",
126
+ "tip2": "Good lighting helps accuracy",
127
+ "tip3": "Include the full question",
128
+ "takePhoto": "Take Photo",
129
+ "choosePhoto": "Choose from Gallery",
130
+ "analyzing": "Analyzing...",
131
+ "detected": "Detected",
132
+ "confidence": {
133
+ "high": "High confidence",
134
+ "medium": "Please verify",
135
+ "low": "Needs clarification"
136
+ },
137
+ "notRecognized": "Could not recognize learning content",
138
+ "tryAgain": "Try Again",
139
+ "switchToChat": "Describe Instead",
140
+ "advancedSettings": "Advanced Settings",
141
+ "generatePractice": "Generate Practice"
142
+ }
143
+ }
144
+
@@ -5,6 +5,7 @@
5
5
  import common from './common.json';
6
6
  import auth from './auth.json';
7
7
  import chat from './chat.json';
8
+ import home from './home.json';
8
9
  import tasks from './tasks.json';
9
10
  import learning from './learning.json';
10
11
  import profile from './profile.json';
@@ -15,6 +16,7 @@ export const en = {
15
16
  common,
16
17
  auth,
17
18
  chat,
19
+ home,
18
20
  tasks,
19
21
  learning,
20
22
  profile,