From 29e1e912d79f2bdedb4be556570740f145fb6149 Mon Sep 17 00:00:00 2001 From: Carlosokumu Date: Wed, 6 Nov 2024 17:52:22 +0300 Subject: [PATCH] use edit prefix on each profile edit node --- services/registration/edit_first_name.vis | 11 +++++++++++ services/registration/edit_first_name_menu_swa | 1 + services/registration/edit_location | 1 + services/registration/edit_location.vis | 10 ++++++++++ services/registration/edit_location_swa | 1 + services/registration/edit_offerings | 1 + services/registration/edit_offerings.vis | 10 ++++++++++ services/registration/edit_offerings_swa | 1 + services/registration/edit_profile.vis | 14 +++++++------- services/registration/edit_yob | 1 + services/registration/edit_yob.vis | 12 ++++++++++++ services/registration/edit_yob_swa | 1 + 12 files changed, 57 insertions(+), 7 deletions(-) create mode 100644 services/registration/edit_first_name.vis create mode 100644 services/registration/edit_first_name_menu_swa create mode 100644 services/registration/edit_location create mode 100644 services/registration/edit_location.vis create mode 100644 services/registration/edit_location_swa create mode 100644 services/registration/edit_offerings create mode 100644 services/registration/edit_offerings.vis create mode 100644 services/registration/edit_offerings_swa create mode 100644 services/registration/edit_yob create mode 100644 services/registration/edit_yob.vis create mode 100644 services/registration/edit_yob_swa diff --git a/services/registration/edit_first_name.vis b/services/registration/edit_first_name.vis new file mode 100644 index 0000000..b8dab5a --- /dev/null +++ b/services/registration/edit_first_name.vis @@ -0,0 +1,11 @@ +CATCH incorrect_pin flag_incorrect_pin 1 +CATCH update_firstname flag_allow_update 1 +LOAD get_current_profile_info 0 +RELOAD get_current_profile_info +MAP get_current_profile_info +MOUT back 0 +HALT +LOAD save_firstname 0 +RELOAD save_firstname +INCMP _ 0 +INCMP pin_entry * diff --git a/services/registration/edit_first_name_menu_swa b/services/registration/edit_first_name_menu_swa new file mode 100644 index 0000000..9395f7c --- /dev/null +++ b/services/registration/edit_first_name_menu_swa @@ -0,0 +1 @@ +Weka jina \ No newline at end of file diff --git a/services/registration/edit_location b/services/registration/edit_location new file mode 100644 index 0000000..675b835 --- /dev/null +++ b/services/registration/edit_location @@ -0,0 +1 @@ +Enter your location: \ No newline at end of file diff --git a/services/registration/edit_location.vis b/services/registration/edit_location.vis new file mode 100644 index 0000000..eaf248a --- /dev/null +++ b/services/registration/edit_location.vis @@ -0,0 +1,10 @@ +CATCH incorrect_pin flag_incorrect_pin 1 +CATCH update_location flag_allow_update 1 +LOAD get_current_profile_info 0 +RELOAD get_current_profile_info +MOUT back 0 +HALT +LOAD save_location 0 +RELOAD save_location +INCMP _ 0 +INCMP pin_entry * diff --git a/services/registration/edit_location_swa b/services/registration/edit_location_swa new file mode 100644 index 0000000..41682a2 --- /dev/null +++ b/services/registration/edit_location_swa @@ -0,0 +1 @@ +Weka eneo: \ No newline at end of file diff --git a/services/registration/edit_offerings b/services/registration/edit_offerings new file mode 100644 index 0000000..a9333ba --- /dev/null +++ b/services/registration/edit_offerings @@ -0,0 +1 @@ +Enter the services or goods you offer: \ No newline at end of file diff --git a/services/registration/edit_offerings.vis b/services/registration/edit_offerings.vis new file mode 100644 index 0000000..dad3193 --- /dev/null +++ b/services/registration/edit_offerings.vis @@ -0,0 +1,10 @@ +CATCH incorrect_pin flag_incorrect_pin 1 +CATCH update_offerings flag_allow_update 1 +LOAD get_current_profile_info 0 +RELOAD get_current_profile_info +LOAD save_offerings 0 +MOUT back 0 +HALT +RELOAD save_offerings +INCMP _ 0 +INCMP pin_entry * diff --git a/services/registration/edit_offerings_swa b/services/registration/edit_offerings_swa new file mode 100644 index 0000000..f37e125 --- /dev/null +++ b/services/registration/edit_offerings_swa @@ -0,0 +1 @@ +Weka unachouza \ No newline at end of file diff --git a/services/registration/edit_profile.vis b/services/registration/edit_profile.vis index 277f330..af20e0f 100644 --- a/services/registration/edit_profile.vis +++ b/services/registration/edit_profile.vis @@ -2,8 +2,8 @@ LOAD reset_account_authorized 16 RELOAD reset_account_authorized LOAD reset_allow_update 0 RELOAD reset_allow_update -MOUT edit_name 1 -MOUT edit_familyname 2 +MOUT edit_first_name 1 +MOUT edit_family_name 2 MOUT edit_gender 3 MOUT edit_yob 4 MOUT edit_location 5 @@ -12,10 +12,10 @@ MOUT view 7 MOUT back 0 HALT INCMP my_account 0 -INCMP enter_name 1 -INCMP enter_familyname 2 +INCMP edit_first_name 1 +INCMP edit_family_name 2 INCMP select_gender 3 -INCMP enter_yob 4 -INCMP enter_location 5 -INCMP enter_offerings 6 +INCMP edit_yob 4 +INCMP edit_location 5 +INCMP edit_offerings 6 INCMP view_profile 7 diff --git a/services/registration/edit_yob b/services/registration/edit_yob new file mode 100644 index 0000000..54e039e --- /dev/null +++ b/services/registration/edit_yob @@ -0,0 +1 @@ +Enter your year of birth \ No newline at end of file diff --git a/services/registration/edit_yob.vis b/services/registration/edit_yob.vis new file mode 100644 index 0000000..3cb7bd0 --- /dev/null +++ b/services/registration/edit_yob.vis @@ -0,0 +1,12 @@ +CATCH incorrect_pin flag_incorrect_pin 1 +CATCH update_yob flag_allow_update 1 +LOAD get_current_profile_info 0 +RELOAD get_current_profile_info +MOUT back 0 +HALT +LOAD verify_yob 0 +CATCH incorrect_date_format flag_incorrect_date_format 1 +LOAD save_yob 0 +RELOAD save_yob +INCMP _ 0 +INCMP pin_entry * diff --git a/services/registration/edit_yob_swa b/services/registration/edit_yob_swa new file mode 100644 index 0000000..9bb272a --- /dev/null +++ b/services/registration/edit_yob_swa @@ -0,0 +1 @@ +Weka mwaka wa kuzaliwa \ No newline at end of file