mirror of
https://github.com/foss42/apidash.git
synced 2025-06-17 11:54:51 +08:00
Add new string consts
This commit is contained in:
@ -423,7 +423,10 @@ const kRaiseIssue =
|
|||||||
"\nPlease raise an issue in API Dash GitHub repo so that we can resolve it.";
|
"\nPlease raise an issue in API Dash GitHub repo so that we can resolve it.";
|
||||||
|
|
||||||
const kHintTextUrlCard = "Enter API endpoint like api.foss42.com/country/codes";
|
const kHintTextUrlCard = "Enter API endpoint like api.foss42.com/country/codes";
|
||||||
|
const kLabelPlusNew = "+ New";
|
||||||
const kLabelSend = "Send";
|
const kLabelSend = "Send";
|
||||||
const kLabelSending = "Sending..";
|
const kLabelSending = "Sending..";
|
||||||
const kLabelBusy = "Busy";
|
const kLabelBusy = "Busy";
|
||||||
const kLabelCopy = "Copy";
|
const kLabelCopy = "Copy";
|
||||||
|
const kLabelSave = "Save";
|
||||||
|
const kLabelDownload = "Download";
|
||||||
|
@ -75,7 +75,7 @@ class _CollectionPaneState extends ConsumerState<CollectionPane> {
|
|||||||
size: 20,
|
size: 20,
|
||||||
),
|
),
|
||||||
label: const Text(
|
label: const Text(
|
||||||
'Save',
|
kLabelSave,
|
||||||
style: kTextStyleButton,
|
style: kTextStyleButton,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@ -89,7 +89,7 @@ class _CollectionPaneState extends ConsumerState<CollectionPane> {
|
|||||||
.update((state) => newId);
|
.update((state) => newId);
|
||||||
},
|
},
|
||||||
child: const Text(
|
child: const Text(
|
||||||
'+ New',
|
kLabelPlusNew,
|
||||||
style: kTextStyleButton,
|
style: kTextStyleButton,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
@ -106,7 +106,7 @@ class _IntroMessageState extends State<IntroMessage> {
|
|||||||
child: ElevatedButton(
|
child: ElevatedButton(
|
||||||
onPressed: widget.onNew,
|
onPressed: widget.onNew,
|
||||||
child: const Text(
|
child: const Text(
|
||||||
'+ New',
|
kLabelPlusNew,
|
||||||
style: kTextStyleButton,
|
style: kTextStyleButton,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
Reference in New Issue
Block a user