Skip to content

Commit 011803b

Browse files
committed
feat: add help for tags
1 parent f0629f0 commit 011803b

3 files changed

Lines changed: 9 additions & 2 deletions

File tree

lib/language/strings/de.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ const Map<String, dynamic> de = {
1818
'selectPlace': 'Bitte wähle eine Location aus:',
1919
'unknown': 'Unbekannt',
2020
'comment': 'Kommentieren',
21-
'tags': 'Tags'
21+
'tags': 'Tags',
22+
'tagsHelp': 'Tags mit Leerzeichen trennen'
2223
}
2324
};

lib/language/strings/en.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ const Map<String, dynamic> en = {
1818
'selectPlace': 'Please select a location:',
1919
'unknown': 'Unknown',
2020
'comment': 'Comment',
21-
'tags': 'Tags'
21+
'tags': 'Tags',
22+
'tagsHelp': 'Separate tags with spaces'
2223
}
2324
};

lib/routes/comment_page.dart

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,11 @@ class _CommentPageState extends State<CommentPage> {
156156
focusedBorder: OutlineInputBorder(borderSide: BorderSide(color: Colors.grey, width: 2))
157157
),
158158
),
159+
SizedBox(height: 10),
160+
Align(
161+
alignment: Alignment.centerRight,
162+
child: Text(t('placeInfo.tagsHelp'), style: TextStyle(color: Colors.grey, fontStyle: FontStyle.italic)),
163+
),
159164
SizedBox(height: 50),
160165
FlatButton(
161166
shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(50.0)),

0 commit comments

Comments
 (0)