mirror of
https://github.com/greenart7c3/Amber.git
synced 2026-10-05 19:08:23 +00:00
Add support for new Nostr event kinds
Update `Permission.kt` and `strings.xml` to include human-readable labels for several new event kinds, including those related to pets, music, weather stations, geocaching, and more. New event kinds added: - 3367: Color Moment - 4223: Weather station readings - 7516: Found geocache log - 8211: Personal Letter - 11125: Blobbonaut Profile - 14919, 14920, 14921: Pet interactions, breeding, and records - 16158: Weather station metadata - 16769: Profile Tabs - 31124, 31125: Current pet state and Owner Profile - 34139: Music Playlist - 36767: Theme Definition - 36787: Music Track - 37516: Geocache Listing
This commit is contained in:
@@ -155,6 +155,8 @@ data class Permission(
|
||||
2004 -> context.getString(R.string.event_kind_2004)
|
||||
2022 -> context.getString(R.string.event_kind_2022)
|
||||
3063 -> context.getString(R.string.event_kind_3063)
|
||||
3367 -> context.getString(R.string.event_kind_3367)
|
||||
4223 -> context.getString(R.string.event_kind_4223)
|
||||
4550 -> context.getString(R.string.event_kind_4550)
|
||||
in 5000..5999 -> context.getString(R.string.event_kind_5000_5999)
|
||||
in 6000..6999 -> context.getString(R.string.event_kind_6000_6999)
|
||||
@@ -162,6 +164,8 @@ data class Permission(
|
||||
7374 -> context.getString(R.string.event_kind_7374)
|
||||
7375 -> context.getString(R.string.event_kind_7375)
|
||||
7376 -> context.getString(R.string.event_kind_7376)
|
||||
7516 -> context.getString(R.string.event_kind_7516)
|
||||
8211 -> context.getString(R.string.event_kind_8211)
|
||||
9000 -> context.getString(R.string.event_kind_9000)
|
||||
9001 -> context.getString(R.string.event_kind_9001)
|
||||
9002 -> context.getString(R.string.event_kind_9002)
|
||||
@@ -204,9 +208,15 @@ data class Permission(
|
||||
10101 -> context.getString(R.string.event_kind_10101)
|
||||
10102 -> context.getString(R.string.event_kind_10102)
|
||||
10443 -> context.getString(R.string.event_kind_10443)
|
||||
11125 -> context.getString(R.string.event_kind_11125)
|
||||
13194 -> context.getString(R.string.event_kind_13194)
|
||||
14919 -> context.getString(R.string.event_kind_14919)
|
||||
14920 -> context.getString(R.string.event_kind_14920)
|
||||
14921 -> context.getString(R.string.event_kind_14921)
|
||||
15128 -> context.getString(R.string.event_kind_15128)
|
||||
16158 -> context.getString(R.string.event_kind_16158)
|
||||
16767 -> context.getString(R.string.event_kind_16767)
|
||||
16769 -> context.getString(R.string.event_kind_16769)
|
||||
21000 -> context.getString(R.string.event_kind_21000)
|
||||
22242 -> context.getString(R.string.event_kind_22242)
|
||||
23194 -> context.getString(R.string.event_kind_23194)
|
||||
@@ -240,6 +250,8 @@ data class Permission(
|
||||
30315 -> context.getString(R.string.event_kind_30315)
|
||||
30402 -> context.getString(R.string.event_kind_30402)
|
||||
30403 -> context.getString(R.string.event_kind_30403)
|
||||
31124 -> context.getString(R.string.event_kind_31124)
|
||||
31125 -> context.getString(R.string.event_kind_31125)
|
||||
31234 -> context.getString(R.string.event_kind_31234)
|
||||
31922 -> context.getString(R.string.event_kind_31922)
|
||||
31923 -> context.getString(R.string.event_kind_31923)
|
||||
@@ -251,8 +263,12 @@ data class Permission(
|
||||
34236 -> context.getString(R.string.event_kind_34236)
|
||||
34237 -> context.getString(R.string.event_kind_34237)
|
||||
32267 -> context.getString(R.string.event_kind_32267)
|
||||
34139 -> context.getString(R.string.event_kind_34139)
|
||||
34550 -> context.getString(R.string.event_kind_34550)
|
||||
36767 -> context.getString(R.string.event_kind_36767)
|
||||
36787 -> context.getString(R.string.event_kind_36787)
|
||||
37375 -> context.getString(R.string.event_kind_37375)
|
||||
37516 -> context.getString(R.string.event_kind_37516)
|
||||
38383 -> context.getString(R.string.event_kind_38383)
|
||||
39000 -> context.getString(R.string.event_kind_39000)
|
||||
39001 -> context.getString(R.string.event_kind_39001)
|
||||
|
||||
@@ -759,4 +759,20 @@
|
||||
<string name="relay_not_in_auth_whitelist">Relay is not in the auth whitelist</string>
|
||||
<string name="keystore_error_title">Account Inaccessible</string>
|
||||
<string name="keystore_error_message">One or more accounts could not be loaded because your device\'s secure storage (KeyStore) returned an error:\n\n%1$s\n\nThis is a known firmware bug on some devices where the system cannot upgrade stored encryption keys.\n\nWhat you can do:\n• If you have your nsec (private key) backed up, log out of the affected account and log back in — this will create a new working key.\n• Check for a system firmware update from your device manufacturer, which may fix this.\n• Do not uninstall Amber; keeping the app installed preserves the possibility of recovery if a firmware update is released.</string>
|
||||
<string name="event_kind_31124">Current pet state</string>
|
||||
<string name="event_kind_31125">Owner Profile</string>
|
||||
<string name="event_kind_14921">Pet records</string>
|
||||
<string name="event_kind_14920">Pet breeding</string>
|
||||
<string name="event_kind_14919">Pet interactions</string>
|
||||
<string name="event_kind_11125">Blobbonaut Profile</string>
|
||||
<string name="event_kind_36767">Theme Definition</string>
|
||||
<string name="event_kind_16769">Profile Tabs</string>
|
||||
<string name="event_kind_3367">Color Moment</string>
|
||||
<string name="event_kind_4223">Weather station readings</string>
|
||||
<string name="event_kind_7516">Found geocache log</string>
|
||||
<string name="event_kind_8211">Personal Letter</string>
|
||||
<string name="event_kind_16158">Weather station metadata</string>
|
||||
<string name="event_kind_37516">Geocache Listing</string>
|
||||
<string name="event_kind_36787">Music Track</string>
|
||||
<string name="event_kind_34139">Music Playlist</string>
|
||||
</resources>
|
||||
|
||||
Reference in New Issue
Block a user