huhwt / huhwt-cce

Webtrees - ClippingsCart Enhanced - Webtrees-2.1 Version -
GNU General Public License v3.0
5 stars 1 forks source link

Reducir el nombre del módulo. #19

Closed BernatBanyuls closed 6 months ago

BernatBanyuls commented 6 months ago

Quisiera reducir el nombre del módulo en el menú. Como se ve en las imágenes, resulta un texto muy extenso. Si como autor no deseas cambiarlo, agradecería me informaras si hay algún método para hacerlo por mí mismo en mi página.

error H Hwt_1

Gracias.

huhwt commented 6 months ago

A new release is in the works, so the module identifier will be shorter... The module identifier is set in 2 places:

ClippingsCartEnhanced.php

Line 324 $this->huh = json_decode('"\u210D"') . "&" . json_decode('"\u210D"') . "wt";

Line 2104 return $this->huh . ' ' . I18N::translate(self::CUSTOM_TITLE);

changing line 324 like this ... $this->huh = json_decode('"\u210D"'); //. "&" . json_decode('"\u210D"') . "wt"; ... shortens the "logo" to 1 character.

I'm wondering that the module identifier still appears with English text; it should actually be displayed translated - in the translation module (e.g. es.po) it is the 2nd entry.

BernatBanyuls commented 6 months ago

Gracias por tu ayuda.

Ahora lo tengo perfecto! (Nombre “corto” al menú)

Respecto a la traducción, no se a qué te refieres. Este es el texto que veo en el fichero es.po

Si te refieres a la línea 2 que está “vacia” la traducción al español sería “CARRO DE RECORTES”

Gracias por todo!

Abans d'imprimir aquest correu, penseu si és necessari.

Aquest correu electrònic pot contenir informació confidencial o legalment protegida i està exclusivament adreçat a la persona o entitat destinatària. Si no sou el destinatari final o la persona encarregada de recollir-lo, no esteu autoritzat a llegir-lo, retenir-lo, modificar-lo, distribuir-lo, copiar-lo ni a revelar-ne el contingut. Si heu rebut aquest correu electrònic per error, us preguem que informeu el remitent i elimineu del vostre sistema el missatge i el material annex que pugui contenir. Gràcies per la vostra col·laboració.

De: EW.H @.> Enviat: dilluns, 19 de febrer de 2024 11:22 Per a: huhwt/huhwt-cce @.> A/c: BernatBanyuls @.>; Author @.> Tema: Re: [huhwt/huhwt-cce] Reducir el nombre del módulo. (Issue #19)

A new release is in the works, so the module identifier will be shorter... The module identifier is set in 2 places:

ClippingsCartEnhanced.php

Line 324 $this->huh = json_decode('"\u210D"') . "&" . json_decode('"\u210D"') . "wt";

Line 2104 return $this->huh . ' ' . I18N::translate(self::CUSTOM_TITLE);

changing line 324 like this ... $this->huh = json_decode('"\u210D"'); //. "&" . json_decode('"\u210D"') . "wt"; ... shortens the "logo" to 1 character.

I'm wondering that the module identifier still appears with English text; it should actually be displayed translated - in the translation module (e.g. es.po) it is the 2nd entry.

— Reply to this email directly, view it on GitHub https://github.com/huhwt/huhwt-cce/issues/19#issuecomment-1952134974 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AYSJGCI4REL75DNSGUEVNATYUMRTJAVCNFSM6AAAAABDOCRO66VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJSGEZTIOJXGQ . You are receiving this because you authored the thread. https://github.com/notifications/beacon/AYSJGCLKACFBOU4KDY43CO3YUMRTJA5CNFSM6AAAAABDOCRO66WGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTULM3T4.gif Message ID: @.***>