login-with-google icon indicating copy to clipboard operation
login-with-google copied to clipboard

Add translation disambiguation for “Login with Google” string

Open Neha93517 opened this issue 2 months ago • 0 comments

A translator pointed out that the string “Login with Google” appears multiple times across the plugin and may require disambiguation to improve translation accuracy.

Details:

Plugin version: 1.4.1

Files mentioned:

\templates\google-login-button (line 14)

\assets\build\blocks\login-button\index.js

Note: Confirmed that both PHP (/templates/google-login-button.php) and JS (/assets/build/blocks/login-button/index.js) use __() for the “Login with Google” string — no _x() or contextual disambiguation present.

Request: Replace with _x() / wp.i18n._x() and add proper context (e.g., 'button label') where appropriate.

Rationale: Adding context ensures translators can distinguish between identical strings used in different UI contexts, improving overall translation quality.

Related support thread: https://wordpress.org/support/topic/l10n-issue-the-string-login-with-google-should-be-disambiguation/

Neha93517 avatar Oct 31 '25 06:10 Neha93517