Changeset 91

Show
Ignore:
Timestamp:
03/09/12 19:43:09 (9 years ago)
Author:
vsilva
Message:

Fix getXML funciton; Fix some dialogs win32

Location:
middleware-offline/trunk
Files:
1 added
3 modified

Legend:

Unmodified
Added
Removed
  • middleware-offline/trunk/_src/eidmw/applayer/APLCardPteid.cpp

    r82 r91  
    15781578        } 
    15791579        if (_xmlUInfo->contains(XML_SOCIAL_SECURITY_NO)){ 
    1580                 BUILD_XML_ELEMENT(idNum, XML_SOCIAL_SECURITY_NO_ELEMENT, getTaxNo()); 
     1580                BUILD_XML_ELEMENT(idNum, XML_SOCIAL_SECURITY_NO_ELEMENT, getSocialSecurityNumber()); 
    15811581                addIdNum = true; 
    15821582        } 
     
    15911591                addIdNum = true; 
    15921592        } 
    1593  
    15941593        if (_xmlUInfo->contains(XML_MRZ2)){ 
    15951594                temp = getMRZ2(); 
  • middleware-offline/trunk/_src/eidmw/dialogs/dialogsWin32/dlgWndAskPIN.cpp

    r5 r91  
    2626#include "Log.h" 
    2727 
     28#include "Config.h" 
     29 
    2830#define IDC_STATIC 0 
    2931#define IDB_OK 1 
     
    4446        PinResult[1] = (char)0; 
    4547 
     48        std::wstring lang = CConfig::GetString(CConfig::EIDMW_CONFIG_PARAM_GENERAL_LANGUAGE); 
     49 
    4650        std::wstring tmpTitle = L""; 
    4751 
     
    5256 
    5357        tmpTitle += L" "; 
    54         tmpTitle += PINName; 
     58 
     59        //Change to pt once fixed the language issues. 
     60        if(wcscmp(L"nl",lang.c_str())==0) 
     61        { 
     62                if (PinPusage == DLG_PIN_AUTH) 
     63                        tmpTitle.append(L"Pin da Autenticação"); 
     64                else if (PinPusage == DLG_PIN_ADDRESS) 
     65                        tmpTitle.append(L"Pin da Morada"); 
     66                else 
     67                        tmpTitle.append(L"Pin da Assinatura"); 
     68        } 
     69        else 
     70                tmpTitle.append(PINName); 
    5571 
    5672        m_ulPinMinLen = pinInfo.ulMinLen; 
  • middleware-offline/trunk/_src/eidmw/preparePKG.sh

    r82 r91  
    6060echo "  ln -s -f /usr/local/lib/libcardpluginPteid.so.2.0.0 /usr/local/lib/libcardpluginPteid.so.2.0"  >> pteid-pkg/install_pteid.sh 
    6161 
    62 echo "  install -m 755 -p \"lib/libpteidpkcs11.so.2.0.0\" \"/usr/local/lib/libpteidpkcs11.2.0.0\""  >> pteid-pkg/install_pteid.sh 
     62echo "  install -m 755 -p \"lib/libpteidpkcs11.so.2.0.0\" \"/usr/local/lib/libpteidpkcs11.so.2.0.0\""  >> pteid-pkg/install_pteid.sh 
    6363echo "  ln -s -f /usr/local/lib/libpteidpkcs11.so.2.0.0 /usr/local/lib/libpteidpkcs11.so"  >> pteid-pkg/install_pteid.sh 
    6464echo "  ln -s -f /usr/local/lib/libpteidpkcs11.so.2.0.0 /usr/local/lib/libpteidpkcs11.so.2"  >> pteid-pkg/install_pteid.sh 
    6565echo "  ln -s -f /usr/local/lib/libpteidpkcs11.so.2.0.0 /usr/local/lib/libpteidpkcs11.so.2.0"  >> pteid-pkg/install_pteid.sh 
    6666 
    67 echo "  install -m 755 -p \"lib/libpteidapplayer.so.2.0.0\" \"/usr/local/lib/libpteidapplayer.2.0.0\""  >> pteid-pkg/install_pteid.sh 
     67echo "  install -m 755 -p \"lib/libpteidapplayer.so.2.0.0\" \"/usr/local/lib/libpteidapplayer.so.2.0.0\""  >> pteid-pkg/install_pteid.sh 
    6868echo "  ln -s -f /usr/local/lib/libpteidapplayer.so.2.0.0 /usr/local/lib/libpteidapplayer.so"  >> pteid-pkg/install_pteid.sh 
    6969echo "  ln -s -f /usr/local/lib/libpteidapplayer.so.2.0.0 /usr/local/lib/libpteidapplayer.so.2"  >> pteid-pkg/install_pteid.sh 
    7070echo "  ln -s -f /usr/local/lib/libpteidapplayer.so.2.0.0 /usr/local/lib/libpteidapplayer.so.2.0"  >> pteid-pkg/install_pteid.sh 
    7171 
    72 echo "  install -m 755 -p \"lib/libpteidlib.so.2.0.0\" \"/usr/local/lib/libpteidlib.2.0.0\""  >> pteid-pkg/install_pteid.sh 
     72echo "  install -m 755 -p \"lib/libpteidlib.so.2.0.0\" \"/usr/local/lib/libpteidlib.so.2.0.0\""  >> pteid-pkg/install_pteid.sh 
    7373echo "  ln -s -f /usr/local/lib/libpteidlib.so.2.0.0 /usr/local/lib/libpteidlib.so"  >> pteid-pkg/install_pteid.sh 
    7474echo "  ln -s -f /usr/local/lib/libpteidlib.so.2.0.0 /usr/local/lib/libpteidlib.so.2"  >> pteid-pkg/install_pteid.sh