Jump to content

Edit History

helsinkisisu

helsinkisisu

OK, according to this

        $link = $this->context->link;

        $my_account_urls = array(
            2 => array(
                'title' => $this->trans('Orders', array(), 'Admin.Global'),
                'url' => $link->getPageLink('history', true),
            ),
            3 => array(
                'title' => $this->trans('Credit slips', array(), 'Modules.Customeraccountlinks.Admin'),
                'url' => $link->getPageLink('order-slip', true),
            ),
            4 => array(
                'title' => $this->trans('Addresses', array(), 'Shop.Theme.Global'),
                'url' => $link->getPageLink('addresses', true),
            ),
            0 => array(
                'title' => $this->trans('Personal info', array(), 'Modules.Customeraccountlinks.Admin'),
                'url' => $link->getPageLink('identity', true),
            ),
        );

in modules->ps_customeraccountlinks->ps_customeraccountlinks.php, it says 'Addresses' should be in the 'Shop.Theme.Global' language file. I can see it at line 15 in ShopThemeGlobal.en-US.xlf, but it's not in ShopThemeGlobal.fi-FI.xlf (Finnish).

Any ideas how I can add this?

helsinkisisu

helsinkisisu

OK, according to this

        $link = $this->context->link;

        $my_account_urls = array(
            2 => array(
                'title' => $this->trans('Orders', array(), 'Admin.Global'),
                'url' => $link->getPageLink('history', true),
            ),
            3 => array(
                'title' => $this->trans('Credit slips', array(), 'Modules.Customeraccountlinks.Admin'),
                'url' => $link->getPageLink('order-slip', true),
            ),
            4 => array(
                'title' => $this->trans('Addresses', array(), 'Shop.Theme.Global'),
                'url' => $link->getPageLink('addresses', true),
            ),
            0 => array(
                'title' => $this->trans('Personal info', array(), 'Modules.Customeraccountlinks.Admin'),
                'url' => $link->getPageLink('identity', true),
            ),
        );

in modules->ps_customeraccountlinks->ps_customeraccountlinks.php, it says 'Addresses' should be in the 'Shop.Theme.Global' language file. I can see it at line 15 in the en-US file, but it's not in the fi-FI file (Finnish).

Any ideas how I can add this?

×
×
  • Create New...