Skip to content

rename gettext macro#1588

Merged
BareosBot merged 7 commits intobareos:masterfrom
arogge:dev/arogge/master/rename-gettext-macro
Nov 17, 2023
Merged

rename gettext macro#1588
BareosBot merged 7 commits intobareos:masterfrom
arogge:dev/arogge/master/rename-gettext-macro

Conversation

@arogge
Copy link
Member

@arogge arogge commented Nov 6, 2023

Please check

  • Short description and the purpose of this PR is present above this paragraph
  • Your name is present in the AUTHORS file (optional)

If you have any questions or problems, please give a comment in the PR.

Helpful documentation and best practices

Checklist for the reviewer of the PR (will be processed by the Bareos team)

Make sure you check/merge the PR using devtools/pr-tool to have some simple automated checks run and a proper changelog record added.

General
  • Is the PR title usable as CHANGELOG entry?
  • Purpose of the PR is understood
  • Commit descriptions are understandable and well formatted
    Check backport line
    Required backport PRs have been created
Source code quality
  • Source code changes are understandable
  • Variable and function names are meaningful
  • Code comments are correct (logically and spelling)
    Required documentation changes are present and part of the PR

@sebsura sebsura self-assigned this Nov 7, 2023
Copy link
Contributor

@sebsura sebsura left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. I added some suggestions, tell me what you think of them.

@arogge arogge force-pushed the dev/arogge/master/rename-gettext-macro branch from bc9e03b to 6a59187 Compare November 7, 2023 16:17
@arogge
Copy link
Member Author

arogge commented Nov 7, 2023

I had to rebase and force-push to fix some conflicts. Sorry for that.

@arogge arogge force-pushed the dev/arogge/master/rename-gettext-macro branch from 6a59187 to 5830693 Compare November 7, 2023 16:53
Copy link
Contributor

@sebsura sebsura left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You cannot remove ini.h and ini.cc since they are actually required by test-plugin-fd.cc.

If that file is not used anymore, we should probably delete it as well.

@arogge
Copy link
Member Author

arogge commented Nov 16, 2023

That test plugin looks like something that bitrotted away. At least there is no build configuration on Jenkins that would even try to build it.
I'll see if we should re-enable or remove it.

@arogge arogge force-pushed the dev/arogge/master/rename-gettext-macro branch from 5830693 to 9bfcd79 Compare November 17, 2023 09:57
the classic gettext macro _() clashes with some uses of underscore, to
mitigate that, this commit renames it to T_().
there is no functional difference, it is just one more macro removed.
@arogge arogge force-pushed the dev/arogge/master/rename-gettext-macro branch from 9bfcd79 to 99354a6 Compare November 17, 2023 10:33
Copy link
Contributor

@sebsura sebsura left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good work! You just need to fix the build issues but Ill already approve of it for now.

@arogge arogge force-pushed the dev/arogge/master/rename-gettext-macro branch from 99354a6 to 0086d54 Compare November 17, 2023 13:47
@BareosBot BareosBot merged commit 1d0ee2a into bareos:master Nov 17, 2023
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.

3 participants