notedeck

One damus client to rule them all
git clone git://jb55.com/notedeck
Log | Files | Refs | README | LICENSE

commit 5b1bc442d48ca1f473cd5f33bb786cc3ca2dc92d
parent 391abe817d1ab6b73375346387cad70a9edfbf73
Author: William Casarin <jb55@jb55.com>
Date:   Sun,  3 Aug 2025 14:02:30 -0700

Pull spanish translations from terry

Terry Yiu (2):
      Import Spanish translations
      Fix localization issues and export strings for translation

Diffstat:
Massets/translations/en-US/main.ftl | 23+++++++++++++++++++----
Massets/translations/en-XA/main.ftl | 23+++++++++++++++++++----
Massets/translations/es-419/main.ftl | 40++++++++++++++++++++++++++++++++++++++++
Massets/translations/es-ES/main.ftl | 40++++++++++++++++++++++++++++++++++++++++
Massets/translations/fr/main.ftl | 2+-
Massets/translations/pt-BR/main.ftl | 2+-
Massets/translations/th/main.ftl | 2+-
Massets/translations/zh-CN/main.ftl | 2+-
Massets/translations/zh-TW/main.ftl | 2+-
Mcrates/notedeck_columns/src/ui/settings.rs | 19++++++++++---------
10 files changed, 133 insertions(+), 22 deletions(-)

