Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
56a9ed92
Commit
56a9ed92
authored
Sep 05, 2011
by
Alvaro Herrera
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adjust translator comment format to xgettext expectations
parent
b64f18c5
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
20 deletions
+16
-20
src/backend/access/transam/xlog.c
src/backend/access/transam/xlog.c
+3
-4
src/backend/catalog/dependency.c
src/backend/catalog/dependency.c
+10
-12
src/bin/scripts/common.c
src/bin/scripts/common.c
+3
-4
No files found.
src/backend/access/transam/xlog.c
View file @
56a9ed92
...
...
@@ -3280,11 +3280,10 @@ ExecuteRecoveryCommand(char *command, char *commandName, bool failOnSignal)
*/
signaled
=
WIFSIGNALED
(
rc
)
||
WEXITSTATUS
(
rc
)
>
125
;
/*
* translator: First %s represents a recovery.conf parameter name like
* "recovery_end_command", and the 2nd is the value of that parameter.
*/
ereport
((
signaled
&&
failOnSignal
)
?
FATAL
:
WARNING
,
/*------
translator: First %s represents a recovery.conf parameter name like
"recovery_end_command", and the 2nd is the value of that parameter. */
(
errmsg
(
"%s
\"
%s
\"
: return code %d"
,
commandName
,
command
,
rc
)));
}
...
...
src/backend/catalog/dependency.c
View file @
56a9ed92
...
...
@@ -2447,12 +2447,11 @@ getObjectDescription(const ObjectAddress *object)
initStringInfo
(
&
opfam
);
getOpFamilyDescription
(
&
opfam
,
amopForm
->
amopfamily
);
/*
* translator: %d is the operator strategy (a number), the
* first two %s's are data type names, the third %s is the
* description of the operator family, and the last %s is the
* textual form of the operator with arguments.
*/
/*------
translator: %d is the operator strategy (a number), the
first two %s's are data type names, the third %s is the
description of the operator family, and the last %s is the
textual form of the operator with arguments. */
appendStringInfo
(
&
buffer
,
_
(
"operator %d (%s, %s) of %s: %s"
),
amopForm
->
amopstrategy
,
format_type_be
(
amopForm
->
amoplefttype
),
...
...
@@ -2498,12 +2497,11 @@ getObjectDescription(const ObjectAddress *object)
initStringInfo
(
&
opfam
);
getOpFamilyDescription
(
&
opfam
,
amprocForm
->
amprocfamily
);
/*
* translator: %d is the function number, the first two %s's
* are data type names, the third %s is the description of the
* operator family, and the last %s is the textual form of the
* function with arguments.
*/
/*------
translator: %d is the function number, the first two %s's
are data type names, the third %s is the description of the
operator family, and the last %s is the textual form of the
function with arguments. */
appendStringInfo
(
&
buffer
,
_
(
"function %d (%s, %s) of %s: %s"
),
amprocForm
->
amprocnum
,
format_type_be
(
amprocForm
->
amproclefttype
),
...
...
src/bin/scripts/common.c
View file @
56a9ed92
...
...
@@ -289,10 +289,9 @@ yesno_prompt(const char *question)
{
char
prompt
[
256
];
/*
* translator: This is a question followed by the translated options for
* "yes" and "no".
*/
/*------
translator: This is a question followed by the translated options for
"yes" and "no". */
snprintf
(
prompt
,
sizeof
(
prompt
),
_
(
"%s (%s/%s) "
),
_
(
question
),
_
(
PG_YESLETTER
),
_
(
PG_NOLETTER
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment