Skip to content

Commit

Permalink
Merge pull request #689 from carlosDigio/feat/add-spanish-translation
Browse files Browse the repository at this point in the history
Add ES (Spanish) translation
  • Loading branch information
leits authored Feb 14, 2024
2 parents ab1ea89 + 82adb63 commit a424d47
Show file tree
Hide file tree
Showing 4 changed files with 81 additions and 69 deletions.
3 changes: 3 additions & 0 deletions MeetingBar.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@
46E4794D2802141800B48059 /* Calendar.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Calendar.swift; sourceTree = "<group>"; };
46E4794F2802155700B48059 /* Event.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Event.swift; sourceTree = "<group>"; };
46E4795128023A0C00B48059 /* HelpersTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = HelpersTests.swift; sourceTree = "<group>"; };
783C50AD2B760A3100DF0C9A /* es */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = es; path = es.lproj/Localizable.strings; sourceTree = "<group>"; };
A7B68FA225CDE9E200CA3A68 /* URL.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = URL.swift; sourceTree = "<group>"; };
D6D68C5327BCF93D009E8469 /* it */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = it; path = it.lproj/Localizable.strings; sourceTree = "<group>"; };
E23954672628BF89003ECCB3 /* BrowserConfigView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BrowserConfigView.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -416,6 +417,7 @@
he,
tr,
it,
es,
);
mainGroup = 144C01702462D0C3000C9FFC;
packageReferences = (
Expand Down Expand Up @@ -585,6 +587,7 @@
14B08ACB27498308002E3892 /* he */,
E48FB770279B3A820071CC5A /* tr */,
D6D68C5327BCF93D009E8469 /* it */,
783C50AD2B760A3100DF0C9A /* es */,
);
name = Localizable.strings;
sourceTree = "<group>";
Expand Down
1 change: 1 addition & 0 deletions MeetingBar/Constants.swift
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ enum AppLanguage: String, Codable {
case turkish = "tr"
case italian = "it"
case portuguese = "pt-BR"
case spanish = "es"
}