diff --git a/assets/translations/en-US/main.ftl b/assets/translations/en-US/main.ftl @@ -241,6 +241,9 @@ Enter_your_public_key__npub___nostr_address__e_g___address____or_private_key__ns # Label for find user button Find_User_bd12 = Find User +# Label for font size, Appearance settings section +Font_size_dd73 = Font size: + # Title for hashtags column Hashtags_f8e0 = Hashtags @@ -352,6 +355,9 @@ Notifications_ef56 = Notifications # Relative time for very recent events (less than 3 seconds) now_2181 = now +# Setting to turn on sorting replies so that the newest are shown first +On_f412 = On + # Button label to open email client Open_Email_25e9 = Open Email @@ -430,6 +436,9 @@ Repost_this_note_8e56 = Repost this note # Label for reposted notes Reposted_61c8 = Reposted +# Label for reset note body font size, Appearance settings section +Reset_4e60 = Reset + # Label for reset zoom level, Appearance settings section Reset_62d4 = Reset @@ -469,9 +478,6 @@ Send_1ea4 = Send # Column title for app settings Settings_7a4f = Settings -# Label for Show source client, others settings section -Show_source_client_9e31 = Show source client - # Description for last note per user column Show_the_last_note_for_each_user_from_a_list_50e7 = Show the last note for each user from a list @@ -484,6 +490,12 @@ Someone_else_s_Notes_7e5f = Someone else's Notes # Title for someone else's notifications column Someone_else_s_Notifications_82e6 = Someone else's Notifications +# Label for Sort replies newest first, others settings section +Sort_replies_newest_first_b6c3 = Sort replies newest first: + +# Label for Source client, others settings section +Source_client_fb2b = Source client: + # Description for contact list column Source_the_last_note_for_each_user_in_your_contact_list_e157 = Source the last note for each user in your contact list @@ -520,6 +532,9 @@ Subscribe_to_someone_else_s_notes_d1e9 = Subscribe to someone else's notes # Column title for subscribing to individual user Subscribe_to_someone_s_notes_b3c8 = Subscribe to someone's notes +# Support email address +Support_email_44d9 = Support email: + # Hover text for dark mode toggle button Switch_to_dark_mode_4dec = Switch to dark mode @@ -560,7 +575,7 @@ username___at___domain___will_be_used_for_identification_a4fd = "{$username}" at Username_daa7 = Username # Label for view folder button, Storage settings section -View_folder_9742 = View folder: +View_folder_9742 = View folder # Column title for wallet management Wallet_5e50 = Wallet diff --git a/assets/translations/en-XA/main.ftl b/assets/translations/en-XA/main.ftl @@ -241,6 +241,9 @@ Enter_your_public_key__npub___nostr_address__e_g___address____or_private_key__ns # Label for find user button Find_User_bd12 = {"["}Fíñd Úsér{"]"} +# Label for font size, Appearance settings section +Font_size_dd73 = {"["}Fóñt sízé:{"]"} + # Title for hashtags column Hashtags_f8e0 = {"["}Hàshtàgs{"]"} @@ -352,6 +355,9 @@ Notifications_ef56 = {"["}Ñótífíçàtíóñs{"]"} # Relative time for very recent events (less than 3 seconds) now_2181 = {"["}ñów{"]"} +# Setting to turn on sorting replies so that the newest are shown first +On_f412 = {"["}Óñ{"]"} + # Button label to open email client Open_Email_25e9 = {"["}Ópéñ Émàíl{"]"} @@ -430,6 +436,9 @@ Repost_this_note_8e56 = {"["}Répóst thís ñóté{"]"} # Label for reposted notes Reposted_61c8 = {"["}Répóstéd{"]"} +# Label for reset note body font size, Appearance settings section +Reset_4e60 = {"["}Rését{"]"} + # Label for reset zoom level, Appearance settings section Reset_62d4 = {"["}Rését{"]"} @@ -469,9 +478,6 @@ Send_1ea4 = {"["}Séñd{"]"} # Column title for app settings Settings_7a4f = {"["}Séttíñgs{"]"} -# Label for Show source client, others settings section -Show_source_client_9e31 = {"["}Shów sóúrçé çlíéñt{"]"} - # Description for last note per user column Show_the_last_note_for_each_user_from_a_list_50e7 = {"["}Shów thé làst ñóté fór éàçh úsér fróm à líst{"]"} @@ -484,6 +490,12 @@ Someone_else_s_Notes_7e5f = {"["}Sóméóñé élsé's Ñótés{"]"} # Title for someone else's notifications column Someone_else_s_Notifications_82e6 = {"["}Sóméóñé élsé's Ñótífíçàtíóñs{"]"} +# Label for Sort replies newest first, others settings section +Sort_replies_newest_first_b6c3 = {"["}Sórt réplíés ñéwést fírst:{"]"} + +# Label for Source client, others settings section +Source_client_fb2b = {"["}Sóúrçé çlíéñt:{"]"} + # Description for contact list column Source_the_last_note_for_each_user_in_your_contact_list_e157 = {"["}Sóúrçé thé làst ñóté fór éàçh úsér íñ yóúr çóñtàçt líst{"]"} @@ -520,6 +532,9 @@ Subscribe_to_someone_else_s_notes_d1e9 = {"["}Súbsçríbé tó sóméóñé él # Column title for subscribing to individual user Subscribe_to_someone_s_notes_b3c8 = {"["}Súbsçríbé tó sóméóñé's ñótés{"]"} +# Support email address +Support_email_44d9 = {"["}Súppórt émàíl:{"]"} + # Hover text for dark mode toggle button Switch_to_dark_mode_4dec = {"["}Swítçh tó dàrk módé{"]"} @@ -560,7 +575,7 @@ username___at___domain___will_be_used_for_identification_a4fd = {"["}"{$username Username_daa7 = {"["}Úsérñàmé{"]"} # Label for view folder button, Storage settings section -View_folder_9742 = {"["}Víéw fóldér:{"]"} +View_folder_9742 = {"["}Víéw fóldér{"]"} # Column title for wallet management Wallet_5e50 = {"["}Wàllét{"]"} diff --git a/assets/translations/es-419/main.ftl b/assets/translations/es-419/main.ftl @@ -45,6 +45,8 @@ Algo_2452 = Algo Algorithmic_feeds_to_aid_in_note_discovery_d344 = Feeds algorítmicos para ayudar en el descubrimiento de notas # Label for zap amount input field Amount_70f0 = Cantidad +# Label for appearance settings section +Appearance_4c7f = Aspecto # Button to send message to Dave AI assistant Ask_b7f4 = Preguntar # Placeholder text for Dave AI input field @@ -53,16 +55,26 @@ Ask_dave_anything_33d1 = Pregúntale cualquier cosa a Dave... Banner_52ef = Banner # Beta version label BETA_8e5d = BETA +# Option in settings section to show the source client label at the bottom of the note +Bottom_33c8 = Parte inferior # Broadcast the note to all connected relays Broadcast_fe43 = Transmitir # Broadcast the note only to local network relays Broadcast_Local_7e50 = Transmitir localmente # Button label to cancel an action Cancel_ed3b = Cancelar +# Label for cancel clear cache, Storage settings section +Cancel_fd8b = Cancelar +# Label for clear cache button, Storage settings section +Clear_cache_dccb = Limpiar caché # Hover text for editable zap amount Click_to_edit_0414 = Haz clic para editar # Column title for note composition Compose_Note_c094 = Redactar nota +# Label for configure relays, settings section +Configure_relays_d156 = Configurar relés +# Label for confirm clear cache, Storage settings section +Confirm_9d9d = Confirmar # Button label to confirm an action Confirm_f8a6 = Confirmar # Status label for connected relay @@ -111,6 +123,8 @@ Custom_a69e = Personalizado Customize_Zap_Amount_cfc4 = Personalizar cantidad de zap # Column title for support page Damus_Support_27c0 = Ayuda de Damus +# Label for Theme Dark, Appearance settings section +Dark_85fe = Oscuro # Label for deck name input field Deck_name_cd32 = Nombre del deck # Label for decks section in side panel @@ -151,10 +165,14 @@ Enter_your_public_key__npub___nostr_address__e_g___address____or_private_key__ns Find_User_bd12 = Buscar usuario # Title for hashtags column Hashtags_f8e0 = Hashtags +# Option in settings section to hide the source client label in note display +Hide_281d = Ocultar # Title for Home column Home_8c19 = Inicio # Label for deck icon selection Icon_b0ab = Ícono +# Label for Image cache size, Storage settings section +Image_cache_size_3004 = Tamaño de caché de imágenes: # Title for individual user column Individual_b776 = Individual # Error message for invalid zap amount @@ -175,8 +193,12 @@ k_50K_c2dc = 50.000 k_5K_f7e6 = 5.000 # Description for your notes column Keep_track_of_your_notes___replies_a334 = Haz seguimiento de tus notas y respuestas +# Label for language, Appearance settings section +Language_e264 = Idioma: # Title for last note per user column Last_Note_per_User_17ad = Última nota por usuario +# Label for Theme Light, Appearance settings section +Light_7475 = Claro # Bitcoin Lightning network address field label Lightning_network_address__lud16_ea51 = Dirección de la red Lightning (lud16) # Login page title @@ -219,6 +241,8 @@ now_2181 = ahora Open_Email_25e9 = Abrir correo electrónico # Instruction to open email client Open_your_default_email_client_to_get_help_from_the_Damus_team_68dc = Abre tu cliente de correo predeterminado para recibir ayuda del equipo de Damus +# Label for others settings section +Others_7267 = Otros # Placeholder text for NWC URI input Paste_your_NWC_URI_here_b471 = Pega tu NWC URI aquí... # Error message for missing deck name @@ -265,6 +289,8 @@ replying_to_a_note_e0bc = respondiendo a una nota Repost_this_note_8e56 = Volver a publicar esta nota # Label for reposted notes Reposted_61c8 = Publicadas de nuevo +# Label for reset zoom level, Appearance settings section +Reset_62d4 = Restablecer # Heading for support section Running_into_a_bug_1796 = ¿Encontraste un error? # Label for satoshis (Bitcoin unit) for custom zap amount input field @@ -287,6 +313,10 @@ See_notes_from_your_contacts_ac16 = Ver notas de tus contactos See_the_whole_nostr_universe_7694 = Ver todo el universo de nostr # Button label to send a zap Send_1ea4 = Enviar +# Column title for app settings +Settings_7a4f = Configuración +# Label for Show source client, others settings section +Show_source_client_9e31 = Mostrar cliente de origen # Description for last note per user column Show_the_last_note_for_each_user_from_a_list_50e7 = Mostrar la última nota para cada usuario de una lista # Button label to sign out of account @@ -313,6 +343,8 @@ Stay_up_to_date_with_your_notifications_and_mentions_e73e = Mantente al día con Step_1_8656 = Paso 1 # Step 2 label in support instructions Step_2_d08d = Paso 2 +# Label for storage settings section +Storage_ed65 = Almacenamiento # Column title for subscribing to external user Subscribe_to_someone_else_s_notes_d1e9 = Suscribirse a las notas de otra persona # Column title for subscribing to individual user @@ -325,10 +357,14 @@ Switch_to_light_mode_72ce = Cambiar a modo claro Tap_to_Load_4b05 = Toca para cargar # Message shown when Dave trial period has ended The_Dave_Nostr_AI_assistant_trial_has_ended_____Thanks_for_testing__Zap-enabled_Dave_coming_soon_c6c7 = La prueba del asistente de IA Dave de Nostr finalizó :(. ¡Gracias por probarlo! ¡Dave con zaps estará disponible muy pronto! +# Label for theme, Appearance settings section +Theme_4aac = Tema: # Column title for note thread view Thread_0f20 = Conversación # Link text for thread references thread_ad1f = conversación +# Option in settings section to show the source client label at the top of the note +Top_6aeb = Parte superior # Title for universe column Universe_e01e = Universo # Column title for universe feed @@ -339,6 +375,8 @@ Use_this_wallet_for_the_current_account_only_61dc = Usar esta billetera solo par username___at___domain___will_be_used_for_identification_a4fd = Se utilizará "{ $username }" en "{ $domain }" para la identificación # Profile username field label Username_daa7 = Nombre de usuario +# Label for view folder button, Storage settings section +View_folder_9742 = Ver carpeta # Column title for wallet management Wallet_5e50 = Billetera # Hint for deck name input field @@ -357,6 +395,8 @@ Your_Notifications_080d = Tus notificaciones Zap_16b4 = Zap # Hover text for zap button Zap_this_note_42b2 = Enviar un zap a esta nota +# Label for zoom level, Appearance settings section +Zoom_Level_29a8 = Nivel de zoom: # Pluralized strings diff --git a/assets/translations/es-ES/main.ftl b/assets/translations/es-ES/main.ftl @@ -45,6 +45,8 @@ Algo_2452 = Algo Algorithmic_feeds_to_aid_in_note_discovery_d344 = Feeds algorítmicos para ayudar en el descubrimiento de notas # Label for zap amount input field Amount_70f0 = Cantidad +# Label for appearance settings section +Appearance_4c7f = Aspecto # Button to send message to Dave AI assistant Ask_b7f4 = Preguntar # Placeholder text for Dave AI input field @@ -53,16 +55,26 @@ Ask_dave_anything_33d1 = Pregúntale cualquier cosa a Dave... Banner_52ef = Banner # Beta version label BETA_8e5d = BETA +# Option in settings section to show the source client label at the bottom of the note +Bottom_33c8 = Parte inferior # Broadcast the note to all connected relays Broadcast_fe43 = Transmitir # Broadcast the note only to local network relays Broadcast_Local_7e50 = Transmitir localmente # Button label to cancel an action Cancel_ed3b = Cancelar +# Label for cancel clear cache, Storage settings section +Cancel_fd8b = Cancelar +# Label for clear cache button, Storage settings section +Clear_cache_dccb = Limpiar caché # Hover text for editable zap amount Click_to_edit_0414 = Haz clic para editar # Column title for note composition Compose_Note_c094 = Redactar nota +# Label for configure relays, settings section +Configure_relays_d156 = Configurar relés +# Label for confirm clear cache, Storage settings section +Confirm_9d9d = Confirmar # Button label to confirm an action Confirm_f8a6 = Confirmar # Status label for connected relay @@ -111,6 +123,8 @@ Custom_a69e = Personalizado Customize_Zap_Amount_cfc4 = Personalizar cantidad de zap # Column title for support page Damus_Support_27c0 = Ayuda de Damus +# Label for Theme Dark, Appearance settings section +Dark_85fe = Oscuro # Label for deck name input field Deck_name_cd32 = Nombre del deck # Label for decks section in side panel @@ -151,10 +165,14 @@ Enter_your_public_key__npub___nostr_address__e_g___address____or_private_key__ns Find_User_bd12 = Buscar usuario # Title for hashtags column Hashtags_f8e0 = Hashtags +# Option in settings section to hide the source client label in note display +Hide_281d = Ocultar # Title for Home column Home_8c19 = Inicio # Label for deck icon selection Icon_b0ab = Icono +# Label for Image cache size, Storage settings section +Image_cache_size_3004 = Tamaño de caché de imágenes: # Title for individual user column Individual_b776 = Individual # Error message for invalid zap amount @@ -175,8 +193,12 @@ k_50K_c2dc = 50.000 k_5K_f7e6 = 5.000 # Description for your notes column Keep_track_of_your_notes___replies_a334 = Haz seguimiento de tus notas y respuestas +# Label for language, Appearance settings section +Language_e264 = Idioma: # Title for last note per user column Last_Note_per_User_17ad = Última nota por usuario +# Label for Theme Light, Appearance settings section +Light_7475 = Claro # Bitcoin Lightning network address field label Lightning_network_address__lud16_ea51 = Dirección de la red Lightning (lud16) # Login page title @@ -219,6 +241,8 @@ now_2181 = ahora Open_Email_25e9 = Abrir correo electrónico # Instruction to open email client Open_your_default_email_client_to_get_help_from_the_Damus_team_68dc = Abre tu cliente de correo predeterminado para recibir ayuda del equipo de Damus +# Label for others settings section +Others_7267 = Otros # Placeholder text for NWC URI input Paste_your_NWC_URI_here_b471 = Pega tu NWC URI aquí... # Error message for missing deck name @@ -265,6 +289,8 @@ replying_to_a_note_e0bc = respondiendo a una nota Repost_this_note_8e56 = Volver a publicar esta nota # Label for reposted notes Reposted_61c8 = Publicadas de nuevo +# Label for reset zoom level, Appearance settings section +Reset_62d4 = Restablecer # Heading for support section Running_into_a_bug_1796 = ¿Has encontrado un error? # Label for satoshis (Bitcoin unit) for custom zap amount input field @@ -287,6 +313,10 @@ See_notes_from_your_contacts_ac16 = Ver notas de tus contactos See_the_whole_nostr_universe_7694 = Ver todo el universo de nostr # Button label to send a zap Send_1ea4 = Enviar +# Column title for app settings +Settings_7a4f = Configuración +# Label for Show source client, others settings section +Show_source_client_9e31 = Mostrar cliente de origen # Description for last note per user column Show_the_last_note_for_each_user_from_a_list_50e7 = Mostrar la última nota para cada usuario de una lista # Button label to sign out of account @@ -313,6 +343,8 @@ Stay_up_to_date_with_your_notifications_and_mentions_e73e = Mantente al día con Step_1_8656 = Paso 1 # Step 2 label in support instructions Step_2_d08d = Paso 2 +# Label for storage settings section +Storage_ed65 = Almacenamiento # Column title for subscribing to external user Subscribe_to_someone_else_s_notes_d1e9 = Suscribirse a las notas de otra persona # Column title for subscribing to individual user @@ -325,10 +357,14 @@ Switch_to_light_mode_72ce = Cambiar a modo claro Tap_to_Load_4b05 = Toca para cargar # Message shown when Dave trial period has ended The_Dave_Nostr_AI_assistant_trial_has_ended_____Thanks_for_testing__Zap-enabled_Dave_coming_soon_c6c7 = La prueba del asistente de IA Dave de Nostr ha finalizado :(. ¡Gracias por probarlo! ¡Dave con zaps estará disponible muy pronto! +# Label for theme, Appearance settings section +Theme_4aac = Tema: # Column title for note thread view Thread_0f20 = Conversación # Link text for thread references thread_ad1f = conversación +# Option in settings section to show the source client label at the top of the note +Top_6aeb = Parte superior # Title for universe column Universe_e01e = Universo # Column title for universe feed @@ -339,6 +375,8 @@ Use_this_wallet_for_the_current_account_only_61dc = Usar este monedero solo para username___at___domain___will_be_used_for_identification_a4fd = Se utilizará "{ $username }" en "{ $domain }" para la identificación # Profile username field label Username_daa7 = Nombre de usuario +# Label for view folder button, Storage settings section +View_folder_9742 = Ver carpeta # Column title for wallet management Wallet_5e50 = Monedero # Hint for deck name input field @@ -357,6 +395,8 @@ Your_Notifications_080d = Tus notificaciones Zap_16b4 = Zap # Hover text for zap button Zap_this_note_42b2 = Enviar un zap a esta nota +# Label for zoom level, Appearance settings section +Zoom_Level_29a8 = Nivel de zoom: # Pluralized strings diff --git a/assets/translations/fr/main.ftl b/assets/translations/fr/main.ftl @@ -376,7 +376,7 @@ username___at___domain___will_be_used_for_identification_a4fd = "{ $username }" # Profile username field label Username_daa7 = Nom d'utilisateur # Label for view folder button, Storage settings section -View_folder_9742 = Voir le dossier : +View_folder_9742 = Voir le dossier # Column title for wallet management Wallet_5e50 = Portefeuille # Hint for deck name input field diff --git a/assets/translations/pt-BR/main.ftl b/assets/translations/pt-BR/main.ftl @@ -376,7 +376,7 @@ username___at___domain___will_be_used_for_identification_a4fd = d = "{ $username # Profile username field label Username_daa7 = Usuário # Label for view folder button, Storage settings section -View_folder_9742 = Visualizar pasta: +View_folder_9742 = Visualizar pasta # Column title for wallet management Wallet_5e50 = Carteira # Hint for deck name input field diff --git a/assets/translations/th/main.ftl b/assets/translations/th/main.ftl @@ -378,7 +378,7 @@ username___at___domain___will_be_used_for_identification_a4fd = "{ $username }" # Profile username field label Username_daa7 = ชื่อผู้ใช้ # Label for view folder button, Storage settings section -View_folder_9742 = ดูโฟลเดอร์: +View_folder_9742 = ดูโฟลเดอร์ # Column title for wallet management Wallet_5e50 = วอลเล็ต # Hint for deck name input field diff --git a/assets/translations/zh-CN/main.ftl b/assets/translations/zh-CN/main.ftl @@ -376,7 +376,7 @@ username___at___domain___will_be_used_for_identification_a4fd = "{ $username }" # Profile username field label Username_daa7 = 用户名 # Label for view folder button, Storage settings section -View_folder_9742 = 查看文件夹: +View_folder_9742 = 查看文件夹 # Column title for wallet management Wallet_5e50 = 钱包 # Hint for deck name input field diff --git a/assets/translations/zh-TW/main.ftl b/assets/translations/zh-TW/main.ftl @@ -376,7 +376,7 @@ username___at___domain___will_be_used_for_identification_a4fd = "{ $username }" # Profile username field label Username_daa7 = 用戶名 # Label for view folder button, Storage settings section -View_folder_9742 = 查看文件夾: +View_folder_9742 = 查看文件夾 # Column title for wallet management Wallet_5e50 = 錢包 # Hint for deck name input field diff --git a/crates/notedeck_columns/src/ui/settings.rs b/crates/notedeck_columns/src/ui/settings.rs @@ -16,9 +16,6 @@ use crate::{nav::RouterAction, Damus, Route}; const PREVIEW_NOTE_ID: &str = "note1edjc8ggj07hwv77g2405uh6j2jkk5aud22gktxrvc2wnre4vdwgqzlv2gw"; -const THEME_LIGHT: &str = "Light"; -const THEME_DARK: &str = "Dark"; - const MIN_ZOOM: f32 = 0.5; const MAX_ZOOM: f32 = 3.0; const ZOOM_STEP: f32 = 0.1; @@ -390,7 +387,7 @@ impl<'a> SettingsView<'a> { ThemePreference::Light, richtext_small(tr!( self.note_context.i18n, - THEME_LIGHT, + "Light", "Label for Theme Light, Appearance settings section", )), ) @@ -405,7 +402,7 @@ impl<'a> SettingsView<'a> { ThemePreference::Dark, richtext_small(tr!( self.note_context.i18n, - THEME_DARK, + "Dark", "Label for Theme Dark, Appearance settings section", )), ) @@ -533,15 +530,19 @@ impl<'a> SettingsView<'a> { ui.horizontal(|ui| { ui.label(richtext_small(tr!( self.note_context.i18n, - "Sort replies newest first", + "Sort replies newest first:", "Label for Sort replies newest first, others settings section", ))); if ui .toggle_value( &mut self.settings.show_replies_newest_first, - RichText::new(tr!(self.note_context.i18n, "ON", "ON")) - .text_style(NotedeckTextStyle::Small.text_style()), + RichText::new(tr!( + self.note_context.i18n, + "On", + "Setting to turn on sorting replies so that the newest are shown first" + )) + .text_style(NotedeckTextStyle::Small.text_style()), ) .changed() { @@ -554,7 +555,7 @@ impl<'a> SettingsView<'a> { ui.horizontal_wrapped(|ui| { ui.label(richtext_small(tr!( self.note_context.i18n, - "Source client", + "Source client:", "Label for Source client, others settings section", )));