Commit 891624f
committed
psql: Fix translation marking
Commit 5a28324 added
addFooterToPublicationDesc() as a wrapper around
printTableAddFooter(). The translation marker _() was moved to the
body of addFooterToPublicationDesc(), but addFooterToPublicationDesc()
was not added to GETTEXT_TRIGGERS, so those strings were lost for
translation. To fix, add the translation markers to the call sites of
addFooterToPublicationDesc() and remove the translation marker from
the body of the function. This seems easiest since there were only
two callers and it keeps the API consistent with
printTableAddFooter(). While we're here, add some const decorations
to the prototype of addFooterToPublicationDesc() for consistency with
printTableAddFooter().1 parent 8ec5694 commit 891624f
1 file changed
+5
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5966 | 5966 | | |
5967 | 5967 | | |
5968 | 5968 | | |
5969 | | - | |
5970 | | - | |
| 5969 | + | |
| 5970 | + | |
5971 | 5971 | | |
5972 | 5972 | | |
5973 | 5973 | | |
| |||
5980 | 5980 | | |
5981 | 5981 | | |
5982 | 5982 | | |
5983 | | - | |
| 5983 | + | |
5984 | 5984 | | |
5985 | 5985 | | |
5986 | 5986 | | |
| |||
6149 | 6149 | | |
6150 | 6150 | | |
6151 | 6151 | | |
6152 | | - | |
| 6152 | + | |
6153 | 6153 | | |
6154 | 6154 | | |
6155 | 6155 | | |
| |||
6161 | 6161 | | |
6162 | 6162 | | |
6163 | 6163 | | |
6164 | | - | |
| 6164 | + | |
6165 | 6165 | | |
6166 | 6166 | | |
6167 | 6167 | | |
| |||
0 commit comments