Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create reference/gettext/functions/-.xml #3556

Merged
merged 1 commit into from
Jul 19, 2024

Conversation

MauricioFauth
Copy link
Member

@MauricioFauth MauricioFauth commented Jul 11, 2024

The _() function is an alias of the gettext() function.

Adding a dedicated manual page for this function will remove the need for the special cases created for it when generating the manual.

See:

The _() function is an alias of the gettext() function.

Adding a dedicated manual page for this function will remove the need
for the special cases created for it when generating the manual.

See:
- https://bugs.php.net/bug.php?id=63490
- php/systems@b67fa16
- php/web-php@fdec771
- https://github.com/php/php-src/blob/PHP-4.0/ext/gettext/gettext.c#L39
@MauricioFauth MauricioFauth changed the title Create reference/gettext/functions/_.xml Create reference/gettext/functions/-.xml Jul 12, 2024
@MauricioFauth
Copy link
Member Author

Update: I renamed the file from _.xml to -.xml and the refentry id from function._ to function.-.

This follows the manual standard of replacing the _ with - and also allows to remove the special cases from the php/web-php repository.

MauricioFauth added a commit to MauricioFauth/web-php that referenced this pull request Jul 12, 2024
MauricioFauth added a commit to MauricioFauth/web-php that referenced this pull request Jul 12, 2024
@MauricioFauth MauricioFauth merged commit 9dea6e3 into php:master Jul 19, 2024
2 checks passed
@MauricioFauth MauricioFauth deleted the gettext-underscore-alias branch July 19, 2024 19:17
@MauricioFauth MauricioFauth self-assigned this Jul 19, 2024
sy-records pushed a commit to php/web-php that referenced this pull request Jul 19, 2024
derickr pushed a commit to php/systems that referenced this pull request Jul 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant