1
0
mirror of https://github.com/TeamNewPipe/NewPipe.git synced 2024-11-22 11:02:35 +01:00

Merge pull request #327 from adelolmo/master

fix build. remove wrong xliff namespaces from spanish translation.
This commit is contained in:
Christian Schabesberger 2016-07-04 17:46:52 +02:00 committed by GitHub
commit 66e88829dd
3 changed files with 6 additions and 6 deletions

View File

@ -43,7 +43,7 @@ public class YoutubeSearchEngineTest extends AndroidTestCase {
SearchEngine engine = ServiceList.getService("Youtube")
.getSearchEngineInstance(new Downloader());
result = engine.search("star wars",
result = engine.search("this is something boring",
0, "de", new Downloader()).getSearchResult();
suggestionReply = engine.suggestionList("hello","de",new Downloader());
}

View File

@ -55,7 +55,7 @@ public class YoutubeStreamUrlIdHandler implements StreamUrlIdHandler {
}
else if(url.contains("vnd.youtube"))
{
id = Parser.matchGroup1("vnd.youtube\\:([\\-a-zA-Z0-9_]{11}).*", url);
id = Parser.matchGroup1("([\\-a-zA-Z0-9_]{11}).*", url);
}
else {
id = Parser.matchGroup1("[?&]v=([\\-a-zA-Z0-9_]{11})", url);

View File

@ -1,5 +1,5 @@
<?xml version='1.0' encoding='UTF-8'?>
<resources>
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<string name="view_count_text">%1$s visitas</string>
<string name="upload_date_text">Subido el %1$s</string>
<string name="no_player_found">No se ha encontrado ningún reproductor de vídeo. ¿Desea instalar VLC?</string>
@ -121,10 +121,10 @@
<string name="error_drm_not_supported">Contenido protegido no soportado en niveles de API inferiores a 18</string>
<string name="error_drm_unsupported_scheme">Este dispositivo no soporta el esquema DRM requerido</string>
<string name="error_drm_unknown">Ocurrió un error DRM desconocido</string>
<string xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2" name="error_no_decoder">Este dispositivo no proporciona un decodificador para <xliff:g id="mime_type">%1$s</xliff:g></string>
<string xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2" name="error_no_secure_decoder">Este dispositivo no proporciona un decodificador seguro para <xliff:g id="mime_type">%1$s</xliff:g></string>
<string name="error_no_decoder">Este dispositivo no proporciona un decodificador para <xliff:g id="mime_type">%1$s</xliff:g></string>
<string name="error_no_secure_decoder">Este dispositivo no proporciona un decodificador seguro para <xliff:g id="mime_type">%1$s</xliff:g></string>
<string name="error_querying_decoders">No es posible consultar los decodificadores del dispositivo</string>
<string xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2" name="error_instantiating_decoder">No se ha podido instanciar el decodificador <xliff:g id="decoder_name">%1$s</xliff:g></string>
<string name="error_instantiating_decoder">No se ha podido instanciar el decodificador <xliff:g id="decoder_name">%1$s</xliff:g></string>
<string name="storage_permission_denied">El permiso de acceso al almacenamiento fue negado</string>
<string name="use_exoplayer_title">Usar ExoPlayer</string>
<string name="use_exoplayer_summary">Experimental</string>