commit 900828609b79b0b7ad5b689438bc0c4fe88b1ea0
parent 8a92df2c18ccf2dda1c9703c16ad8b7d870039bf
Author: triesap <137732411+triesap@users.noreply.github.com>
Date: Sat, 7 Dec 2024 22:32:33 +0000
apps-lib: edit logo circle. add/edit locales
Diffstat:
4 files changed, 164 insertions(+), 140 deletions(-)
diff --git a/apps-lib/src/lib/components/logo_circle.svelte b/apps-lib/src/lib/components/logo_circle.svelte
@@ -8,15 +8,22 @@
class={`relative flex flex-col h-[196px] w-full justify-center items-center`}
>
<div
- class={`flex flex-row h-32 w-32 justify-center items-center bg-layer-2-surface rounded-full`}
+ class={`relative flex flex-row h-36 w-36 justify-center items-center bg-layer-2-surface rounded-full`}
>
- <p class={`font-sans font-[900] text-4xl text-layer-0-glyph`}>
- {"»`,-"}
+ <p
+ class={`font-sans font-[900] text-6xl text-layer-0-glyph -tracking-[0.4rem] -translate-x-[6px]`}
+ >
+ {"»`,"}
+ </p>
+ <p
+ class={`font-sans font-[900] text-6xl text-layer-0-glyph translate-x-[8px]`}
+ >
+ {"-"}
</p>
</div>
{#each array as char, index}
<div
- class={`char font-sans text-layer-0-glyph text-center uppercase`}
+ class={`char font-sans text-layer-0-glyph/60 text-[0.8rem] text-center uppercase`}
style="--angle: {`${(1 / array.length) * index + 0.18}turn`}"
>
{char}
diff --git a/apps-lib/src/lib/locales/en/app.json b/apps-lib/src/lib/locales/en/app.json
@@ -11,13 +11,13 @@
}
},
"name": "Radroots",
- "page": {
- "cfg": {
- "init": {
- "notification": {
- "no_profile_name": "Your profile will be created without a name. You can change this later in Settings > Profile",
- "welcome": "Welcome! Your device was configured. To view or change your configuration go to Settings > Configuration"
- }
+ "cfg": {
+ "init": {
+ "greeting": "Welcome to Radroots!",
+ "message": "Your device will be configured by the setup wizard.",
+ "notification": {
+ "no_profile_name": "Your profile will be created without a name. You can change this later in Settings > Profile",
+ "welcome": "Welcome! Your device was configured. To view or change your configuration go to Settings > Configuration"
}
}
}
diff --git a/apps-lib/src/lib/locales/en/common.json b/apps-lib/src/lib/locales/en/common.json
@@ -1,4 +1,5 @@
{
+ "using_public_key": "Using public key",
"accept": "Accept",
"activation": "Activation",
"active": "Active",
diff --git a/apps-lib/src/lib/locales/en/models.json b/apps-lib/src/lib/locales/en/models.json
@@ -1,17 +1,32 @@
{
"location_gcs": {
"fields": {
- "gc_admin1_id": {
- "label": "Location Gc Admin1 Id"
+ "lat": {
+ "label": "Location Latitude"
},
- "gc_admin1_name": {
- "label": "Location Gc Admin1 Name"
+ "lng": {
+ "label": "Location Latitude"
},
- "gc_country_id": {
- "label": "Location Gc Country Id"
+ "geohash": {
+ "label": "Location Geohash"
},
- "gc_country_name": {
- "label": "Location Gc Country Name"
+ "kind": {
+ "label": "Location Kind"
+ },
+ "label": {
+ "label": "Location Label"
+ },
+ "area": {
+ "label": "Location Area"
+ },
+ "elevation": {
+ "label": "Location Elevation"
+ },
+ "soil": {
+ "label": "Location Soil"
+ },
+ "climate": {
+ "label": "Location Climate"
},
"gc_id": {
"label": "Location Gc Id"
@@ -19,76 +34,71 @@
"gc_name": {
"label": "Location Gc Name"
},
- "geohash": {
- "label": "Location Geohash"
+ "gc_admin1_id": {
+ "label": "Location Gc Admin1 Id"
},
- "label": {
- "label": "Location Label"
+ "gc_admin1_name": {
+ "label": "Location Gc Admin1 Name"
},
- "lat": {
- "label": "Location Latitude"
+ "gc_country_id": {
+ "label": "Location Gc Country Id"
},
- "lng": {
- "label": "Location Latitude"
+ "gc_country_name": {
+ "label": "Location Gc Country Name"
}
},
"schema": {
- "geohash.length": "The location geohash must be 9 characters",
- "geohash.required": "The location geohash is required",
- "lat.max": "The location latitude must be less than 90",
- "lat.min": "The location latitude must be greater than -90",
"lat.required": "The location latitude is required",
- "lng.max": "The location latitude must be less than 180",
+ "lat.min": "The location latitude must be greater than -90",
+ "lat.max": "The location latitude must be less than 90",
+ "lng.required": "The location latitude is required",
"lng.min": "The location latitude must be greater than -180",
- "lng.required": "The location latitude is required"
+ "lng.max": "The location latitude must be less than 180",
+ "geohash.required": "The location geohash is required",
+ "geohash.length": "The location geohash must be 9 characters",
+ "kind.required": "The location kind is required"
}
},
"log_error": {
"fields": {
- "app_system": {
- "label": "Log App System"
+ "error": {
+ "label": "Log Error"
},
- "app_version": {
- "label": "Log App Version"
+ "message": {
+ "label": "Log Message"
+ },
+ "stack_trace": {
+ "label": "Log Stack Trace"
},
"cause": {
"label": "Log Cause"
},
- "data": {
- "label": "Log Data"
- },
- "error": {
- "label": "Log Error"
+ "app_system": {
+ "label": "Log App System"
},
- "message": {
- "label": "Log Message"
+ "app_version": {
+ "label": "Log App Version"
},
"nostr_pubkey": {
"label": "Log Nostr Pubkey"
},
- "stack_trace": {
- "label": "Log Stack Trace"
+ "data": {
+ "label": "Log Data"
}
},
"schema": {
- "app_system.required": "The log app system is required",
- "app_version.required": "The log app version is required",
"error.required": "The log error is required",
"message.required": "The log message is required",
+ "app_system.required": "The log app system is required",
+ "app_version.required": "The log app version is required",
"nostr_pubkey.required": "The log nostr pubkey is required"
}
},
"media_upload": {
"fields": {
- "description": {
- "label": "Description"
- },
"file_path": {
"label": "File Path"
},
- "label": {
- "label": "Label"
- },
"mime_type": {
"label": "Mime Type"
},
@@ -97,179 +107,185 @@
},
"res_path": {
"label": "Resource Path"
+ },
+ "label": {
+ "label": "Label"
+ },
+ "description": {
+ "label": "Description"
}
},
"schema": {
"file_path.required": "The media file path is required",
"mime_type.required": "The media mime type is required",
- "res_base.regex": "The media resource endpoint requires an http protocol",
"res_base.required": "The media resource endpoint is required",
"res_base.url": "The media resource endpoint is incorrectly formatted",
+ "res_base.regex": "The media resource endpoint requires an http protocol",
"res_path.required": "The media resource path is required"
}
},
"nostr_profile": {
"fields": {
- "about": {
- "label": "Profile About"
+ "public_key": {
+ "label": "Profile Public Key"
},
- "banner": {
- "label": "Profile Banner"
+ "name": {
+ "label": "Profile Name"
},
"display_name": {
"label": "Profile Display Name"
},
- "lud06": {
- "label": "Profile Lud-06"
+ "about": {
+ "label": "Profile About"
},
- "lud16": {
- "label": "Profile Lud-16"
+ "website": {
+ "label": "Profile Website"
},
- "name": {
- "label": "Profile Name"
+ "picture": {
+ "label": "Profile Picture"
+ },
+ "banner": {
+ "label": "Profile Banner"
},
"nip05": {
"label": "Profile Nip-05"
},
- "picture": {
- "label": "Profile Picture"
- },
- "public_key": {
- "label": "Profile Public Key"
+ "lud06": {
+ "label": "Profile Lud-06"
},
- "website": {
- "label": "Profile Website"
+ "lud16": {
+ "label": "Profile Lud-16"
}
},
"schema": {
- "banner.url": "The profile banner url is incomplete",
- "nip05.email": "The profile nip-05 is incorrectly formatted",
- "picture.url": "The profile picture url is incomplete",
- "public_key.length": "The profile public key must be 64 characters",
"public_key.required": "The profile public key is required",
- "website.url": "The profile website url is incomplete"
+ "public_key.length": "The profile public key must be 64 characters",
+ "website.url": "The profile website url is incomplete",
+ "picture.url": "The profile picture url is incomplete",
+ "banner.url": "The profile banner url is incomplete",
+ "nip05.email": "The profile nip-05 is incorrectly formatted"
}
},
"nostr_relay": {
"fields": {
- "contact": {
- "label": "Administrator Contact"
- },
- "data": {
- "label": "Additional Information"
+ "url": {
+ "label": "Relay Endpoint"
},
- "description": {
- "label": "Relay Description"
+ "relay_id": {
+ "label": "Relay Id"
},
"name": {
"label": "Relay Name"
},
+ "description": {
+ "label": "Relay Description"
+ },
"pubkey": {
"label": "Administrator"
},
- "relay_id": {
- "label": "Relay Id"
- },
- "software": {
- "label": "Software"
+ "contact": {
+ "label": "Administrator Contact"
},
"supported_nips": {
"label": "Supported Nips"
},
- "url": {
- "label": "Relay Endpoint"
+ "software": {
+ "label": "Software"
},
"version": {
"label": "Software Version"
+ },
+ "data": {
+ "label": "Additional Information"
}
},
"schema": {
- "url.regex": "The relay relay endpoint requires a websocket protocol",
"url.required": "The relay relay endpoint is required",
- "url.url": "The relay relay endpoint is incorrectly formatted"
+ "url.url": "The relay relay endpoint is incorrectly formatted",
+ "url.regex": "The relay relay endpoint requires a websocket protocol"
}
},
"trade_product": {
"fields": {
- "category": {
- "label": "Product Category"
- },
"key": {
"label": "Product Kind"
},
- "lot": {
- "label": "Product Lot"
- },
- "notes": {
- "label": "Notes"
- },
- "price_amt": {
- "label": "Price Amount"
- },
- "price_currency": {
- "label": "Price Currency"
+ "category": {
+ "label": "Product Category"
},
- "price_qty_amt": {
- "label": "Price Quantity"
+ "title": {
+ "label": "Product Title"
},
- "price_qty_unit": {
- "label": "Price Quantity Unit"
+ "summary": {
+ "label": "Product Description"
},
"process": {
"label": "Processing Method"
},
+ "lot": {
+ "label": "Product Lot"
+ },
"profile": {
"label": "Flavor Profile"
},
+ "year": {
+ "label": "Production Year"
+ },
"qty_amt": {
"label": "Quantity Amount"
},
- "qty_avail": {
- "label": "Quantity Available"
+ "qty_unit": {
+ "label": "Quantity Unit"
},
"qty_label": {
"label": "Quantity Name"
},
- "qty_unit": {
- "label": "Quantity Unit"
+ "qty_avail": {
+ "label": "Quantity Available"
},
- "summary": {
- "label": "Product Description"
+ "price_amt": {
+ "label": "Price Amount"
},
- "title": {
- "label": "Product Title"
+ "price_currency": {
+ "label": "Price Currency"
},
- "year": {
- "label": "Production Year"
+ "price_qty_amt": {
+ "label": "Price Quantity"
+ },
+ "price_qty_unit": {
+ "label": "Price Quantity Unit"
+ },
+ "notes": {
+ "label": "Notes"
}
},
"schema": {
- "category.required": "The product category is required",
"key.required": "The product kind is required",
- "lot.max": "The product lot must be less than 120 characters",
- "lot.min": "The product lot must be more than 1 character",
- "lot.required": "The product lot is required",
- "price_amt.positive": "The product price amount must be positive",
- "price_amt.required": "The product price amount is required",
- "price_currency.length": "The product price currency must be 3 characters",
- "price_currency.required": "The product price currency is required",
- "price_qty_amt.int": "The product price quantity must be an integer",
- "price_qty_amt.positive": "The product price quantity must be positive",
- "price_qty_amt.required": "The product price quantity is required",
- "price_qty_unit.required": "The product price quantity unit is required",
+ "category.required": "The product category is required",
+ "title.required": "The product title is required",
+ "summary.required": "The product description is required",
"process.required": "The product processing method is required",
+ "lot.required": "The product lot is required",
+ "lot.min": "The product lot must be more than 1 character",
+ "lot.max": "The product lot must be less than 120 characters",
"profile.required": "The product flavor profile is required",
+ "year.required": "The product production year is required",
+ "year.int": "The product production year must be an integer",
+ "year.positive": "The product production year must be positive",
+ "qty_amt.required": "The product quantity amount is required",
"qty_amt.int": "The product quantity amount must be an integer",
"qty_amt.positive": "The product quantity amount must be positive",
- "qty_amt.required": "The product quantity amount is required",
+ "qty_unit.required": "The product quantity unit is required",
"qty_avail.int": "The product quantity available must be an integer",
"qty_avail.positive": "The product quantity available must be positive",
- "qty_unit.required": "The product quantity unit is required",
- "summary.required": "The product description is required",
- "title.required": "The product title is required",
- "year.int": "The product production year must be an integer",
- "year.positive": "The product production year must be positive",
- "year.required": "The product production year is required"
+ "price_amt.required": "The product price amount is required",
+ "price_amt.positive": "The product price amount must be positive",
+ "price_currency.required": "The product price currency is required",
+ "price_currency.length": "The product price currency must be 3 characters",
+ "price_qty_amt.required": "The product price quantity is required",
+ "price_qty_amt.int": "The product price quantity must be an integer",
+ "price_qty_amt.positive": "The product price quantity must be positive",
+ "price_qty_unit.required": "The product price quantity unit is required"
}
}
}
\ No newline at end of file