Skip to content
Permalink
Browse files

Fix missing localization on watch app

  • Loading branch information
GianniCarlo committed Feb 18, 2020
1 parent 55777a3 commit 9a4eb66d2a0db16cb9470e7f489a337302c13e60
@@ -53,6 +53,7 @@ class LibraryInterfaceController: WKInterfaceController {

self.refreshButton.setTitle("watchapp_refresh_data_title".localized)
self.lastBookHeaderTitle.setText("watchapp_last_played_title".localized)
self.libraryHeaderTitle.setText("library_title".localized)

self.loadLibrary()

@@ -200,7 +201,7 @@ class LibraryInterfaceController: WKInterfaceController {
self.showPlaylist(false)
self.backImage.setHidden(true)
self.playlistItems = nil
self.libraryHeaderTitle.setText("Library")
self.libraryHeaderTitle.setText("library_title".localized)
}

func showPlaylist(_ show: Bool) {
@@ -8,7 +8,7 @@

"library_title" = "Biblioteca";
"ok_button" = "OK";
"watchapp_last_played_title" = "Última Reproducción";
"watchapp_last_played_title" = "Reciente";
"watchapp_refresh_data_title" = "Actualizar data";
"watchapp_connect_error_title" = "Error de conectividad";
"watchapp_connect_error_description" = "Hay un problema de conexión con el teléfono, por favor, inténtelo de nuevo más tarde.";

0 comments on commit 9a4eb66

Please sign in to comment.
You can’t perform that action at this time.