psql: Small fixes for better translatability
This commit is contained in:
parent
254a2164e5
commit
25593d7d33
|
@ -4088,7 +4088,7 @@ listTables(const char *tabtypes, const char *pattern, bool verbose, bool showSys
|
||||||
(showTables || showMatViews || showIndexes))
|
(showTables || showMatViews || showIndexes))
|
||||||
appendPQExpBuffer(&buf,
|
appendPQExpBuffer(&buf,
|
||||||
",\n am.amname as \"%s\"",
|
",\n am.amname as \"%s\"",
|
||||||
gettext_noop("Access Method"));
|
gettext_noop("Access method"));
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* As of PostgreSQL 9.0, use pg_table_size() to show a more accurate
|
* As of PostgreSQL 9.0, use pg_table_size() to show a more accurate
|
||||||
|
|
|
@ -240,8 +240,8 @@ slashUsage(unsigned short int pager)
|
||||||
fprintf(output, _(" \\des[+] [PATTERN] list foreign servers\n"));
|
fprintf(output, _(" \\des[+] [PATTERN] list foreign servers\n"));
|
||||||
fprintf(output, _(" \\deu[+] [PATTERN] list user mappings\n"));
|
fprintf(output, _(" \\deu[+] [PATTERN] list user mappings\n"));
|
||||||
fprintf(output, _(" \\dew[+] [PATTERN] list foreign-data wrappers\n"));
|
fprintf(output, _(" \\dew[+] [PATTERN] list foreign-data wrappers\n"));
|
||||||
fprintf(output, _(" \\df[anptw][S+] [FUNCPTRN [TYPEPTRN ...]]\n"));
|
fprintf(output, _(" \\df[anptw][S+] [FUNCPTRN [TYPEPTRN ...]]\n"
|
||||||
fprintf(output, _(" list [only agg/normal/procedure/trigger/window] functions\n"));
|
" list [only agg/normal/procedure/trigger/window] functions\n"));
|
||||||
fprintf(output, _(" \\dF[+] [PATTERN] list text search configurations\n"));
|
fprintf(output, _(" \\dF[+] [PATTERN] list text search configurations\n"));
|
||||||
fprintf(output, _(" \\dFd[+] [PATTERN] list text search dictionaries\n"));
|
fprintf(output, _(" \\dFd[+] [PATTERN] list text search dictionaries\n"));
|
||||||
fprintf(output, _(" \\dFp[+] [PATTERN] list text search parsers\n"));
|
fprintf(output, _(" \\dFp[+] [PATTERN] list text search parsers\n"));
|
||||||
|
@ -252,7 +252,8 @@ slashUsage(unsigned short int pager)
|
||||||
fprintf(output, _(" \\dL[S+] [PATTERN] list procedural languages\n"));
|
fprintf(output, _(" \\dL[S+] [PATTERN] list procedural languages\n"));
|
||||||
fprintf(output, _(" \\dm[S+] [PATTERN] list materialized views\n"));
|
fprintf(output, _(" \\dm[S+] [PATTERN] list materialized views\n"));
|
||||||
fprintf(output, _(" \\dn[S+] [PATTERN] list schemas\n"));
|
fprintf(output, _(" \\dn[S+] [PATTERN] list schemas\n"));
|
||||||
fprintf(output, _(" \\do[S] [OPPTRN [TYPEPTRN [TYPEPTRN]]] list operators\n"));
|
fprintf(output, _(" \\do[S] [OPPTRN [TYPEPTRN [TYPEPTRN]]]\n"
|
||||||
|
" list operators\n"));
|
||||||
fprintf(output, _(" \\dO[S+] [PATTERN] list collations\n"));
|
fprintf(output, _(" \\dO[S+] [PATTERN] list collations\n"));
|
||||||
fprintf(output, _(" \\dp [PATTERN] list table, view, and sequence access privileges\n"));
|
fprintf(output, _(" \\dp [PATTERN] list table, view, and sequence access privileges\n"));
|
||||||
fprintf(output, _(" \\dP[itn+] [PATTERN] list [only index/table] partitioned relations [n=nested]\n"));
|
fprintf(output, _(" \\dP[itn+] [PATTERN] list [only index/table] partitioned relations [n=nested]\n"));
|
||||||
|
|
|
@ -2846,7 +2846,7 @@ Access method: heap
|
||||||
-- AM is displayed for tables, indexes and materialized views.
|
-- AM is displayed for tables, indexes and materialized views.
|
||||||
\d+
|
\d+
|
||||||
List of relations
|
List of relations
|
||||||
Schema | Name | Type | Owner | Persistence | Access Method | Size | Description
|
Schema | Name | Type | Owner | Persistence | Access method | Size | Description
|
||||||
-----------------+--------------------+-------------------+----------------------+-------------+---------------+---------+-------------
|
-----------------+--------------------+-------------------+----------------------+-------------+---------------+---------+-------------
|
||||||
tableam_display | mat_view_heap_psql | materialized view | regress_display_role | permanent | heap_psql | 0 bytes |
|
tableam_display | mat_view_heap_psql | materialized view | regress_display_role | permanent | heap_psql | 0 bytes |
|
||||||
tableam_display | tbl_heap | table | regress_display_role | permanent | heap | 0 bytes |
|
tableam_display | tbl_heap | table | regress_display_role | permanent | heap | 0 bytes |
|
||||||
|
@ -2856,7 +2856,7 @@ Access method: heap
|
||||||
|
|
||||||
\dt+
|
\dt+
|
||||||
List of relations
|
List of relations
|
||||||
Schema | Name | Type | Owner | Persistence | Access Method | Size | Description
|
Schema | Name | Type | Owner | Persistence | Access method | Size | Description
|
||||||
-----------------+---------------+-------+----------------------+-------------+---------------+---------+-------------
|
-----------------+---------------+-------+----------------------+-------------+---------------+---------+-------------
|
||||||
tableam_display | tbl_heap | table | regress_display_role | permanent | heap | 0 bytes |
|
tableam_display | tbl_heap | table | regress_display_role | permanent | heap | 0 bytes |
|
||||||
tableam_display | tbl_heap_psql | table | regress_display_role | permanent | heap_psql | 0 bytes |
|
tableam_display | tbl_heap_psql | table | regress_display_role | permanent | heap_psql | 0 bytes |
|
||||||
|
@ -2864,7 +2864,7 @@ Access method: heap
|
||||||
|
|
||||||
\dm+
|
\dm+
|
||||||
List of relations
|
List of relations
|
||||||
Schema | Name | Type | Owner | Persistence | Access Method | Size | Description
|
Schema | Name | Type | Owner | Persistence | Access method | Size | Description
|
||||||
-----------------+--------------------+-------------------+----------------------+-------------+---------------+---------+-------------
|
-----------------+--------------------+-------------------+----------------------+-------------+---------------+---------+-------------
|
||||||
tableam_display | mat_view_heap_psql | materialized view | regress_display_role | permanent | heap_psql | 0 bytes |
|
tableam_display | mat_view_heap_psql | materialized view | regress_display_role | permanent | heap_psql | 0 bytes |
|
||||||
(1 row)
|
(1 row)
|
||||||
|
|
Loading…
Reference in New Issue