Skip to content

Commit

Permalink
Fix missing localization on watch app
Browse files Browse the repository at this point in the history
  • Loading branch information
GianniCarlo committed Feb 23, 2020
1 parent 55777a3 commit 9a4eb66
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Expand Up @@ -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()

Expand Down Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion BookPlayerWatch/es.lproj/Localizable.strings
Expand Up @@ -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.