web_lib

Common web application libraries
git clone https://radroots.dev/git/web_lib.git
Log | Files | Refs | LICENSE

commit 19eeaa2f75f7f68d5042aade9e94894abd2144b0
parent abd0072390c5d7b2ba61f99607889cca6852a42d
Author: triesap <137732411+triesap@users.noreply.github.com>
Date:   Tue, 29 Apr 2025 05:07:49 +0000

locales: add `products` to `en` messages, add/edit `en` messages

Diffstat:
Mlocales/src/messages/en/common.json | 27+++++++++++++++------------
Mlocales/src/messages/en/error.json | 25++++++++++++++++---------
Mlocales/src/messages/en/icu.json | 17++++++++++++-----
Mlocales/src/messages/en/notification.json | 4++--
Alocales/src/messages/en/products.json | 107+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Mlocales/src/messages/en/units.json | 84++++++++++++++++++++++++++++++++++++++++----------------------------------------
6 files changed, 194 insertions(+), 70 deletions(-)

diff --git a/locales/src/messages/en/common.json b/locales/src/messages/en/common.json @@ -1,16 +1,4 @@ { - "farm_coordinates": "Farm coordinates", - "add_farm": "Add farm", - "enter_location": "Enter location", - "choose_location": "Choose location", - "nostr_key": "Nostr key", - "nip05_address": "NIP-05 address", - "create": "Create", - "hide_alerts": "Hide alerts", - "keep_previous": "Keep previous", - "upload_photo": "Upload photo", - "followers": "Followers", - "following": "Following", "about_us": "About us", "accept": "Accept", "account_type": "Account type", @@ -18,6 +6,7 @@ "active": "Active", "add": "Add", "add_current_location": "Add current location", + "add_farm": "Add farm", "add_from_existing": "Add from existing", "add_map_location": "Add map location", "add_new": "Add new", @@ -41,6 +30,8 @@ "business_type": "Business type", "cancel": "Cancel", "choose_a_profile_name": "Choose a profile name", + "choose_location": "Choose location", + "choose_on_map": "Choose on map", "climate": "Climate", "close": "Close", "color_mode": "Color mode", @@ -58,6 +49,7 @@ "continue": "Continue", "coordinates": "Coordinates", "country": "Country", + "create": "Create", "create_product": "Create product", "current_location": "Current location", "dark": "Dark", @@ -78,12 +70,14 @@ "elevation": "Elevation", "end_date": "End date", "endpoint": "Endpoint", + "enter_location": "Enter location", "estate": "Estate", "failure_to_process_the_request": "Failure to process the request", "faq": "FAQ", "farm": "Farm", "farm_area": "Farm area", "farm_contact": "Farm contact", + "farm_coordinates": "Farm coordinates", "farm_land": "Farm land", "farm_location": "Farm location", "farm_name": "Farm name", @@ -92,16 +86,22 @@ "file_name": "File name", "file_size": "File size", "filters": "Filters", + "followers": "Followers", + "following": "Following", "from": "From", "general": "General", "greeting_welcome": "Welcome!", "hex": "Hex", + "hide_alerts": "Hide alerts", "highest_price": "Highest price", "home": "Home", + "image": "Image", + "images": "Images", "inbox": "Inbox", "inflows": "Inflows", "invalid_key": "Invalid key", "items": "Items", + "keep_previous": "Keep previous", "key": "Key", "keypair": "Keypair", "keys": "Keys", @@ -130,10 +130,12 @@ "name": "Name", "name_of_farm_or_estate": "Name of farm or estate", "new": "New", + "nip05_address": "NIP-05 address", "no": "No", "no_items_to_display": "No items to display", "no_locations_saved": "No locations saved", "nostr": "Nostr", + "nostr_key": "Nostr key", "not_connected": "Not connected", "notifications": "Notifications", "npub": "Npub", @@ -197,6 +199,7 @@ "to": "To", "unlock": "Unlock", "update": "Update", + "upload_photo": "Upload photo", "upload_url": "Upload url", "url": "url", "username": "Username", diff --git a/locales/src/messages/en/error.json b/locales/src/messages/en/error.json @@ -1,20 +1,33 @@ { "client": { - "http": { - "request_failure": "There was a request failure" - }, "geolocation": { "location_unavailable": "The device location is unavailable", "permission_denied": "The access device location was denied", "request_failure": "The request could not be completed", "timeout": "The request for your device location expired" + }, + "http": { + "request_failure": "There was a request failure" + }, + "nostr": { + "missing_public_key": "There is no public key available", + "sync_disabled": "The sync process is currently disabled" } }, + "default": { + "failure": "The request was not succesful" + }, "init": { "configuration_failure": "There was an error configuring the device", "device_configuration_nostr_profile": "There was an error while configuring your profile", "device_configuration_nostr_relay": "There was an error while adding the nostr relay configuration" }, + "model": { + "filter_map_bind_values_undefined": "", + "filter_map_options_list_invalid": "", + "filter_map_query_values_invalid_condition": "", + "filter_map_query_values_undefined": "" + }, "nostr": { "ndk_user_undefined": "There was an error configuring the nostr client", "no_relays": "There are no relays connected" @@ -22,12 +35,6 @@ "radroots": { "profile_registered": "This profile is already registered" }, - "model": { - "filter_map_options_list_invalid": "", - "filter_map_query_values_invalid_condition": "", - "filter_map_query_values_undefined": "", - "filter_map_bind_values_undefined": "" - }, "util": { "parse_file_path_undefined": "There was an error reading the file path" } diff --git a/locales/src/messages/en/icu.json b/locales/src/messages/en/icu.json @@ -1,17 +1,24 @@ { - "not_a_valid_": "Not a valid {{value}}", - "choose_*": "Choose {{value}}", + "*_information": "{{value}} information", + "*_name": "{{value}} name", + "*_price": "{{value}} price", "add_*": "Add {{value}}", "add_existing_*": "Add existing {{value}}", + "choose_*": "Choose {{value}}", "configure_*": "Configure {{value}}", "create_new_*": "Create new {{value}}", "enter_*": "Enter {{value}}", "enter_a_*": "Enter a {{value}}", "enter_a_valid_*": "Enter a valid {{value}}", + "enter_the_*": "Enter the {{value}}", + "failure_reading_*": "Failure reading {{value}}", "failure_saving_*_to_the_database": "Failure saving {{value}} to the database", - "the_*_is_available": "The {{value}} is available", - "use_existing_*": "Use existing {{value}}", "keystore": { "init_existing": "This device has an existing configuration. There are {{value}} existing keys found." - } + }, + "no_*": "No {{value}}", + "not_a_valid_*": "Not a valid {{value}}", + "the_*_is_available": "The {{value}} is available", + "upload_*": "Upload {{value}}", + "use_existing_*": "Use existing {{value}}" } \ No newline at end of file diff --git a/locales/src/messages/en/notification.json b/locales/src/messages/en/notification.json @@ -11,8 +11,8 @@ "on_first_load": "Notifications are enabled" }, "profile": { - "update_name_confirmation": "Updating your username will result in public links on your profile being updated", + "handle_back_with_selected_photo": "Do you want to use this photo or keep your existing one?", "handle_back_with_selected_photo_no_existing": "Do you want to use this photo or leave the page?", - "handle_back_with_selected_photo": "Do you want to use this photo or keep your existing one?" + "update_name_confirmation": "Updating your username will result in public links on your profile being updated" } } \ No newline at end of file diff --git a/locales/src/messages/en/products.json b/locales/src/messages/en/products.json @@ -0,0 +1,106 @@ +{ + "default": { + "process": { + "dried": "Dried", + "natural": "Natural", + "roasted": "Roasted" + } + }, + "key": { + "cacao": { + "name": "Cacao", + "process": { + "chocolate": "Chocolate", + "cocoa_butter": "Cocoa Butter", + "cocoa_powder": "Cocoa Powder", + "dried": "Dried", + "fermented": "Fermented", + "raw": "Raw", + "roasted": "Roasted" + } + }, + "coffee": { + "name": "Coffee", + "process": { + "carbonic_maceration": "Carbonic Maceration", + "dry": "Dry", + "honey": "Honey", + "natural": "Natural", + "pulped_natural": "Pulped Natural", + "semi_washed": "Semi-Washed", + "washed": "Washed", + "wet_hulled": "Wet-Hulled" + }, + "profile": { + "apricot": "Apricot", + "banana": "Banana", + "bergamot": "Bergamot", + "berry": "Berry", + "black cherry": "Black Cherry", + "black currant": "Black Currant", + "black tea": "Black Tea", + "blueberry": "Blueberry", + "brown sugar": "Brown Sugar", + "caramel": "Caramel", + "cherry": "Cherry", + "chocolate": "Chocolate", + "cola": "Cola", + "cranberry": "Cranberry", + "ctrius": "Ctrius", + "dark chocolate": "Dark Chocolate", + "dried dates": "Dried Dates", + "dried fig": "Dried Fig", + "golden raisin": "Golden Raisin", + "grape": "Grape", + "grapefruit": "Grapefruit", + "green apple": "Green Apple", + "green grape": "Green Grape", + "green tea": "Green Tea", + "jasmine honeysuckle": "Jasmine Honeysuckle", + "lemon": "Lemon", + "licorice/anise": "Licorice/Anise", + "lychee": "Lychee", + "magnolia": "Magnolia", + "mandarin": "Mandarin", + "mango": "Mango", + "maple syrup": "Maple Syrup", + "marshmallow": "Marshmallow", + "milk chocolate": "Milk Chocolate", + "natural": "Natural", + "nectarine": "Nectarine", + "nougat": "Nougat", + "nut": "Nut", + "orange": "Orange", + "orange blossom": "Orange Blossom", + "peach": "Peach", + "pineapple": "Pineapple", + "plum": "Plum", + "prune": "Prune", + "raisin": "Raisin", + "raspberry": "Raspberry", + "red apple": "Red Apple", + "red currant": "Red Currant", + "red grape": "Red Grape", + "roses": "Roses", + "star fruit": "Star Fruit", + "stronefruit": "Stronefruit", + "sugar cane": "Sugar Cane", + "sweet bread pastry": "Sweet Bread Pastry", + "tamarind": "Tamarind", + "tropical fruit": "Tropical Fruit", + "vanilla": "Vanilla", + "white grape": "White Grape" + } + }, + "maca": { + "name": "Maca", + "process": { + "capsules": "Capsules", + "gelatinized": "Gelatinized", + "powdered": "Powdered", + "raw": "Raw", + "roasted": "Roasted" + } + } + } +} +\ No newline at end of file diff --git a/locales/src/messages/en/units.json b/locales/src/messages/en/units.json @@ -13,6 +13,48 @@ "m2_ab": "Sq. M.", "m2_pl": "Square metres" }, + "currency": { + "aed": "د.إ", + "aud": "A$", + "brl": "R$", + "btc": "₿", + "cad": "C$", + "chf": "CHF", + "clp": "CLP$", + "cny": "¥", + "cop": "COL$", + "czk": "Kč", + "dkk": "kr", + "egp": "E£", + "eur": "€", + "gbp": "£", + "hkd": "HK$", + "huf": "Ft", + "idr": "Rp", + "ils": "₪", + "inr": "₹", + "jpy": "¥", + "krw": "₩", + "mxn": "MX$", + "myr": "RM", + "ngn": "₦", + "nok": "kr", + "nzd": "NZ$", + "php": "₱", + "pln": "zł", + "ron": "lei", + "rub": "₽", + "sar": "﷼", + "sek": "kr", + "sgd": "S$", + "thb": "฿", + "try": "₺", + "twd": "NT$", + "uah": "₴", + "usd": "$", + "vnd": "₫", + "zar": "R" + }, "length": { "ft": "Foot", "ft_ab": "Ft.", @@ -33,47 +75,5 @@ "lb_ab": "Lb.", "lb_pl": "Pounds" } - }, - "currency": { - "btc": "₿", - "usd": "$", - "eur": "€", - "gbp": "£", - "jpy": "¥", - "cny": "¥", - "inr": "₹", - "krw": "₩", - "rub": "₽", - "aud": "A$", - "cad": "C$", - "nzd": "NZ$", - "chf": "CHF", - "sek": "kr", - "nok": "kr", - "dkk": "kr", - "pln": "zł", - "brl": "R$", - "mxn": "MX$", - "zar": "R", - "try": "₺", - "hkd": "HK$", - "sgd": "S$", - "myr": "RM", - "thb": "฿", - "idr": "Rp", - "php": "₱", - "twd": "NT$", - "vnd": "₫", - "ils": "₪", - "aed": "د.إ", - "sar": "﷼", - "egp": "E£", - "ngn": "₦", - "clp": "CLP$", - "cop": "COL$", - "uah": "₴", - "czk": "Kč", - "huf": "Ft", - "ron": "lei" } } \ No newline at end of file