From 6fc31a5f66b1ca665cf50ea4137e7a70a946f634 Mon Sep 17 00:00:00 2001 From: mac12m99 Date: Sun, 7 Apr 2019 11:42:55 +0200 Subject: [PATCH] some fixes about translations --- plugin.video.alfa/channels/side_menu.py | 30 +++++++++++++------ .../resources/language/English/strings.po | 12 ++++---- .../resources/language/Italian/strings.po | 25 ++++++++-------- .../language/Spanish (Argentina)/strings.po | 24 +++++++-------- .../language/Spanish (Mexico)/strings.po | 24 +++++++-------- .../resources/language/Spanish/strings.po | 24 +++++++-------- 6 files changed, 75 insertions(+), 64 deletions(-) diff --git a/plugin.video.alfa/channels/side_menu.py b/plugin.video.alfa/channels/side_menu.py index 29978868..cada4c2b 100644 --- a/plugin.video.alfa/channels/side_menu.py +++ b/plugin.video.alfa/channels/side_menu.py @@ -67,7 +67,19 @@ def set_custom_start(item): def get_start_page(): logger.info() - category = config.get_setting('category').lower() + dictCategory = { + config.get_localized_string(70137): 'peliculas', + config.get_localized_string(30123): 'series', + config.get_localized_string(30124): 'anime', + config.get_localized_string(70018): 'infantiles', + config.get_localized_string(60513): 'documentales', + config.get_localized_string(70013): 'terror', + config.get_localized_string(30124): 'castellano', + config.get_localized_string(59976): 'latino', + config.get_localized_string(70171): 'torrent', + } + category = dictCategory[config.get_setting("category")] + custom_start= config.get_setting("custom_start") #if category != 'definido': if custom_start == False: @@ -139,7 +151,7 @@ class Main(xbmcgui.WindowXMLDialog): self.addControl(self.button_config) self.buttons.append(self.button_config) posy += space*2 - label = config.get_localized_string(60681) + label = config.get_localized_string(30122) self.button_peliculas = xbmcgui.ControlButton(posx, posy, width, height, label, font=font, alignment=0x00000000, noFocusTexture='', focusTexture=media_path+selected, textColor=textcolor, @@ -147,7 +159,7 @@ class Main(xbmcgui.WindowXMLDialog): self.addControl(self.button_peliculas) self.buttons.append(self.button_peliculas) posy += space - label = config.get_localized_string(60682) + label = config.get_localized_string(70017) self.button_series = xbmcgui.ControlButton(posx, posy, width, height, label, font=font, alignment=0x00000000, noFocusTexture='', focusTexture=media_path+selected, textColor=textcolor, @@ -155,7 +167,7 @@ class Main(xbmcgui.WindowXMLDialog): self.addControl(self.button_series) self.buttons.append(self.button_series) posy += space - label = config.get_localized_string(60683) + label = config.get_localized_string(30124) self.button_anime = xbmcgui.ControlButton(posx, posy, width, height, label, font=font, alignment=0x00000000, noFocusTexture='', focusTexture=media_path+selected, textColor=textcolor, shadowColor=shadow, textOffsetX=offsetx, @@ -180,7 +192,7 @@ class Main(xbmcgui.WindowXMLDialog): self.buttons.append(self.button_docu) posy += space - label = config.get_localized_string(59978) + label = config.get_localized_string(70013) self.button_terror = xbmcgui.ControlButton(posx, posy, width, height, label, font=font, alignment=0x00000000, noFocusTexture='', focusTexture=media_path+selected, textColor=textcolor, @@ -270,17 +282,17 @@ class Main(xbmcgui.WindowXMLDialog): new_item = Item(channel='', action='getmainlist', title='Menú Alfa') elif control == config.get_localized_string(30100): new_item = Item(channel='setting', action="settings") - elif control == config.get_localized_string(60681): + elif control == config.get_localized_string(30122): new_item = Item(channel='news', action="novedades", extra="peliculas", mode='silent') - elif control == config.get_localized_string(60682): + elif control == config.get_localized_string(70017): new_item = Item(channel='news', action="novedades", extra="series", mode='silent') - elif control == config.get_localized_string(60683): + elif control == config.get_localized_string(30124): new_item = Item(channel='news', action="novedades", extra="anime", mode='silent') elif control == config.get_localized_string(70018): new_item = Item(channel='news', action="novedades", extra="infantiles", mode='silent') elif control == config.get_localized_string(70019): new_item = Item(channel='news', action="novedades", extra="documentales", mode='silent') - elif control == config.get_localized_string(59978): + elif control == config.get_localized_string(70013): new_item = Item(channel='news', action="novedades", extra="terror", mode='silent') elif control == config.get_localized_string(59981): new_item = Item(channel='news', action="novedades", extra="castellano", mode='silent') diff --git a/plugin.video.alfa/resources/language/English/strings.po b/plugin.video.alfa/resources/language/English/strings.po index 082795ec..481771af 100644 --- a/plugin.video.alfa/resources/language/English/strings.po +++ b/plugin.video.alfa/resources/language/English/strings.po @@ -10122,12 +10122,12 @@ msgstr "" msgctxt "#70611" msgid "" -"- You can have different lists, but only one of them is active, the active list is the one shown in "My links" and where the links that are being added are stored.\n" -"[CR] - You can change the active list and toggle between the ones you have.\n" -"[CR] - You can share a list through tinyupload and then pass the resulting code to your friends so they can download it.\n" -"[CR] - You can download a list if you pass a tinyupload code or a URL where it is hosted.\n" -"[CR] - If you want to do it manually, you can copy a list alfavorites - *. Json that have been passed to the userdata folder of the addon, and you can upload these json to some server and pass your urls to your friends to share them.\n" -"[CR] - To share lists from the addon, the service of tinyupload.com is used because it is free, private and relatively fast.The files are saved until 100 days pass without anyone downloading them, they are private because they require a code to access them, and the 50MB limitation is enough for the lists.\n" +"-You can have different lists but just one of them is active. The active list is the same shown on “my links” and the same where the added links are stored." +"[CR]- You can change an active list and moving from a list to another." +"[CR]- It’s possible to share a list through tinyupload and send his code to your friends for downloading it ." +"[CR]- You can download a list if you have a tinyupload code or an url with the code." +"[CR]- If you want doing it manually, you can copy a list alfavorites-*.json that you added on the addon’s userdata folder; and you can upload these json on some server and send their url to your friends for sharing." +"[CR]- The tinyupload.com service is used for sharing addon lists because it is free, private and quite fast. The files stay saved for 100 days they are not downloaded. They are private so you need a code for the access. The service has a limitation of 50MB but this is enough for the lists." msgstr "" msgctxt "#70612" diff --git a/plugin.video.alfa/resources/language/Italian/strings.po b/plugin.video.alfa/resources/language/Italian/strings.po index dead4286..c44d3257 100644 --- a/plugin.video.alfa/resources/language/Italian/strings.po +++ b/plugin.video.alfa/resources/language/Italian/strings.po @@ -5105,20 +5105,19 @@ msgstr "URL da dove scaricare la lista" msgctxt "#70611" msgid "" -"- You can have different lists, but only one of them is active, the active list is the one shown in "My links" and where the links that are being added are stored.\n" -"[CR] - You can change the active list and toggle between the ones you have.\n" -"[CR] - You can share a list through tinyupload and then pass the resulting code to your friends so they can download it.\n" -"[CR] - You can download a list if you pass a tinyupload code or a URL where it is hosted.\n" -"[CR] - If you want to do it manually, you can copy a list alfavorites - *. Json that have been passed to the userdata folder of the addon, and you can upload these json to some server and pass your urls to your friends to share them.\n" -"[CR] - To share lists from the addon, the service of tinyupload.com is used because it is free, private and relatively fast.The files are saved until 100 days pass without anyone downloading them, they are private because they require a code to access them, and the 50MB limitation is enough for the lists.\n" +"-You can have different lists but just one of them is active. The active list is the same shown on “my links” and the same where the added links are stored." +"[CR]- You can change an active list and moving from a list to another." +"[CR]- It’s possible to share a list through tinyupload and send his code to your friends for downloading it ." +"[CR]- You can download a list if you have a tinyupload code or an url with the code." +"[CR]- If you want doing it manually, you can copy a list alfavorites-*.json that you added on the addon’s userdata folder; and you can upload these json on some server and send their url to your friends for sharing." +"[CR]- The tinyupload.com service is used for sharing addon lists because it is free, private and quite fast. The files stay saved for 100 days they are not downloaded. They are private so you need a code for the access. The service has a limitation of 50MB but this is enough for the lists." msgstr "" -"- Puoi avere più liste, ma solo una di essere è attiva ed è quella che si trova nei 'Miei link' ed è dove i link vengono aggiunti e conservati.\n" -"[CR] - Puoi cambiare la lista attiva e passare tra quelle che possiedi.\n" -"[CR] - Puoi condividere una lista su tinyupload e poi passare il codice risultante ai tuoi amici così potranno scaricarla.\n" -"[CR] - Puoi scaricare una lista se passi un codice tinyupload o un URL dove è hostata.\n" -"[CR] - Se vuoi farlo manualmente, puoi copiare il json alfavourites - *. nella cartella userdata dell'addon, caricarlo su un server a tuo piacimento e condividere il link ai tuoi amici.\n" -"[CR] - Per condividere liste dall'addon, viene usato il servizio tinyupload.com in quanto è gratis, privato, sicuro e abbastanza veloce. I file sono salvati per 100 giorni dall'ultimo download e sono privati perchè devi avere il codice per accedervi, inoltre il limite di 50MB è più che sufficiente.\n" - +"-Puoi avere liste diverse, ma solo una di esse è attiva. La lista attiva è quella mostrata sotto “I miei link” ed è quella dove sono memorizzati i link aggiunti." +"[CR]- Puoi cambiare una lista attiva e passare da una lista all’altra." +"[CR]- È possibile condividere una lista attraverso tinyupload e poi inviare il codice risultante ai tuoi amici in modo che possano scaricarlo." +"[CR]- Puoi scaricare una lista se ti inviano un codice di tinyupload o un url dove esso è ospitato." +"[CR]- Se vuoi farlo manualmente, puoi copiare una lista alfavorites-*.json che hai inserito nella cartella userdata dell’addon. E puoi caricare questi json su qualche server e inviare i loro url ai tuoi amici per condividerli." +"[CR]- Il servizio tinyupload.com è utilizzato per condividere le liste degli addon perché è gratuito, privato e relativamente veloce. I file rimangono salvati per 100 giorni se nessuno li scarica, sono privati perché richiedono un codice per accedervi e il limite di 50MB è sufficiente per le liste." msgctxt "#70612" msgid "Name of the list" msgstr "Nome della lista" diff --git a/plugin.video.alfa/resources/language/Spanish (Argentina)/strings.po b/plugin.video.alfa/resources/language/Spanish (Argentina)/strings.po index a1a7a432..c82d7b0c 100644 --- a/plugin.video.alfa/resources/language/Spanish (Argentina)/strings.po +++ b/plugin.video.alfa/resources/language/Spanish (Argentina)/strings.po @@ -5125,19 +5125,19 @@ msgstr "URL de dónde descargar la lista" msgctxt "#70611" msgid "" -"- You can have different lists, but only one of them is active, the active list is the one shown in "My links" and where the links that are being added are stored.\n" -"[CR] - You can change the active list and toggle between the ones you have.\n" -"[CR] - You can share a list through tinyupload and then pass the resulting code to your friends so they can download it.\n" -"[CR] - You can download a list if you pass a tinyupload code or a URL where it is hosted.\n" -"[CR] - If you want to do it manually, you can copy a list alfavorites - *. Json that have been passed to the userdata folder of the addon, and you can upload these json to some server and pass your urls to your friends to share them.\n" -"[CR] - To share lists from the addon, the service of tinyupload.com is used because it is free, private and relatively fast.The files are saved until 100 days pass without anyone downloading them, they are private because they require a code to access them, and the 50MB limitation is enough for the lists.\n" +"-You can have different lists but just one of them is active. The active list is the same shown on “my links” and the same where the added links are stored." +"[CR]- You can change an active list and moving from a list to another." +"[CR]- It’s possible to share a list through tinyupload and send his code to your friends for downloading it ." +"[CR]- You can download a list if you have a tinyupload code or an url with the code." +"[CR]- If you want doing it manually, you can copy a list alfavorites-*.json that you added on the addon’s userdata folder; and you can upload these json on some server and send their url to your friends for sharing." +"[CR]- The tinyupload.com service is used for sharing addon lists because it is free, private and quite fast. The files stay saved for 100 days they are not downloaded. They are private so you need a code for the access. The service has a limitation of 50MB but this is enough for the lists." msgstr "" -"- Puedes tener diferentes listas, pero solamente una de ellas está activa. La lista activa es la que se muestra en "Mis enlaces" y dónde se guardan los enlaces que se vayan añadiendo.\n" -"[CR]- Puedes ir cambiando la lista activa y alternar entre las que tengas.\n" -"[CR]- Puedes compartir una lista a través de tinyupload y luego pasarle el código resultante a tus amistades para que se la puedan bajar.\n" -"[CR]- Puedes descargar una lista si te pasan un código de tinyupload o una url dónde esté alojada.\n" -"[CR]- Si lo quieres hacer manualmente, puedes copiar una lista alfavorites-*.json que te hayan pasado a la carpeta userdata del addon. Y puedes subir estos json a algún servidor y pasar sus urls a tus amigos para compartirlas.\n" -"[CR]- Para compartir listas desde el addon se utiliza el servicio de tinyupload.com por ser gratuíto, privado y relativamente rápido. Los ficheros se guardan mientras no pasen 100 días sin que nadie lo descargue, son privados porque requieren un código para acceder a ellos, y la limitación de 50MB es suficiente para las listas.\n" +"- Puedes tener diferentes listas, pero solamente una de ellas está activa. La lista activa es la que se muestra en "Mis enlaces" y dónde se guardan los enlaces que se vayan añadiendo." +"[CR]- Puedes ir cambiando la lista activa y alternar entre las que tengas." +"[CR]- Puedes compartir una lista a través de tinyupload y luego pasarle el código resultante a tus amistades para que se la puedan bajar." +"[CR]- Puedes descargar una lista si te pasan un código de tinyupload o una url dónde esté alojada." +"[CR]- Si lo quieres hacer manualmente, puedes copiar una lista alfavorites-*.json que te hayan pasado a la carpeta userdata del addon. Y puedes subir estos json a algún servidor y pasar sus urls a tus amigos para compartirlas." +"[CR]- Para compartir listas desde el addon se utiliza el servicio de tinyupload.com por ser gratuíto, privado y relativamente rápido. Los ficheros se guardan mientras no pasen 100 días sin que nadie lo descargue, son privados porque requieren un código para acceder a ellos, y la limitación de 50MB es suficiente para las listas." msgctxt "#70612" msgid "Name of the list" diff --git a/plugin.video.alfa/resources/language/Spanish (Mexico)/strings.po b/plugin.video.alfa/resources/language/Spanish (Mexico)/strings.po index 1ff8d972..8d6e551f 100644 --- a/plugin.video.alfa/resources/language/Spanish (Mexico)/strings.po +++ b/plugin.video.alfa/resources/language/Spanish (Mexico)/strings.po @@ -5125,19 +5125,19 @@ msgstr "URL de dónde descargar la lista" msgctxt "#70611" msgid "" -"- You can have different lists, but only one of them is active, the active list is the one shown in "My links" and where the links that are being added are stored.\n" -"[CR] - You can change the active list and toggle between the ones you have.\n" -"[CR] - You can share a list through tinyupload and then pass the resulting code to your friends so they can download it.\n" -"[CR] - You can download a list if you pass a tinyupload code or a URL where it is hosted.\n" -"[CR] - If you want to do it manually, you can copy a list alfavorites - *. Json that have been passed to the userdata folder of the addon, and you can upload these json to some server and pass your urls to your friends to share them.\n" -"[CR] - To share lists from the addon, the service of tinyupload.com is used because it is free, private and relatively fast.The files are saved until 100 days pass without anyone downloading them, they are private because they require a code to access them, and the 50MB limitation is enough for the lists.\n" +"-You can have different lists but just one of them is active. The active list is the same shown on “my links” and the same where the added links are stored." +"[CR]- You can change an active list and moving from a list to another." +"[CR]- It’s possible to share a list through tinyupload and send his code to your friends for downloading it ." +"[CR]- You can download a list if you have a tinyupload code or an url with the code." +"[CR]- If you want doing it manually, you can copy a list alfavorites-*.json that you added on the addon’s userdata folder; and you can upload these json on some server and send their url to your friends for sharing." +"[CR]- The tinyupload.com service is used for sharing addon lists because it is free, private and quite fast. The files stay saved for 100 days they are not downloaded. They are private so you need a code for the access. The service has a limitation of 50MB but this is enough for the lists." msgstr "" -"- Puedes tener diferentes listas, pero solamente una de ellas está activa. La lista activa es la que se muestra en "Mis enlaces" y dónde se guardan los enlaces que se vayan añadiendo.\n" -"[CR]- Puedes ir cambiando la lista activa y alternar entre las que tengas.\n" -"[CR]- Puedes compartir una lista a través de tinyupload y luego pasarle el código resultante a tus amistades para que se la puedan bajar.\n" -"[CR]- Puedes descargar una lista si te pasan un código de tinyupload o una url dónde esté alojada.\n" -"[CR]- Si lo quieres hacer manualmente, puedes copiar una lista alfavorites-*.json que te hayan pasado a la carpeta userdata del addon. Y puedes subir estos json a algún servidor y pasar sus urls a tus amigos para compartirlas.\n" -"[CR]- Para compartir listas desde el addon se utiliza el servicio de tinyupload.com por ser gratuíto, privado y relativamente rápido. Los ficheros se guardan mientras no pasen 100 días sin que nadie lo descargue, son privados porque requieren un código para acceder a ellos, y la limitación de 50MB es suficiente para las listas.\n" +"- Puedes tener diferentes listas, pero solamente una de ellas está activa. La lista activa es la que se muestra en "Mis enlaces" y dónde se guardan los enlaces que se vayan añadiendo." +"[CR]- Puedes ir cambiando la lista activa y alternar entre las que tengas." +"[CR]- Puedes compartir una lista a través de tinyupload y luego pasarle el código resultante a tus amistades para que se la puedan bajar." +"[CR]- Puedes descargar una lista si te pasan un código de tinyupload o una url dónde esté alojada." +"[CR]- Si lo quieres hacer manualmente, puedes copiar una lista alfavorites-*.json que te hayan pasado a la carpeta userdata del addon. Y puedes subir estos json a algún servidor y pasar sus urls a tus amigos para compartirlas." +"[CR]- Para compartir listas desde el addon se utiliza el servicio de tinyupload.com por ser gratuíto, privado y relativamente rápido. Los ficheros se guardan mientras no pasen 100 días sin que nadie lo descargue, son privados porque requieren un código para acceder a ellos, y la limitación de 50MB es suficiente para las listas." msgctxt "#70612" msgid "Name of the list" diff --git a/plugin.video.alfa/resources/language/Spanish/strings.po b/plugin.video.alfa/resources/language/Spanish/strings.po index 8bc77273..a65483a2 100644 --- a/plugin.video.alfa/resources/language/Spanish/strings.po +++ b/plugin.video.alfa/resources/language/Spanish/strings.po @@ -5125,19 +5125,19 @@ msgstr "URL de dónde descargar la lista" msgctxt "#70611" msgid "" -"- You can have different lists, but only one of them is active, the active list is the one shown in "My links" and where the links that are being added are stored.\n" -"[CR] - You can change the active list and toggle between the ones you have.\n" -"[CR] - You can share a list through tinyupload and then pass the resulting code to your friends so they can download it.\n" -"[CR] - You can download a list if you pass a tinyupload code or a URL where it is hosted.\n" -"[CR] - If you want to do it manually, you can copy a list alfavorites - *. Json that have been passed to the userdata folder of the addon, and you can upload these json to some server and pass your urls to your friends to share them.\n" -"[CR] - To share lists from the addon, the service of tinyupload.com is used because it is free, private and relatively fast.The files are saved until 100 days pass without anyone downloading them, they are private because they require a code to access them, and the 50MB limitation is enough for the lists.\n" +"-You can have different lists but just one of them is active. The active list is the same shown on “my links” and the same where the added links are stored." +"[CR]- You can change an active list and moving from a list to another." +"[CR]- It’s possible to share a list through tinyupload and send his code to your friends for downloading it ." +"[CR]- You can download a list if you have a tinyupload code or an url with the code." +"[CR]- If you want doing it manually, you can copy a list alfavorites-*.json that you added on the addon’s userdata folder; and you can upload these json on some server and send their url to your friends for sharing." +"[CR]- The tinyupload.com service is used for sharing addon lists because it is free, private and quite fast. The files stay saved for 100 days they are not downloaded. They are private so you need a code for the access. The service has a limitation of 50MB but this is enough for the lists." msgstr "" -"- Puedes tener diferentes listas, pero solamente una de ellas está activa. La lista activa es la que se muestra en "Mis enlaces" y dónde se guardan los enlaces que se vayan añadiendo.\n" -"[CR]- Puedes ir cambiando la lista activa y alternar entre las que tengas.\n" -"[CR]- Puedes compartir una lista a través de tinyupload y luego pasarle el código resultante a tus amistades para que se la puedan bajar.\n" -"[CR]- Puedes descargar una lista si te pasan un código de tinyupload o una url dónde esté alojada.\n" -"[CR]- Si lo quieres hacer manualmente, puedes copiar una lista alfavorites-*.json que te hayan pasado a la carpeta userdata del addon. Y puedes subir estos json a algún servidor y pasar sus urls a tus amigos para compartirlas.\n" -"[CR]- Para compartir listas desde el addon se utiliza el servicio de tinyupload.com por ser gratuíto, privado y relativamente rápido. Los ficheros se guardan mientras no pasen 100 días sin que nadie lo descargue, son privados porque requieren un código para acceder a ellos, y la limitación de 50MB es suficiente para las listas.\n" +"- Puedes tener diferentes listas, pero solamente una de ellas está activa. La lista activa es la que se muestra en "Mis enlaces" y dónde se guardan los enlaces que se vayan añadiendo." +"[CR]- Puedes ir cambiando la lista activa y alternar entre las que tengas." +"[CR]- Puedes compartir una lista a través de tinyupload y luego pasarle el código resultante a tus amistades para que se la puedan bajar." +"[CR]- Puedes descargar una lista si te pasan un código de tinyupload o una url dónde esté alojada." +"[CR]- Si lo quieres hacer manualmente, puedes copiar una lista alfavorites-*.json que te hayan pasado a la carpeta userdata del addon. Y puedes subir estos json a algún servidor y pasar sus urls a tus amigos para compartirlas." +"[CR]- Para compartir listas desde el addon se utiliza el servicio de tinyupload.com por ser gratuíto, privado y relativamente rápido. Los ficheros se guardan mientras no pasen 100 días sin que nadie lo descargue, son privados porque requieren un código para acceder a ellos, y la limitación de 50MB es suficiente para las listas." msgctxt "#70612" msgid "Name of the list"