pgkiln 0.56.0 → 0.57.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -675,4 +675,375 @@ export const en = {
675
675
  'sql.tool.reports.desc': 'Tables without keys, unindexed foreign keys, row level security gaps and more.',
676
676
  'sql.tool.activity': 'Monitor Activity',
677
677
  'sql.tool.activity.desc': 'Page views, errors and slow pages of the applications.',
678
+ // ------------------------------------------------------------ SQL Worksheet (sprint 123)
679
+ 'ws.title': 'SQL Worksheet',
680
+ 'ws.tab.result': 'Query Result',
681
+ 'ws.tab.chart': 'Chart',
682
+ 'ws.tab.output': 'Script Output',
683
+ 'ws.tab.notices': 'Notices',
684
+ 'ws.tab.explain': 'Explain Plan',
685
+ 'ws.tab.autotrace': 'Autotrace',
686
+ 'ws.tab.history': 'SQL History',
687
+ 'ob.type.all': 'All Objects',
688
+ 'ob.type.table': 'Tables',
689
+ 'ob.type.view': 'Views',
690
+ 'ob.type.matview': 'Materialized Views',
691
+ 'ob.type.index': 'Indexes',
692
+ 'ob.type.sequence': 'Sequences',
693
+ 'ob.type.type': 'Types',
694
+ 'ob.type.function': 'Functions',
695
+ 'ob.type.procedure': 'Procedures',
696
+ 'ob.type.trigger': 'Triggers',
697
+ 'ob.type.policy': 'Policies',
698
+ 'ws.nav.no_schema': 'No schema you may use.',
699
+ 'ws.nav.no_objects': 'No objects in {schema}.',
700
+ 'ws.nav.no_type': 'No {type} in {schema}.',
701
+ 'ws.nav.drag': '{type}: drag into the editor for a SELECT',
702
+ 'ws.nav.open': 'Open',
703
+ 'ws.nav.cols_limit': 'Columns are listed for the first {n} tables and views.',
704
+ 'ws.rows_one': '{n} row',
705
+ 'ws.rows': '{n} rows',
706
+ 'ws.stmt_one': '{n} statement',
707
+ 'ws.stmt': '{n} statements',
708
+ 'ws.download': 'Download',
709
+ 'ws.dl.sql': 'SQL inserts',
710
+ 'ws.result.showing': 'showing the first {n}',
711
+ 'ws.line': 'line {n}',
712
+ 'ws.all_rows': 'All rows',
713
+ 'ws.all_rows.title': 'Run the statement again and show up to {n} rows',
714
+ 'ws.chart.title': 'Create Chart (Ctrl+F11)',
715
+ 'ws.copy': 'Copy',
716
+ 'ws.value': 'Value',
717
+ 'ws.close': 'Close',
718
+ 'ws.result.failed': 'The statement failed: see Script Output.',
719
+ 'ws.result.no_rows': 'No rows: the last statement was not a query. See Script Output.',
720
+ 'ws.result.empty': 'Run a query (Ctrl+Enter) to see its rows here.',
721
+ 'ws.log.not_run': '-- {n}. line {line}: not run (an earlier statement failed)',
722
+ 'ws.log.head': '-- {n}. line {line}: {sql}',
723
+ 'ws.error': 'Error: {error}',
724
+ 'ws.error_at': 'Error at line {line}: {error}',
725
+ 'ws.error_at_col': 'Error at line {line}, column {col}: {error}',
726
+ 'ws.log.first': '(first {n} of {rows} rows)',
727
+ 'ws.log.summary_one': '{n} statement run, {failed} failed, {ms} ms.',
728
+ 'ws.log.summary': '{n} statements run, {failed} failed, {ms} ms.',
729
+ 'ws.log.empty': 'Run Script (F5) runs every statement and logs each one here.',
730
+ 'ws.notice.meta': 'statement {n} · {at}',
731
+ 'ws.notice.empty': 'RAISE NOTICE, INFO and WARNING messages of the last run show here.',
732
+ 'ws.no_plan': 'No plan.',
733
+ 'ws.hist.search': 'Search the history',
734
+ 'ws.hist.status': 'Status',
735
+ 'ws.hist.all': 'All',
736
+ 'ws.hist.ok': 'Succeeded',
737
+ 'ws.hist.failed': 'Failed',
738
+ 'ws.hist.failed_title': 'Failed: {error}',
739
+ 'ws.hist.insert': 'Insert at the cursor: {sql}',
740
+ 'ws.hist.run_title': 'Put it in the editor and run it',
741
+ 'ws.hist.empty': 'Your statements show here after you run them.',
742
+ 'ws.ready': 'Ready.',
743
+ 'ws.status.explain': 'Explain plan in {ms} ms.',
744
+ 'ws.status.autotrace': 'Autotrace in {ms} ms.',
745
+ 'ws.status.rows_one': '{n} row in {ms} ms.',
746
+ 'ws.status.rows': '{n} rows in {ms} ms.',
747
+ 'ws.status.stmts_one': '{n} statement in {ms} ms.',
748
+ 'ws.status.stmts': '{n} statements in {ms} ms.',
749
+ 'ws.errors': 'Errors',
750
+ 'ws.warnings': 'Warnings',
751
+ 'ws.running': 'Running…',
752
+ 'ws.chart.empty': 'Create Chart (Ctrl+F11) draws the last query: a label column and number columns.',
753
+ 'ws.explain.empty': 'Explain Plan (F10) shows how PostgreSQL would run the statement at the cursor; nothing runs.',
754
+ 'ws.autotrace.empty': 'Autotrace (F6) runs the statement at the cursor with EXPLAIN ANALYZE and rolls it back: actual rows, time and buffers per step.',
755
+ 'ws.idle.seconds': '{n} seconds',
756
+ 'ws.idle.minute': '{n} minute',
757
+ 'ws.idle.minutes': '{n} minutes',
758
+ 'ws.txn.none': 'No open transaction',
759
+ 'ws.txn.failed': 'Transaction failed',
760
+ 'ws.txn.open': 'Transaction open',
761
+ 'ws.txn.under_minute': 'under a minute',
762
+ 'ws.txn.min': '{n} min',
763
+ 'ws.txn.no_txn': 'This worksheet has no open transaction.',
764
+ 'ws.txn.busy': 'A run is still going on in this worksheet: wait for it to finish.',
765
+ 'ws.txn.end_failed': '{action} failed: {error}. The connection was closed, so the transaction is rolled back.',
766
+ 'ws.txn.commit_rolled': 'The transaction had failed, so COMMIT rolled it back: nothing was saved.',
767
+ 'ws.txn.committed': 'Committed ({what}).',
768
+ 'ws.txn.rolled_back': 'Rolled back ({what} undone).',
769
+ 'ws.txn.rolled_back_failed': 'Rolled back ({what} undone; the transaction had failed).',
770
+ 'ws.file.name_long': 'A name has at most 200 characters.',
771
+ 'ws.file.too_big': 'A script holds at most 5 MB.',
772
+ 'ws.file.new_name': 'Enter the new name.',
773
+ 'ws.file.need_name': 'Name the worksheet to save it as a script.',
774
+ 'ws.file.exists': 'A script named “{name}” already exists.',
775
+ 'ws.file.renamed': 'Renamed to “{name}”.',
776
+ 'ws.file.saved': 'Saved as the script “{name}”.',
777
+ 'ws.txn.switched': 'You switched workspaces: the transaction was rolled back.',
778
+ 'ws.txn.open_first': 'This worksheet has an open transaction: Commit or Rollback it first, or switch back to Transaction.',
779
+ 'ws.txn.needs_js': 'Transaction mode needs JavaScript (the worksheet tab it belongs to); this run was refused.',
780
+ 'ws.txn.runs_as': "This worksheet's transaction runs as {who}: Commit or Rollback it before changing Run as.",
781
+ 'ws.txn.not_in_txn': "Line {line}: {what} can't run inside a transaction. Switch the worksheet to Autocommit to run it.",
782
+ 'ws.txn.new_started': '{note} A new transaction started.',
783
+ 'ws.txn.begin_left': 'The transaction started with BEGIN was still open at the end of the run and was rolled back. Switch the worksheet to Transaction to keep a transaction open between runs.',
784
+ 'ws.txn.ended_editor': 'The transaction ended with the COMMIT or ROLLBACK in the editor; the next run starts a new one.',
785
+ 'ws.txn.aborted': 'A statement failed, so the transaction is aborted: Rollback ends it (COMMIT would roll it back too).',
786
+ 'ws.chart.nothing': 'Nothing to draw: the query needs a number column next to its labels.',
787
+ 'ws.chart.again': 'Draw again',
788
+ 'ws.chart.name': 'Chart name',
789
+ 'ws.chart.save': 'Save chart',
790
+ 'ws.binds.title': 'Values for the run',
791
+ 'ws.binds.help': 'Bind variables ({bind}) get a value as a quoted literal; substitution variables ({sub}) put the text into the statement as it is. Empty is NULL for a bind variable.',
792
+ 'ws.runs_as_role': 'the role {role} of {app}',
793
+ 'ws.refresh_nav': 'Refresh the navigator',
794
+ 'ws.navigator': 'Navigator',
795
+ 'ws.objects': 'Objects',
796
+ 'ws.files': 'Files',
797
+ 'ws.schema': 'Schema',
798
+ 'ws.object_type': 'Object type',
799
+ 'ws.search_objects': 'Search objects',
800
+ 'ws.refresh': 'Refresh',
801
+ 'ws.sql_scripts': '(SQL Scripts)',
802
+ 'ws.no_scripts': 'No scripts yet: Save a worksheet to make one.',
803
+ 'ws.resize_nav': 'Resize the navigator',
804
+ 'ws.worksheet': 'Worksheet',
805
+ 'ws.toggle_nav': 'Hide or show the navigator',
806
+ 'ws.file.menu': 'Save, open, rename or download the worksheet (Ctrl+S saves)',
807
+ 'ws.untitled': 'Untitled',
808
+ 'ws.name': 'Name',
809
+ 'ws.save_title': 'Save (Ctrl+S)',
810
+ 'ws.save_as': 'Save as new',
811
+ 'ws.rename': 'Rename',
812
+ 'ws.new': 'New',
813
+ 'ws.open_file': 'Open…',
814
+ 'ws.pin_title': 'Pin this worksheet to the SQL Workshop home',
815
+ 'ws.pin': 'Pin',
816
+ 'ws.run_statement': 'Run Statement',
817
+ 'ws.run_script': 'Run Script',
818
+ 'ws.continue': 'Continue on error',
819
+ 'ws.format': 'Format',
820
+ 'ws.format_title': 'Format (Ctrl+F7)',
821
+ 'ws.case_title': 'Convert case of the selection (Ctrl+B)',
822
+ 'ws.case': 'Convert case',
823
+ 'ws.find_title': 'Find and replace (Ctrl+F, Ctrl+H)',
824
+ 'ws.find': 'Find',
825
+ 'ws.load_title': 'Load data into a table',
826
+ 'ws.load': 'Load data',
827
+ 'ws.keys': 'Keyboard shortcuts',
828
+ 'ws.key.save': 'Save',
829
+ 'ws.key.find': 'Find / replace',
830
+ 'ws.key.goto': 'Go to line',
831
+ 'ws.key.comment': 'Comment the lines',
832
+ 'ws.key.suggest': 'Suggestions',
833
+ 'ws.key.help': 'Help',
834
+ 'ws.key.fullscreen': 'Leave fullscreen',
835
+ 'ws.kwcase': 'Format keywords in',
836
+ 'ws.lower': 'lower case',
837
+ 'ws.upper': 'UPPER CASE',
838
+ 'ws.help': 'Help on the SQL Worksheet',
839
+ 'ws.commit_label': 'Commit',
840
+ 'ws.txn.mode_title': 'Autocommit: each statement commits on its own. Transaction: the statements stay in one transaction until Commit or Rollback.',
841
+ 'ws.autocommit': 'Autocommit',
842
+ 'ws.transaction': 'Transaction',
843
+ 'ws.txn.runs_as_title': 'Runs as {who}',
844
+ 'ws.txn.commit_title': "Commit the worksheet's transaction",
845
+ 'ws.txn.rollback_title': "Roll back the worksheet's transaction",
846
+ 'ws.rollback': 'Rollback',
847
+ 'ws.run_as': 'Run as',
848
+ 'ws.run_as_title': 'Who the statements run as',
849
+ 'ws.owner_conn': 'Owner connection',
850
+ 'ws.ws_login': 'Workspace login',
851
+ 'ws.clear_title': 'Clear the editor',
852
+ 'ws.clear': 'Clear',
853
+ 'ws.fullscreen_title': 'Fullscreen (Escape leaves)',
854
+ 'ws.fullscreen': 'Fullscreen',
855
+ 'ws.runs_as': 'Runs as {who}',
856
+ 'ws.search_path': '{schema} first in the search path ({change})',
857
+ 'ws.change': 'change',
858
+ 'ws.commit.txn': 'The statements stay in one transaction until Commit or Rollback; it is rolled back after {idle} without a run.',
859
+ 'ws.commit.auto': 'Each statement commits on its own.',
860
+ 'ws.worksheets': 'Worksheets',
861
+ 'ws.replace_with': 'Replace with',
862
+ 'ws.regex': 'Regex',
863
+ 'ws.match_case': 'Match case',
864
+ 'ws.next': 'Next',
865
+ 'ws.replace': 'Replace',
866
+ 'ws.replace_all': 'Replace all',
867
+ 'ws.line_ph': 'Line',
868
+ 'ws.close_esc': 'Close (Escape)',
869
+ 'ws.resize_out': 'Resize the output',
870
+ 'ws.output': 'Output',
871
+ 'js.ws.copied': '{what} copied.',
872
+ 'js.ws.no_copy': 'Copying is not allowed here.',
873
+ 'js.ws.the_statement': 'The statement',
874
+ 'js.ws.rows': '{n} rows',
875
+ 'js.ws.untitled': 'Untitled {n}',
876
+ 'js.ws.script': 'Script “{name}”',
877
+ 'js.ws.unsaved': '(unsaved changes)',
878
+ 'js.ws.not_saved': 'Not saved as a script',
879
+ 'js.ws.close_tab': 'Close {name}',
880
+ 'js.ws.new_tab': 'New worksheet',
881
+ 'js.ws.close_unsaved': 'Close “{name}” without saving?',
882
+ 'js.ws.txn_unknown': 'Transaction state unknown',
883
+ 'js.ws.txn_not_ended': 'The transaction could not be ended: reload the page.',
884
+ 'js.ws.txn_confirm': 'Switching to Autocommit rolls back the open transaction. Roll it back?',
885
+ 'js.ws.formatted': 'Formatted.',
886
+ 'js.ws.format_failed': 'Formatting failed.',
887
+ 'js.ws.bad_pattern': 'Not a valid pattern: {error}',
888
+ 'js.ws.not_found': 'Not found.',
889
+ 'js.ws.open_ob': 'Open in the Object Browser',
890
+ 'js.ws.close': 'Close',
891
+ 'js.ws.open_failed': 'The object could not be opened.',
892
+ 'js.ws.replaced': '{n} replaced.',
893
+ // ------------------------------------------------------------ SQL Worksheet, the browser's transaction texts (sprint 123)
894
+ 'js.ws.close_txn': '“{name}” has an open transaction. Close it and roll the transaction back?',
895
+ 'js.ws.commit_txn': 'The statements stay in one transaction until Commit or Rollback; it is rolled back after {idle} without a run.',
896
+ 'js.ws.commit_auto': 'Each statement commits on its own.',
897
+ 'js.ws.idle_seconds': '{n} seconds',
898
+ 'js.ws.idle_minute': '{n} minute',
899
+ 'js.ws.idle_minutes': '{n} minutes',
900
+ 'js.ws.txn_none': 'No open transaction',
901
+ 'js.ws.txn_failed': 'Transaction failed',
902
+ 'js.ws.txn_open': 'Transaction open',
903
+ 'js.ws.stmt_one': '{n} statement',
904
+ 'js.ws.stmt': '{n} statements',
905
+ 'js.ws.under_minute': 'under a minute',
906
+ 'js.ws.min': '{n} min',
907
+ // ------------------------------------------------------------ Object Browser (sprint 123)
908
+ 'ob.title': 'Object Browser',
909
+ 'ob.tab.columns': 'Columns',
910
+ 'ob.tab.data': 'Data',
911
+ 'ob.tab.indexes': 'Indexes',
912
+ 'ob.tab.constraints': 'Constraints',
913
+ 'ob.tab.triggers': 'Triggers',
914
+ 'ob.tab.grants': 'Grants',
915
+ 'ob.tab.rls': 'Row level security',
916
+ 'ob.tab.dependencies': 'Dependencies',
917
+ 'ob.tab.statistics': 'Statistics',
918
+ 'ob.tab.ddl': 'DDL',
919
+ 'ob.filter_label': 'Filter objects',
920
+ 'ob.filter': 'Filter',
921
+ 'ob.extension': 'extension',
922
+ 'ob.no_schema': 'No schema you may use.',
923
+ 'ob.create_in': 'Create database objects in {schema}',
924
+ 'ob.tile.table_form': 'Table (form)',
925
+ 'ob.tile.table_form.desc': 'Columns, keys, indexes and security in a form',
926
+ 'ob.kind.table': 'Table',
927
+ 'ob.kind.view': 'View',
928
+ 'ob.kind.function': 'Function',
929
+ 'ob.kind.sequence': 'Sequence',
930
+ 'ob.kind.index': 'Index',
931
+ 'ob.tile.start': 'Start a CREATE {what} statement',
932
+ 'ob.tile.quick': 'Quick SQL',
933
+ 'ob.tile.quick.desc': 'A data model in shorthand',
934
+ 'ob.tile.load': 'Load data',
935
+ 'ob.tile.load.desc': 'A table from a file',
936
+ 'ob.select_hint': 'Select an object in the tree, or filter it by name.',
937
+ 'ob.schema': 'Schema',
938
+ 'ob.system': 'Show system objects',
939
+ 'ob.create': 'Create',
940
+ 'ob.db_objects': 'Database objects',
941
+ 'ob.err.table': 'Choose a table you may use.',
942
+ 'ob.err.col_name': 'A column name is a letter or _ followed by letters, digits, _ or $.',
943
+ 'ob.err.col_exists': '{column} is a column already.',
944
+ 'ob.err.type': 'A type is a name with an optional size, e.g. text, numeric(9,2), varchar(40), int[].',
945
+ 'ob.err.choose_col': 'Choose a column of the table.',
946
+ 'ob.err.new_name': "The new name must be a valid name that the table doesn't have yet.",
947
+ 'ob.err.default': "A default is one expression (at most 200 characters, without ; or comments), e.g. now(), 0 or 'new'.",
948
+ 'ob.err.nothing': 'Nothing to change: choose a new type, nulls or a default.',
949
+ 'ob.err.action': 'Unknown action.',
950
+ 'ob.review': 'Review the statement and press Run: nothing has been changed yet.',
951
+ 'ob.none': 'None.',
952
+ 'ob.ddl_of': 'DDL of {name}',
953
+ 'ob.no_ddl': "No DDL (an extension's object, or not readable with this connection).",
954
+ 'ob.source_of': 'Source of {name}',
955
+ 'ob.no_source': 'An aggregate or window function: no source.',
956
+ 'ob.definition_of': 'Definition of {name}',
957
+ 'ob.size': 'Size: {size}',
958
+ 'ob.more': 'More',
959
+ 'ob.column': 'Column',
960
+ 'ob.add_col': 'Add column',
961
+ 'ob.name': 'Name',
962
+ 'ob.type': 'Type',
963
+ 'ob.show_sql': 'Show the SQL',
964
+ 'ob.modify_col': 'Modify column',
965
+ 'ob.new_type': 'New type',
966
+ 'ob.the_same': 'the same',
967
+ 'ob.nulls': 'Nulls',
968
+ 'ob.allowed': 'allowed',
969
+ 'ob.default': 'Default',
970
+ 'ob.set_to': 'set to',
971
+ 'ob.default_none': 'none',
972
+ 'ob.default_expr': 'Default expression',
973
+ 'ob.rename_col': 'Rename column',
974
+ 'ob.new_name': 'New name',
975
+ 'ob.new_name_ph': 'new name',
976
+ 'ob.drop_col': 'Drop column',
977
+ 'ob.toolbar_note': 'Each writes the ALTER TABLE statement into the SQL Worksheet: review it there and run it.',
978
+ 'ob.no_rows': 'No rows.',
979
+ 'ob.pages': 'Pages',
980
+ 'ob.previous': '‹ Previous',
981
+ 'ob.next': 'Next ›',
982
+ 'ob.rows_range': 'Rows {from}–{to}',
983
+ 'ob.change_rows': 'To change rows, use the SQL Worksheet, or an interactive grid on the table in an application.',
984
+ 'ob.rls_on': 'Row level security is on',
985
+ 'ob.rls_forced': '(forced for the owner too)',
986
+ 'ob.rls_off': 'Row level security is off.',
987
+ 'ob.no_policies': 'No policies.',
988
+ 'ob.used_by': 'Used by',
989
+ 'ob.nothing_refers': 'Nothing refers to it.',
990
+ 'ob.uses': 'Uses',
991
+ 'ob.refers_nothing': 'It refers to nothing else.',
992
+ 'ob.edit_table': 'Edit table',
993
+ 'ob.security': 'Security',
994
+ // ------------------------------------------------------------ Table Properties (sprint 123)
995
+ 'te.move_up': 'Move up',
996
+ 'te.move_down': 'Move down',
997
+ 'te.name': 'Name',
998
+ 'te.type': 'Type',
999
+ 'te.key': 'Key',
1000
+ 'te.pk': 'Primary key',
1001
+ 'te.not_null': 'Not null',
1002
+ 'te.generated': 'Generated (stored)',
1003
+ 'te.default': 'Default',
1004
+ 'te.identity': 'Identity',
1005
+ 'te.comment': 'Comment',
1006
+ 'te.remove': 'Remove',
1007
+ 'te.columns': 'Columns',
1008
+ 'te.add_col': 'Add column',
1009
+ 'te.pk_name': 'Primary key name',
1010
+ 'te.pk_help': 'Tick Key on the columns of the primary key.',
1011
+ 'te.uniques': 'Unique keys',
1012
+ 'te.cols_comma': 'Columns (comma-separated)',
1013
+ 'te.fks': 'Foreign keys',
1014
+ 'te.references': 'References',
1015
+ 'te.their_cols': 'Their columns',
1016
+ 'te.its_pk': 'its primary key',
1017
+ 'te.on_delete': 'On delete',
1018
+ 'te.checks': 'Checks',
1019
+ 'te.condition': 'Condition',
1020
+ 'te.indexes': 'Indexes',
1021
+ 'te.cols_exprs': 'Columns or expressions',
1022
+ 'te.unique': 'Unique',
1023
+ 'te.kept': 'Kept as they are (another method or a condition):',
1024
+ 'te.more': 'Comment and security',
1025
+ 'te.rls': 'Row level security: rows only through policies',
1026
+ 'te.force_rls': "Force it for the table's owner too",
1027
+ 'te.partitioning': 'Partitioning',
1028
+ 'te.partition_by': 'Partition by',
1029
+ 'te.not_partitioned': 'Not partitioned',
1030
+ 'te.part_help': 'The partitions themselves are tables made with CREATE TABLE … PARTITION OF in the worksheet.',
1031
+ 'te.no_changes': 'No changes yet: the table is as the form shows it.',
1032
+ 'te.fill_in': 'Fill in the table and press Preview DDL.',
1033
+ 'te.output': 'Output',
1034
+ 'te.output_empty': 'Apply shows what happened here.',
1035
+ 'te.schema': 'Schema',
1036
+ 'te.table_name': 'Table name',
1037
+ 'te.props': 'Table properties',
1038
+ 'te.preview': 'Preview DDL',
1039
+ 'te.apply': 'Apply',
1040
+ 'te.open_ws': 'Open in the worksheet',
1041
+ 'te.review': 'Review the statements and run them: nothing has been changed yet.',
1042
+ 'te.changed': 'Changed {table}: {what}.',
1043
+ 'te.created': 'Created {table}: {what}.',
1044
+ 'te.nothing_changed': 'Nothing was changed',
1045
+ 'te.rolled_back': 'the statements ran in one transaction, which was rolled back.',
1046
+ 'te.failed_stmt': 'Failed statement',
1047
+ 'te.title_table': 'Table {table}',
1048
+ 'te.title_create': 'Create table',
678
1049
  } as const;