Changeset 3526


Ignore:
Timestamp:
Feb 6, 2017, 9:45:20 AM (2 years ago)
Author:
joamuran
Message:

fixed lmd-import-img

Location:
lmd/trunk/fuentes
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • lmd/trunk/fuentes/debian/changelog

    r3394 r3526  
     1lmd (2.6.8) xenial; urgency=high
     2
     3  * Fixed language detection in lmd-import-img.sh script
     4  * Fixed lmd-import-img desktop for hiding it in menu 
     5
     6 -- Jose A. Murcia <jose@gmail.com>  Mon, 06 Feb 2017 09:43:08 +0100
     7
    18lmd (2.6.7) xenial; urgency=high
    29
  • lmd/trunk/fuentes/lmd-server.install/usr/sbin/lmd-import-img.sh

    r3136 r3526  
    33##
    44
    5 if [[ ${LANGUAGE} == "ca_ES" ]] || [[ ${LANGUAGE} == "ca_ES@valencia" ]] || [[ ${LANGUAGE} == "ca" ]] || [[ ${LANGUAGE} == "ca@valencia" ]];
     5lang=$(locale | grep LANGUAGE | cut -d= -f2 | cut -d_ -f1)
     6
     7if [[ ${lang} == "ca_ES" ]] || [[ ${lang} == "ca_ES@valencia" ]] || [[ ${lang} == "ca" ]] || [[ ${lang} == "ca@valencia" ]];
    68then
    79    MSG_INFO_IMPORT="Aneu a importar la imatge: "
     
    1416    MSG_EXISTS_CHROOT="Ja existeix una imatge amb este nom. Voleu sobreescriure-la?"
    1517    MSG_REMOVING="Esborrant la imatge prèvia..."
    16 elif  [[ ${LANGUAGE} == "es_ES" ]] || [[ ${LANGUAGE} == "es" ]];
     18elif  [[ ${lang} == "es_ES" ]] || [[ ${lang} == "es" ]];
    1719then
    1820    MSG_INFO_IMPORT="Va a importar la imagen: "
  • lmd/trunk/fuentes/lmd-server.install/usr/share/applications/lmdimg.desktop

    r2582 r3526  
    1111MimeType=application/lmdimg
    1212Categories=GTK;Archiving;Compression;
     13NoDisplay=true
Note: See TracChangeset for help on using the changeset viewer.