Skip to content

Commit 9a30e6c

Browse files
committed
Don't translate PRAGMAs in the UI editor
This disables translation for PRAGMA names and values in the Edit Pragma tab. The values must not be translated when using the current implementation because they are used as shown for reading and writing the PRAGMA values. The names could be translated but probably should not be because they are more fixed name than description of their function. See issue #1489.
1 parent 2f1a012 commit 9a30e6c

File tree

1 file changed

+34
-34
lines changed

1 file changed

+34
-34
lines changed

src/MainWindow.ui

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ You can drag SQL statements from an object row and drop them into other applicat
407407
<item row="0" column="0">
408408
<widget class="QLabel" name="labelPragmaAutoVacuum">
409409
<property name="text">
410-
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;a href=&quot;http://www.sqlite.org/pragma.html#pragma_auto_vacuum&quot;&gt;Auto Vacuum&lt;/a&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
410+
<string notr="true">&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;a href=&quot;http://www.sqlite.org/pragma.html#pragma_auto_vacuum&quot;&gt;Auto Vacuum&lt;/a&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
411411
</property>
412412
<property name="openExternalLinks">
413413
<bool>true</bool>
@@ -424,25 +424,25 @@ You can drag SQL statements from an object row and drop them into other applicat
424424
<widget class="QComboBox" name="comboboxPragmaAutoVacuum">
425425
<item>
426426
<property name="text">
427-
<string>None</string>
427+
<string notr="true">None</string>
428428
</property>
429429
</item>
430430
<item>
431431
<property name="text">
432-
<string>Full</string>
432+
<string notr="true">Full</string>
433433
</property>
434434
</item>
435435
<item>
436436
<property name="text">
437-
<string>Incremental</string>
437+
<string notr="true">Incremental</string>
438438
</property>
439439
</item>
440440
</widget>
441441
</item>
442442
<item row="1" column="0">
443443
<widget class="QLabel" name="labelPragmaAutomaticIndex">
444444
<property name="text">
445-
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;a href=&quot;http://www.sqlite.org/pragma.html#pragma_automatic_index&quot;&gt;Automatic Index&lt;/a&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
445+
<string notr="true">&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;a href=&quot;http://www.sqlite.org/pragma.html#pragma_automatic_index&quot;&gt;Automatic Index&lt;/a&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
446446
</property>
447447
<property name="openExternalLinks">
448448
<bool>true</bool>
@@ -462,7 +462,7 @@ You can drag SQL statements from an object row and drop them into other applicat
462462
<item row="2" column="0">
463463
<widget class="QLabel" name="labelPragmaCheckpointFullFsync">
464464
<property name="text">
465-
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;a href=&quot;http://www.sqlite.org/pragma.html#pragma_checkpoint_fullfsync&quot;&gt;Checkpoint Full FSYNC&lt;/a&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
465+
<string notr="true">&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;a href=&quot;http://www.sqlite.org/pragma.html#pragma_checkpoint_fullfsync&quot;&gt;Checkpoint Full FSYNC&lt;/a&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
466466
</property>
467467
<property name="openExternalLinks">
468468
<bool>true</bool>
@@ -482,7 +482,7 @@ You can drag SQL statements from an object row and drop them into other applicat
482482
<item row="3" column="0">
483483
<widget class="QLabel" name="labelPragmaForeignKeys">
484484
<property name="text">
485-
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;a href=&quot;http://www.sqlite.org/pragma.html#pragma_foreign_keys&quot;&gt;Foreign Keys&lt;/a&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
485+
<string notr="true">&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;a href=&quot;http://www.sqlite.org/pragma.html#pragma_foreign_keys&quot;&gt;Foreign Keys&lt;/a&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
486486
</property>
487487
<property name="openExternalLinks">
488488
<bool>true</bool>
@@ -502,7 +502,7 @@ You can drag SQL statements from an object row and drop them into other applicat
502502
<item row="4" column="0">
503503
<widget class="QLabel" name="labelPragmaFullFsync">
504504
<property name="text">
505-
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;a href=&quot;http://www.sqlite.org/pragma.html#pragma_fullfsync&quot;&gt;Full FSYNC&lt;/a&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
505+
<string notr="true">&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;a href=&quot;http://www.sqlite.org/pragma.html#pragma_fullfsync&quot;&gt;Full FSYNC&lt;/a&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
506506
</property>
507507
<property name="openExternalLinks">
508508
<bool>true</bool>
@@ -522,7 +522,7 @@ You can drag SQL statements from an object row and drop them into other applicat
522522
<item row="5" column="0">
523523
<widget class="QLabel" name="labelPragmaIgnoreCheckConstraints">
524524
<property name="text">
525-
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;a href=&quot;http://www.sqlite.org/pragma.html#pragma_ignore_check_constraints&quot;&gt;Ignore Check Constraints&lt;/a&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
525+
<string notr="true">&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;a href=&quot;http://www.sqlite.org/pragma.html#pragma_ignore_check_constraints&quot;&gt;Ignore Check Constraints&lt;/a&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
526526
</property>
527527
<property name="openExternalLinks">
528528
<bool>true</bool>
@@ -542,7 +542,7 @@ You can drag SQL statements from an object row and drop them into other applicat
542542
<item row="6" column="0">
543543
<widget class="QLabel" name="labelPragmaJournalMode">
544544
<property name="text">
545-
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;a href=&quot;http://www.sqlite.org/pragma.html#pragma_journal_mode&quot;&gt;Journal Mode&lt;/a&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
545+
<string notr="true">&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;a href=&quot;http://www.sqlite.org/pragma.html#pragma_journal_mode&quot;&gt;Journal Mode&lt;/a&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
546546
</property>
547547
<property name="openExternalLinks">
548548
<bool>true</bool>
@@ -556,40 +556,40 @@ You can drag SQL statements from an object row and drop them into other applicat
556556
<widget class="QComboBox" name="comboboxPragmaJournalMode">
557557
<item>
558558
<property name="text">
559-
<string>Delete</string>
559+
<string notr="true">Delete</string>
560560
</property>
561561
</item>
562562
<item>
563563
<property name="text">
564-
<string>Truncate</string>
564+
<string notr="true">Truncate</string>
565565
</property>
566566
</item>
567567
<item>
568568
<property name="text">
569-
<string>Persist</string>
569+
<string notr="true">Persist</string>
570570
</property>
571571
</item>
572572
<item>
573573
<property name="text">
574-
<string>Memory</string>
574+
<string notr="true">Memory</string>
575575
</property>
576576
</item>
577577
<item>
578578
<property name="text">
579-
<string>WAL</string>
579+
<string notr="true">WAL</string>
580580
</property>
581581
</item>
582582
<item>
583583
<property name="text">
584-
<string>Off</string>
584+
<string notr="true">Off</string>
585585
</property>
586586
</item>
587587
</widget>
588588
</item>
589589
<item row="7" column="0">
590590
<widget class="QLabel" name="labelJournalSizeLimit">
591591
<property name="text">
592-
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;a href=&quot;http://www.sqlite.org/pragma.html#pragma_journal_size_limit&quot;&gt;Journal Size Limit&lt;/a&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
592+
<string notr="true">&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;a href=&quot;http://www.sqlite.org/pragma.html#pragma_journal_size_limit&quot;&gt;Journal Size Limit&lt;/a&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
593593
</property>
594594
<property name="openExternalLinks">
595595
<bool>true</bool>
@@ -612,7 +612,7 @@ You can drag SQL statements from an object row and drop them into other applicat
612612
<item row="8" column="0">
613613
<widget class="QLabel" name="labelPragmaLockingMode">
614614
<property name="text">
615-
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;a href=&quot;http://www.sqlite.org/pragma.html#pragma_locking_mode&quot;&gt;Locking Mode&lt;/a&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
615+
<string notr="true">&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;a href=&quot;http://www.sqlite.org/pragma.html#pragma_locking_mode&quot;&gt;Locking Mode&lt;/a&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
616616
</property>
617617
<property name="openExternalLinks">
618618
<bool>true</bool>
@@ -626,20 +626,20 @@ You can drag SQL statements from an object row and drop them into other applicat
626626
<widget class="QComboBox" name="comboboxPragmaLockingMode">
627627
<item>
628628
<property name="text">
629-
<string>Normal</string>
629+
<string notr="true">Normal</string>
630630
</property>
631631
</item>
632632
<item>
633633
<property name="text">
634-
<string>Exclusive</string>
634+
<string notr="true">Exclusive</string>
635635
</property>
636636
</item>
637637
</widget>
638638
</item>
639639
<item row="9" column="0">
640640
<widget class="QLabel" name="labelPragmaMaxPageCount">
641641
<property name="text">
642-
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;a href=&quot;http://www.sqlite.org/pragma.html#pragma_max_page_count&quot;&gt;Max Page Count&lt;/a&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
642+
<string notr="true">&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;a href=&quot;http://www.sqlite.org/pragma.html#pragma_max_page_count&quot;&gt;Max Page Count&lt;/a&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
643643
</property>
644644
<property name="openExternalLinks">
645645
<bool>true</bool>
@@ -659,7 +659,7 @@ You can drag SQL statements from an object row and drop them into other applicat
659659
<item row="10" column="0">
660660
<widget class="QLabel" name="labelPragmaPageSize">
661661
<property name="text">
662-
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;a href=&quot;http://www.sqlite.org/pragma.html#pragma_page_size&quot;&gt;Page Size&lt;/a&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
662+
<string notr="true">&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;a href=&quot;http://www.sqlite.org/pragma.html#pragma_page_size&quot;&gt;Page Size&lt;/a&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
663663
</property>
664664
<property name="openExternalLinks">
665665
<bool>true</bool>
@@ -682,7 +682,7 @@ You can drag SQL statements from an object row and drop them into other applicat
682682
<item row="11" column="0">
683683
<widget class="QLabel" name="labelPragmaRecursiveTriggers">
684684
<property name="text">
685-
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;a href=&quot;http://www.sqlite.org/pragma.html#pragma_recursive_triggers&quot;&gt;Recursive Triggers&lt;/a&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
685+
<string notr="true">&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;a href=&quot;http://www.sqlite.org/pragma.html#pragma_recursive_triggers&quot;&gt;Recursive Triggers&lt;/a&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
686686
</property>
687687
<property name="openExternalLinks">
688688
<bool>true</bool>
@@ -702,7 +702,7 @@ You can drag SQL statements from an object row and drop them into other applicat
702702
<item row="12" column="0">
703703
<widget class="QLabel" name="labelPragmaSecureDelete">
704704
<property name="text">
705-
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;a href=&quot;http://www.sqlite.org/pragma.html#pragma_secure_delete&quot;&gt;Secure Delete&lt;/a&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
705+
<string notr="true">&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;a href=&quot;http://www.sqlite.org/pragma.html#pragma_secure_delete&quot;&gt;Secure Delete&lt;/a&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
706706
</property>
707707
<property name="openExternalLinks">
708708
<bool>true</bool>
@@ -722,7 +722,7 @@ You can drag SQL statements from an object row and drop them into other applicat
722722
<item row="13" column="0">
723723
<widget class="QLabel" name="labelPragmaSynchronous">
724724
<property name="text">
725-
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;a href=&quot;http://www.sqlite.org/pragma.html#pragma_synchronous&quot;&gt;Synchronous&lt;/a&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
725+
<string notr="true">&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;a href=&quot;http://www.sqlite.org/pragma.html#pragma_synchronous&quot;&gt;Synchronous&lt;/a&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
726726
</property>
727727
<property name="openExternalLinks">
728728
<bool>true</bool>
@@ -736,25 +736,25 @@ You can drag SQL statements from an object row and drop them into other applicat
736736
<widget class="QComboBox" name="comboboxPragmaSynchronous">
737737
<item>
738738
<property name="text">
739-
<string>Off</string>
739+
<string notr="true">Off</string>
740740
</property>
741741
</item>
742742
<item>
743743
<property name="text">
744-
<string>Normal</string>
744+
<string notr="true">Normal</string>
745745
</property>
746746
</item>
747747
<item>
748748
<property name="text">
749-
<string>Full</string>
749+
<string notr="true">Full</string>
750750
</property>
751751
</item>
752752
</widget>
753753
</item>
754754
<item row="14" column="0">
755755
<widget class="QLabel" name="labelPragmaTempStore">
756756
<property name="text">
757-
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;a href=&quot;http://www.sqlite.org/pragma.html#pragma_temp_store&quot;&gt;Temp Store&lt;/a&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
757+
<string notr="true">&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;a href=&quot;http://www.sqlite.org/pragma.html#pragma_temp_store&quot;&gt;Temp Store&lt;/a&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
758758
</property>
759759
<property name="openExternalLinks">
760760
<bool>true</bool>
@@ -768,25 +768,25 @@ You can drag SQL statements from an object row and drop them into other applicat
768768
<widget class="QComboBox" name="comboboxPragmaTempStore">
769769
<item>
770770
<property name="text">
771-
<string>Default</string>
771+
<string notr="true">Default</string>
772772
</property>
773773
</item>
774774
<item>
775775
<property name="text">
776-
<string>File</string>
776+
<string notr="true">File</string>
777777
</property>
778778
</item>
779779
<item>
780780
<property name="text">
781-
<string>Memory</string>
781+
<string notr="true">Memory</string>
782782
</property>
783783
</item>
784784
</widget>
785785
</item>
786786
<item row="15" column="0">
787787
<widget class="QLabel" name="labelPragmaUserVersion">
788788
<property name="text">
789-
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;a href=&quot;http://www.sqlite.org/pragma.html#pragma_user_version&quot;&gt;User Version&lt;/a&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
789+
<string notr="true">&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;a href=&quot;http://www.sqlite.org/pragma.html#pragma_user_version&quot;&gt;User Version&lt;/a&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
790790
</property>
791791
<property name="openExternalLinks">
792792
<bool>true</bool>
@@ -806,7 +806,7 @@ You can drag SQL statements from an object row and drop them into other applicat
806806
<item row="16" column="0">
807807
<widget class="QLabel" name="labelPragmaWalAutoCheckpoint">
808808
<property name="text">
809-
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;a href=&quot;http://www.sqlite.org/pragma.html#pragma_wal_autocheckpoint&quot;&gt;WAL Auto Checkpoint&lt;/a&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
809+
<string notr="true">&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;a href=&quot;http://www.sqlite.org/pragma.html#pragma_wal_autocheckpoint&quot;&gt;WAL Auto Checkpoint&lt;/a&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
810810
</property>
811811
<property name="openExternalLinks">
812812
<bool>true</bool>

0 commit comments

Comments
 (0)