diff --git a/evently/i18n/de.json b/evently/i18n/de.json index 756503c09a..f02d08ce0c 100644 --- a/evently/i18n/de.json +++ b/evently/i18n/de.json @@ -56,5 +56,6 @@ "start": "Anfang", "free_shirt": "1 free t-shirt", "free_gift": "Free Gift", - "free_drink": "1 free drink" + "free_drink": "1 free drink", + "publish" : "Publish" } \ No newline at end of file diff --git a/evently/i18n/en-US.json b/evently/i18n/en-US.json index 6cef40ae5f..9c6a3d4733 100644 --- a/evently/i18n/en-US.json +++ b/evently/i18n/en-US.json @@ -56,5 +56,6 @@ "start": "Start", "free_shirt": "1 free t-shirt", "free_gift": "Free Gift", - "free_drink": "1 free drink" + "free_drink": "1 free drink", + "publish" : "Publish" } \ No newline at end of file diff --git a/evently/i18n/es.json b/evently/i18n/es.json index 56fb8558b1..4a4084f507 100644 --- a/evently/i18n/es.json +++ b/evently/i18n/es.json @@ -56,5 +56,6 @@ "start": "Comienzo", "free_shirt": "1 free t-shirt", "free_gift": "Free Gift", - "free_drink": "1 free drink" + "free_drink": "1 free drink", + "publish" : "Publish" } \ No newline at end of file diff --git a/evently/i18n/ru-RU.json b/evently/i18n/ru-RU.json index 0cfb75ca3d..e584dea16b 100644 --- a/evently/i18n/ru-RU.json +++ b/evently/i18n/ru-RU.json @@ -56,5 +56,6 @@ "start": "Начинать", "free_shirt": "1 free t-shirt", "free_gift": "Free Gift", - "free_drink": "1 free drink" + "free_drink": "1 free drink", + "publish" : "Publish" } \ No newline at end of file diff --git a/evently/lib/generated/locale_keys.g.dart b/evently/lib/generated/locale_keys.g.dart index 6f4dadf90c..03d9acb19a 100644 --- a/evently/lib/generated/locale_keys.g.dart +++ b/evently/lib/generated/locale_keys.g.dart @@ -56,5 +56,7 @@ abstract class LocaleKeys { static const open_pylons_app = 'open_pylons_app'; static const create_stripe_description = 'create_stripe_description'; static const start = 'start'; + static const free_gift = 'free_gift'; + static const free_drink = 'free_drink'; } diff --git a/evently/lib/screens/custom_widgets/bottom_buttons.dart b/evently/lib/screens/custom_widgets/bottom_buttons.dart index ef09ff97f8..6c8809be16 100644 --- a/evently/lib/screens/custom_widgets/bottom_buttons.dart +++ b/evently/lib/screens/custom_widgets/bottom_buttons.dart @@ -12,18 +12,20 @@ class BottomButtons extends StatelessWidget { required this.onPressContinue, required this.onPressSaveDraft, required this.isContinueEnable, + this.clipBtnTxt, }); final VoidCallback onPressContinue; final VoidCallback onPressSaveDraft; final bool isContinueEnable; + final String? clipBtnTxt; @override Widget build(BuildContext context) { return Column( children: [ ClippedButton( - title: LocaleKeys.continue_key.tr(), + title: clipBtnTxt ?? LocaleKeys.continue_key.tr(), bgColor: isContinueEnable ? EventlyAppTheme.kBlue : EventlyAppTheme.kGery03, textColor: EventlyAppTheme.kWhite, onPressed: () { diff --git a/evently/lib/screens/host_view_ticket_preview.dart b/evently/lib/screens/host_view_ticket_preview.dart index 0cc58835c3..65dc35e0cd 100644 --- a/evently/lib/screens/host_view_ticket_preview.dart +++ b/evently/lib/screens/host_view_ticket_preview.dart @@ -32,10 +32,17 @@ class _HostTicketPreviewState extends State { bottomNavigationBar: Container( padding: EdgeInsets.symmetric(horizontal: 30.w), height: 110.h, - child: BottomButtons( - onPressContinue: () {}, - onPressSaveDraft: () {}, - isContinueEnable: false, + child: Column( + mainAxisAlignment: MainAxisAlignment.center, + crossAxisAlignment: CrossAxisAlignment.center, + children: [ + BottomButtons( + onPressContinue: () {}, + onPressSaveDraft: () {}, + isContinueEnable: true, + clipBtnTxt: LocaleKeys.publish.tr(), + ), + ], ), ), body: SingleChildScrollView(