salesagility / SuiteCRM

SuiteCRM - Open source CRM for the world
https://www.suitecrm.com
GNU Affero General Public License v3.0
4.26k stars 2.03k forks source link

bugfix #10418 Global Search Labels fixed #10419

Open lionfaris opened 1 month ago

lionfaris commented 1 month ago

When a user performs global search in the page that opens search button has empty label

After the fix image

Description

Motivation and Context

How To Test This

Types of changes

Final checklist

serhiisamko091184 commented 1 month ago

Hello @lionfaris,

thanks for your PR,

could you please update the commit message to the following format: Fix Issue number - Commit message? For example: image

For more information, visit our documentation: https://docs.suitecrm.com/community/contributing-code/bugs/

Thanks a lot in advance!

Regards, Serhii

lionfaris commented 1 month ago

@serhiisamko091184 Amended the commit message

serhiisamko091184 commented 1 month ago

Hello @lionfaris,

thanks for your quick reply and changes,

would you be so kind to spend a little bit of your time and change the commit message to conform with the documentation?

Like here: image

image

The hyphen is missing: image

Thanks in advance!

Regards, Serhii

lionfaris commented 1 month ago

@serhiisamko091184 updated

serhiisamko091184 commented 1 month ago

Many thanks, @lionfaris!

clemente-raposo commented 1 month ago

Hi @lionfaris,

Thank you for your PR.

When re-reviewing I noticed the following:

In tpls we commonly use {sugar_translate label="LBL_VIEWINLINE"} instead of directly using the translate() function. Using sugar_translate on tpls is preferable.

Anyway, there is another PR that is fixing the same issue:

Had you though of the solution on the PR above? I'm asking just to understand if there is any drawbacks on it that you might have found.