struct Browser: Encodable, Decodable, Hashable {
Expand Down
145 changes: 76 additions & 69 deletions MeetingBar/Resources /Localization /es.lproj/Localizable.strings
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
/*
Localizable.strings
MeetingBar

Created by Sergey Ryazanov on 19.03.2021.
Copyright © 2021 Andrii Leitsius. All rights reserved.
*/

"general_ok" = "Aceptar";
"general_cancel" = "Cancelar";
Expand All @@ -7,50 +13,26 @@
"general_delete" = "Borrar";
"general_save" = "Guardar";
"general_when_event_starts" = "cuando empiece el evento";
"general_three_minute_before" = "3 minutos antes";
"general_one_minute_before" = "1 minuto antes";
"general_three_minute_before" = "3 minutos antes";
"general_five_minute_before" = "5 minutos antes";
"create_meeting_error_title" = "No se puede crear una nueva reunión";
"general_meeting" = "Reunión";
"create_meeting_error_message" = "URL personalizada \"%@\" no disponible o inválida. ";
"create_meeting_error_title" = "No se puede crear una nueva reunión";
"next_meeting_empty_title" = "No hay más reuniones pendientes hoy";
"next_meeting_empty_message" = "Woohoo! Hora de preparar un chocolate";
"next_meeting_empty_message" = "¡Woohoo! Hora de preparar un chocolate";

// MARK: - Window titles

"window_title_preferences" = "Preferencias de MeetingBar";
"window_title_onboarding" = "Bienvenido a MeetingBar";
"preferences_services_supported_links_mailback" = "Si el servicio que utilizas no es compatible, puedes enviar un correo electrónico a los desarrolladores";
"preferences_services_create_meeting_custom_url_value" = "URL personalizada";
"preferences_services_create_meeting_custom_url_placeholder" = "Por favor, proporciona una URL válida (con http:// o https://)";
"preferences_configure_browsers_delete_alert_message" = "¿Eliminar la configuración del navegador %@?";
"preferences_configure_browsers_add_button_browser_title" = "Navegador web";
"preferences_configure_browsers_add_button_all_system_title" = "Todos los navegadores web del sistema";
"preferences_configure_browsers_modal_edit_browser_title" = "Editar navegador web";
"preferences_configure_browsers_choose_broser_panel_message" = "Seleccionar desde dónde ejecutar el navegador web.";

// MARK: - Preferences Bookmarks

"preferences_bookmarks_no_bookmarks_placeholder" = "No hay marcadores todavía";
"preferences_tab_services" = "Servicios";
"preferences_general_patron_three_months" = "3 meses - 2.99 USD";
"preferences_general_patron_description" = "Son compras únicas y no se renovarán automáticamente.";
"preferences_appearance_events_show_events_for_today_tomorrow_value" = "hoy y mañana";
"preferences_appearance_events_non_all_day_title" = "Otros eventos:";
"preferences_appearance_events_past_title" = "Eventos pasados:";
"preferences_appearance_events_value_show" = "mostrar";
"preferences_appearance_status_bar_title_title" = "Título";
"preferences_appearance_status_bar_title_event_title_value" = "título del evento";
"preferences_appearance_status_bar_title_shorten_stepper" = "acortar a %d caracteres";
"preferences_appearance_menu_shorten_event_title_stepper" = "%d caracteres";
"preferences_appearance_menu_time_format_12_hour_value" = "12-horas (AM/PM)";
"preferences_appearance_menu_show_event_title" = "Mostrar evento:";
"windows_title_changelog" = "MeetingBar - Novedades";

// MARK: - Preferences tabs

"preferences_tab_general" = "General";
"preferences_tab_appearance" = "Apariencia";
"preferences_tab_services" = "Servicios";
"preferences_tab_bookmarks" = "Marcadores";
"preferences_tab_calendars" = "Calendarios";
"preferences_tab_advanced" = "Avanzado";
Expand All @@ -71,8 +53,10 @@
"preferences_general_external_patronage" = "Patrocinio";
"preferences_general_external_contact" = "Contacto";
"preferences_general_patron_title" = "Conviértete en Patron";
"preferences_general_patron_three_months" = "3 meses - 2.99 USD";
"preferences_general_patron_six_months" = "6 meses - 5.99 USD";
"preferences_general_patron_twelve_months" = "12 meses - 11.99 USD";
"preferences_general_patron_description" = "Son compras únicas y no se renovarán automáticamente.";
"preferences_general_patron_thank_for_purchase" = "¡Gracias! Has dado soporte a MeetingBar para %d meses 🎉";
"preferences_general_patron_restore_purchases" = "Restaurar compras";
"preferences_general_feedback_title" = "Si tienes alguna pregunta o comentario,\nno dudes en ponerte en contacto:";
Expand All @@ -83,26 +67,33 @@
"preferences_appearance_events_title" = "Eventos";
"preferences_appearance_events_show_events_for_title" = "Mostrar eventos de";
"preferences_appearance_events_show_events_for_today_value" = "hoy";
"preferences_appearance_events_show_events_for_today_tomorrow_value" = "hoy y mañana";
"preferences_appearance_events_non_all_day_title" = "Otros eventos:";
"preferences_appearance_events_value_inactive_without_meeting_link" = "mostrar como inactivos si no tienen enlace de reunión";
"preferences_appearance_events_value_hide_without_meeting_link" = "ocultar todos los que no tengan enlace de reunión";
"preferences_appearance_events_all_day_title" = "Eventos de todo el día:";
"preferences_appearance_events_without_guest_title" = "Eventos sin invitados:";
"preferences_appearance_events_past_title" = "Eventos pasados:";
"preferences_appearance_events_pending_title" = "Eventos pendientes";
"preferences_appearance_events_declined_title" = "Eventos rechazados:";
"preferences_appearance_events_tentative_title" = "Eventos sin confirmar:";
"preferences_appearance_events_value_show" = "mostrar";
"preferences_appearance_events_value_hide" = "ocultar";
"preferences_appearance_events_value_as_inactive" = "mostrar como inactivo";
"preferences_appearance_events_value_as_underlined" = "mostrar como subrayado";
"preferences_appearance_events_value_with_strikethrough" = "mostrar como tachado";
"preferences_appearance_events_value_only_with_link" = "mostrar solo con enlaces de reunión";
"preferences_appearance_status_bar_title" = "Barra de estado";
"preferences_appearance_status_bar_icon_title" = "Icono";
"preferences_appearance_status_bar_icon_app_icon_value" = " MeetingBar";
"preferences_appearance_status_bar_icon_calendar_icon_value" = " Calendario";
"preferences_appearance_status_bar_icon_specific_icon_value" = " Icono específico de evento (p. ej. MS Teams)";
"preferences_appearance_status_bar_icon_no_icon_value" = " Sin icono";
"preferences_appearance_status_bar_icon_app_icon_value" = "\U00A0MeetingBar";
"preferences_appearance_status_bar_icon_calendar_icon_value" = "\U00A0Calendario";
"preferences_appearance_status_bar_icon_specific_icon_value" = "\U00A0Icono específico de evento (p. ej. MS Teams)";
"preferences_appearance_status_bar_icon_no_icon_value" = "\U00A0Sin icono";
"preferences_appearance_status_bar_title_title" = "Título";
"preferences_appearance_status_bar_title_event_title_value" = "título del evento";
"preferences_appearance_status_bar_title_dot_value" = "punto (•)";
"preferences_appearance_status_bar_title_hide_value" = "ocultar";
"preferences_appearance_status_bar_title_shorten_stepper" = "acortar a %d caracteres";
"preferences_appearance_status_bar_time_title" = "Hora";
"preferences_appearance_status_bar_time_show_value" = "mostrar";
"preferences_appearance_status_bar_time_show_under_title_value" = "mostrar bajo título";
Expand All @@ -111,9 +102,12 @@
"preferences_appearance_status_bar_next_event_stepper" = "%d minutos";
"preferences_appearance_menu_title" = "Menú";
"preferences_appearance_menu_shorten_event_title_toggle" = "Acortar título de evento a";
"preferences_appearance_menu_shorten_event_title_stepper" = "%d caracteres";
"preferences_appearance_menu_time_format_title" = "Formato de hora:";
"preferences_appearance_menu_time_format_12_hour_value" = "12-horas (AM/PM)";
"preferences_appearance_menu_time_format_24_hour_value" = "24-horas";
"preferences_appearance_menu_show_event_end_time_value" = "hora finalización";
"preferences_appearance_menu_show_event_title" = "Mostrar evento:";
"preferences_appearance_menu_show_event_end_time_value" = "hora fin";
"preferences_appearance_menu_show_event_icon_value" = "icono";
"preferences_appearance_menu_show_event_details_value" = "detalles como submenú";

Expand All @@ -123,21 +117,33 @@
"preferences_services_link_service_title" = "Abrir enlaces %@ en";
"preferences_services_link_default_browser_value" = "Navegador web por defecto";
"preferences_services_supported_links_list" = "Enlaces admitidos para servicios:\n%@";
"preferences_services_supported_links_mailback" = "Si el servicio que utilizas no es compatible, puedes enviar un correo electrónico a los desarrolladores";
"preferences_services_create_meeting_title" = "Crear reuniones vía";
"preferences_services_create_meeting_custom_url_value" = "URL personalizada";
"preferences_services_create_meeting_custom_url_placeholder" = "Por favor, proporciona una URL válida (con http:// o https://)";
"preferences_services_google_meet_tip" = "Consejo: Google Meet admite seleccionar cuenta en la URL, p. ej. https://meet.google.com/new?authuser=1";
"preferences_services_create_meeting_browser_title" = "Usar navegador web";

// MARK: - Preferences Services Browsers Configuration

"preferences_configure_browsers_button" = "Configurar navegadores web";
"preferences_configure_browsers_delete_alert_title" = "¿Eliminar la configuración del navegador web?";
"preferences_configure_browsers_delete_alert_message" = "¿Eliminar la configuración del navegador %@?";
"preferences_configure_browsers_add_button_browser_title" = "Navegador web";
"preferences_configure_browsers_add_button_all_system_title" = "Todos los navegadores web del sistema";
"preferences_configure_browsers_modal_add_browser_title" = "Añadir navegador web";
"preferences_configure_browsers_modal_edit_browser_title" = "Editar navegador web";
"preferences_configure_browsers_modal_add_browser_name" = "Nombre";
"preferences_configure_browsers_modal_add_browser_path" = "Ruta";
"preferences_configure_browsers_modal_add_browser_choose_browser_button_title" = "Seleccionar navegador web";
"preferences_configure_browsers_modal_alert_title" = "No se puede añadir la configuración del navegador";
"preferences_configure_browsers_choose_broser_panel_title" = "Seleccionar aplicación de navegador web";
"preferences_configure_browsers_choose_broser_panel_prompt" = "Seleccionar navegador web";
"preferences_configure_browsers_choose_broser_panel_message" = "Seleccionar desde dónde ejecutar el navegador web.";

// MARK: - Preferences Bookmarks

"preferences_bookmarks_no_bookmarks_placeholder" = "No hay marcadores todavía";
"preferences_bookmarks_delete_bookmark_title" = "¿Borrar marcador?";
"preferences_bookmarks_delete_bookmark_message" = "¿Borrar marcador %@?";
"preferences_bookmarks_add_bookmark_button" = "Añadir marcador";
Expand Down Expand Up @@ -169,23 +175,6 @@
"preferences_advanced_edit_script" = "Editar script";
"preferences_advanced_save_script_button" = "Guardar script";
"preferences_advanced_wrong_location_title" = "Ubicación incorrecta";

// MARK: - Notifications

"notifications_event_start_soon_body" = "El evento empieza pronto";
"notifications_event_started_body" = "El evento ha empezado";
"notifications_event_start_one_minute_body" = "El evento empieza en un minuto";
"notifications_event_start_three_minutes_body" = "El evento empieza en tres minutos";
"notifications_event_start_five_minutes_body" = "El evento empieza en cinco minutos";
"notifications_snooze_until_start" = "Posponer hasta la hora de inicio";
"notifications_snooze_for" = "Posponer por %@ min";


// MARK: - Link open

"link_url_cant_open_title" = "¡Oops! No se puede abrir el enlace en %@";
"link_url_cant_open_message" = "Asegúrate de tener %@ instalado, o abre esos enlaces en un navegador web desde preferencias en su lugar.";
"notifications_meetingbar_join_event_action" = "Unirse";
"preferences_advanced_wrong_location_message" = "Por favor, selecciona la carpeta Usuario → Library → Application Scripts → leits.MeetingBar";
"preferences_advanced_wrong_location_button" = "¡Conseguido!";
"preferences_advanced_event_regex_title" = "Expresiones regulares personalizadas para filtrar reuniones";
Expand All @@ -209,8 +198,8 @@
"status_bar_menu_remove_all_dismissals" = "Borrar todos los descartados";
"status_bar_event_dismissed_mark" = "descartado";
"notification_next_meeting_dismissed_title" = "%@ descartado";
"notification_all_dismissals_removed_title" = "Eliminar todos los descartados";
"notification_next_meeting_dismissed_message" = "Puedes borrar reuniones descartadas desde Acciones Rápidas";
"notification_all_dismissals_removed_title" = "Eliminar todos los descartados";
"notification_all_dismissals_removed_message" = "Todas las reuniones descartadas vuelven a estar activas";
"status_bar_section_join_create_meeting" = "Crear reunión";
"status_bar_section_bookmarks_title" = "Marcadores";
Expand All @@ -222,7 +211,7 @@
"status_bar_submenu_status_title" = "Estado: %@";
"status_bar_submenu_status_accepted" = " 👍 Aceptado";
"status_bar_submenu_status_declined" = " 👎 Declinado";
"status_bar_submenu_status_tentative" = " ☝️Quizás";
"status_bar_submenu_status_tentative" = " ☝️ Quizás";
"status_bar_submenu_status_pending" = " ⏳ Pendiente";
"status_bar_submenu_status_unknown" = " ❔ Desconocido";
"status_bar_submenu_status_default_extended" = " ❔ (%@)";
Expand Down Expand Up @@ -256,6 +245,7 @@
"status_bar_error_link_missed_message" = "Enlace no encontrado, o tu servicio de reuniones no está soportado todavía";
"status_bar_error_app_link_title" = "¡Ups! No se puede abrir el enlace en %@";
"status_bar_error_app_link_message" = "Asegúrate de que tengas instalado %@, o abre esos enlaces en un navegador web desde preferencias en su lugar.";

// MARK: - Welcome screen

"welcome_screen_greeting_main_title" = "¡Hola! MeetingBar es una aplicación tan sencilla que casi todo está listo.";
Expand All @@ -264,23 +254,6 @@
"welcome_screen_shortcut_next_meeting_title" = "Únete a la siguiente reunión del evento con su propio atajo:";
"welcome_screen_ad_hoc_meeting_title" = "Crea reuniones ad hoc en ";
"welcome_screen_shortcut_ad_hoc_meeting_title" = "con tu propio atajo:";
"constants_meeting_service_url" = "URL";
"constants_browser_defaultBrowser" = "Navegador web por defecto";

// MARK: - Store

"store_patronage_title" = "Patrocinio MeetingBar";
"store_patronage_restore_success_message" = "Restaurado";
"store_patronage_restore_nothing_message" = "Nada para restaurar";
"store_patronage_purchase_success_message" = "Compra realizada. ¡Gracias por tu apoyo!";
"store_patronage_purchase_unknown_message" = "Error desconocido. Por favor, contacta con soporte.";
"store_patronage_purchase_client_invalid_message" = "No está permitido hacer el pago";
"store_patronage_purchase_payment_invalid_message" = "Identificador de compra inválido";
"store_patronage_purchase_payment_not_allowed_message" = "El dispositivo no está permitido para efectuar el pago";
"store_patronage_purchase_store_product_not_available_message" = "El producto no está disponible en la tienda actual";
"store_patronage_purchase_cloud_service_permission_denied_message" = "Acceso al servicio de información en la nube no permitido";
"store_patronage_purchase_cloud_service_network_connection_failed" = "No se pudo conectar a la red";
"store_patronage_purchase_cloud_service_revoked_message" = "El usuario ha revocado el permiso para utilizar este servicio en la nube";
"welcome_screen_setup_calendar_title" = "Configura calendarios";

// MARK: - Calendars screen
Expand Down Expand Up @@ -317,7 +290,41 @@
"shared_automatic_event_join_tip" = "Este ajuste automáticamente abrirá tu próxima reunión en la aplicación o navegador configurado";

// MARK: - Constants

"constants_create_meeting_service_url" = "URL personalizada";
"constants_meeting_service_phone" = "Número de teléfono";
"constants_meeting_service_zoom_native" = "Zoom nativo";
"constants_meeting_service_other" = "Otro";
"constants_meeting_service_url" = "URL";
"constants_browser_defaultBrowser" = "Navegador web por defecto";

// MARK: - Store

"store_patronage_title" = "Patrocinio MeetingBar";
"store_patronage_restore_success_message" = "Restaurado";
"store_patronage_restore_nothing_message" = "Nada para restaurar";
"store_patronage_purchase_success_message" = "Compra realizada. ¡Gracias por tu apoyo!";
"store_patronage_purchase_unknown_message" = "Error desconocido. Por favor, contacta con soporte.";
"store_patronage_purchase_client_invalid_message" = "No está permitido hacer el pago";
"store_patronage_purchase_payment_invalid_message" = "Identificador de compra inválido";
"store_patronage_purchase_payment_not_allowed_message" = "El dispositivo no está permitido para efectuar el pago";
"store_patronage_purchase_store_product_not_available_message" = "El producto no está disponible en la tienda actual";
"store_patronage_purchase_cloud_service_permission_denied_message" = "Acceso al servicio de información en la nube no permitido";
"store_patronage_purchase_cloud_service_network_connection_failed" = "No se puede conectar a la red";
"store_patronage_purchase_cloud_service_revoked_message" = "El usuario ha revocado el permiso para utilizar este servicio en la nube";

// MARK: - Notifications

"notifications_event_start_soon_body" = "El evento empieza pronto";
"notifications_event_started_body" = "El evento ha empezado";
"notifications_event_start_one_minute_body" = "El evento empieza en un minuto";
"notifications_event_start_three_minutes_body" = "El evento empieza en tres minutos";
"notifications_event_start_five_minutes_body" = "El evento empieza en cinco minutos";
"notifications_snooze_until_start" = "Posponer hasta la hora de inicio";
"notifications_snooze_for" = "Posponer por %@ min";
"notifications_meetingbar_join_event_action" = "Unirse";

// MARK: - Link open

"link_url_cant_open_title" = "¡Ups! No se puede abrir el enlace en %@";
"link_url_cant_open_message" = "Asegúrate de tener %@ instalado o abre esos enlaces en un navegador web desde preferencias en su lugar.";
1 change: 1 addition & 0 deletions MeetingBar/Views/Shared.swift
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ struct LaunchAtLoginANDPreferredLanguagePicker: View {
Text("Türkçe").tag(AppLanguage.turkish)
Text("Italiano").tag(AppLanguage.italian)
Text("Português").tag(AppLanguage.portuguese)
Text("Español").tag(AppLanguage.spanish)
}
}
}.frame(width: 250)
Expand Down

0 comments on commit a424d47

Please sign in to comment.