Commit ac1abd5b authored by Victor Ananjevsky's avatar Victor Ananjevsky

reorganize schema

parent 745ad721
<schemalist> <schemalist>
<enum id="yad.homend">
<value nick="never" value="0"/>
<value nick="before" value="1"/>
<value nick="after" value="2"/>
<value nick="always" value="3"/>
</enum>
<schema id="yad.settings" path="/yad/settings/" gettext-domain="yad"> <schema id="yad.settings" path="/yad/settings/" gettext-domain="yad">
<key name="width" type="i"> <key name="width" type="i">
<default>-1</default> <default>-1</default>
...@@ -36,14 +44,6 @@ ...@@ -36,14 +44,6 @@
<default>'blue'</default> <default>'blue'</default>
<_summary>Default color for URI in text-info dialog</_summary> <_summary>Default color for URI in text-info dialog</_summary>
</key> </key>
<key name="mark1-color" type="s">
<default>'lightgreen'</default>
<_summary>Default color for first type of text marks in text-info dialog</_summary>
</key>
<key name="mark2-color" type="s">
<default>'pink'</default>
<_summary>Default color for second type of text marks in text-info dialog</_summary>
</key>
<key name="max-tab" type="i"> <key name="max-tab" type="i">
<default>100</default> <default>100</default>
<_summary>Maximum number of tabs in notebook dialog</_summary> <_summary>Maximum number of tabs in notebook dialog</_summary>
...@@ -61,5 +61,64 @@ ...@@ -61,5 +61,64 @@
<_summary>Enable debug mode with information about deprecated features</_summary> <_summary>Enable debug mode with information about deprecated features</_summary>
</key> </key>
</schema> </schema>
</schemalist>
<schema id="yad.sourceview" path="/yad/sourceview/" gettext-domain="yad">
<key name="theme" type="s">
<default>''</default>
<_summary>Default color theme for text-info dialog</_summary>
</key>
<key name="line-num" type="b">
<default>false</default>
<_summary>Show line numbers</_summary>
</key>
<key name="line-hl" type="b">
<default>false</default>
<_summary>Highlight current line</_summary>
</key>
<key name="line-marks" type="b">
<default>false</default>
<_summary>Enable line marks mode</_summary>
</key>
<key name="mark1-color" type="s">
<default>'lightgreen'</default>
<_summary>Default color for first type of text marks in text-info dialog</_summary>
</key>
<key name="mark2-color" type="s">
<default>'pink'</default>
<_summary>Default color for second type of text marks in text-info dialog</_summary>
</key>
<key name="right-margin" type="i">
<default>0</default>
<_summary>Set right margin at position</_summary>
</key>
<key name="brackets" type="b">
<default>false</default>
<_summary>Highlight matching brackets</_summary>
</key>
<key name="indent" type="b">
<default>false</default>
<_summary>Use autoindent</_summary>
</key>
<key name="homend" enum="yad.homend">
<default>'after'</default>
<_summary>Smart Home/End behavior</_summary>
</key>
<key name="tab-width" type="i">
<default>8</default>
<_summary>Default tabulation width</_summary>
</key>
<key name="indent-width" type="i">
<default>4</default>
<_summary>Default indentation width</_summary>
</key>
<key name="spaces" type="b">
<default>false</default>
<_summary>Show space characters</_summary>
</key>
<key name="ins-spaces" type="b">
<default>true</default>
<_summary>Insert spaces instead of tabs</_summary>
</key>
</schema>
</schemalist>
...@@ -7,7 +7,7 @@ msgid "" ...@@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: YAD\n" "Project-Id-Version: YAD\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-04-16 12:41+0300\n" "POT-Creation-Date: 2021-04-16 14:47+0300\n"
"PO-Revision-Date: 2009-04-30 16:47+0300\n" "PO-Revision-Date: 2009-04-30 16:47+0300\n"
"Last-Translator: Victor Ananjevsky <ananasik@gmail.com>\n" "Last-Translator: Victor Ananjevsky <ananasik@gmail.com>\n"
"Language-Team: \n" "Language-Team: \n"
...@@ -1372,11 +1372,11 @@ msgstr "ЯЗЫК" ...@@ -1372,11 +1372,11 @@ msgstr "ЯЗЫК"
msgid "Use specified theme" msgid "Use specified theme"
msgstr "Использовать указанную тему" msgstr "Использовать указанную тему"
#: ../src/option.c:668 #: ../src/option.c:668 ../data/yad.gschema.xml.in.h:17
msgid "Show line numbers" msgid "Show line numbers"
msgstr "Показывать номера строк" msgstr "Показывать номера строк"
#: ../src/option.c:670 #: ../src/option.c:670 ../data/yad.gschema.xml.in.h:18
msgid "Highlight current line" msgid "Highlight current line"
msgstr "Подсвечивать текущую строку" msgstr "Подсвечивать текущую строку"
...@@ -2127,25 +2127,65 @@ msgid "Default color for URI in text-info dialog" ...@@ -2127,25 +2127,65 @@ msgid "Default color for URI in text-info dialog"
msgstr "Цвет ссылок по умолчанию в текстовом диалоге" msgstr "Цвет ссылок по умолчанию в текстовом диалоге"
#: ../data/yad.gschema.xml.in.h:12 #: ../data/yad.gschema.xml.in.h:12
msgid "Default color for first type of text marks in text-info dialog"
msgstr "Цвет для меток первого типа в текстовом диалоге"
#: ../data/yad.gschema.xml.in.h:13
msgid "Default color for second type of text marks in text-info dialog"
msgstr "Цвет для меток второго типа в текстовом диалоге"
#: ../data/yad.gschema.xml.in.h:14
msgid "Maximum number of tabs in notebook dialog" msgid "Maximum number of tabs in notebook dialog"
msgstr "Максимальное количество вкладок в диалоге" msgstr "Максимальное количество вкладок в диалоге"
#: ../data/yad.gschema.xml.in.h:15 #: ../data/yad.gschema.xml.in.h:13
msgid "Use large previews in file selection dialogs" msgid "Use large previews in file selection dialogs"
msgstr "Использовать крупный размер при предпросмотре в диалогах выбора файлов" msgstr "Использовать крупный размер при предпросмотре в диалогах выбора файлов"
#: ../data/yad.gschema.xml.in.h:16 #: ../data/yad.gschema.xml.in.h:14
msgid "Ignore unknown command-line options" msgid "Ignore unknown command-line options"
msgstr "Игнорировать неизвестные арументы в командной строке" msgstr "Игнорировать неизвестные арументы в командной строке"
#: ../data/yad.gschema.xml.in.h:17 #: ../data/yad.gschema.xml.in.h:15
msgid "Enable debug mode with information about deprecated features" msgid "Enable debug mode with information about deprecated features"
msgstr "Разрешить режим отладки с информированием об устаревших функциях" msgstr "Разрешить режим отладки с информированием об устаревших функциях"
#: ../data/yad.gschema.xml.in.h:16
msgid "Default color theme for text-info dialog"
msgstr "Цветовая тема по умолчанию в текстовом диалоге"
#: ../data/yad.gschema.xml.in.h:19
msgid "Enable line marks mode"
msgstr "Разрешить пометки строк"
#: ../data/yad.gschema.xml.in.h:20
msgid "Default color for first type of text marks in text-info dialog"
msgstr "Цвет для меток первого типа в текстовом диалоге"
#: ../data/yad.gschema.xml.in.h:21
msgid "Default color for second type of text marks in text-info dialog"
msgstr "Цвет для меток второго типа в текстовом диалоге"
#: ../data/yad.gschema.xml.in.h:22
msgid "Set right margin at position"
msgstr "Установить правую границу в позиции"
#: ../data/yad.gschema.xml.in.h:23
msgid "Highlight matching brackets"
msgstr "Подсвечивать парные скобки"
#: ../data/yad.gschema.xml.in.h:24
msgid "Use autoindent"
msgstr "Использовать автовыравнивание"
#: ../data/yad.gschema.xml.in.h:25
msgid "Smart Home/End behavior"
msgstr "Поведение умных клавиш Home/End"
#: ../data/yad.gschema.xml.in.h:26
msgid "Default tabulation width"
msgstr "Ширина табуляции по умолчанию"
#: ../data/yad.gschema.xml.in.h:27
msgid "Default indentation width"
msgstr "Ширина выравнивания по умолчанию"
#: ../data/yad.gschema.xml.in.h:28
msgid "Show space characters"
msgstr "Отображать пробельные символы"
#: ../data/yad.gschema.xml.in.h:29
msgid "Insert spaces instead of tabs"
msgstr "Вставлять пробелы вместо табуляции"
...@@ -7,7 +7,7 @@ msgid "" ...@@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: YAD\n" "Project-Id-Version: YAD\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-04-16 12:41+0300\n" "POT-Creation-Date: 2021-04-16 14:47+0300\n"
"PO-Revision-Date: 2009-04-30 16:47+0300\n" "PO-Revision-Date: 2009-04-30 16:47+0300\n"
"Last-Translator: Victor Ananjevsky <ananasik@gmail.com>\n" "Last-Translator: Victor Ananjevsky <ananasik@gmail.com>\n"
"Language-Team: \n" "Language-Team: \n"
...@@ -1378,11 +1378,11 @@ msgstr "МОВА" ...@@ -1378,11 +1378,11 @@ msgstr "МОВА"
msgid "Use specified theme" msgid "Use specified theme"
msgstr "Використовувати вказану тему" msgstr "Використовувати вказану тему"
#: ../src/option.c:668 #: ../src/option.c:668 ../data/yad.gschema.xml.in.h:17
msgid "Show line numbers" msgid "Show line numbers"
msgstr "Відображати номера строк" msgstr "Відображати номера строк"
#: ../src/option.c:670 #: ../src/option.c:670 ../data/yad.gschema.xml.in.h:18
msgid "Highlight current line" msgid "Highlight current line"
msgstr "Виділяти активну строку" msgstr "Виділяти активну строку"
...@@ -2132,30 +2132,67 @@ msgid "Default color for URI in text-info dialog" ...@@ -2132,30 +2132,67 @@ msgid "Default color for URI in text-info dialog"
msgstr "Колір посилань у текстовому діалозі за умовчанням" msgstr "Колір посилань у текстовому діалозі за умовчанням"
#: ../data/yad.gschema.xml.in.h:12 #: ../data/yad.gschema.xml.in.h:12
msgid "Default color for first type of text marks in text-info dialog"
msgstr "Колір позначок першого типу у текстовому діалозі за умовчанням"
#: ../data/yad.gschema.xml.in.h:13
msgid "Default color for second type of text marks in text-info dialog"
msgstr "Колір позначок другого типу у текстовому діалозі за умовчанням"
#: ../data/yad.gschema.xml.in.h:14
msgid "Maximum number of tabs in notebook dialog" msgid "Maximum number of tabs in notebook dialog"
msgstr "Максимальна кількість вкладинок у діалозі" msgstr "Максимальна кількість вкладинок у діалозі"
#: ../data/yad.gschema.xml.in.h:15 #: ../data/yad.gschema.xml.in.h:13
msgid "Use large previews in file selection dialogs" msgid "Use large previews in file selection dialogs"
msgstr "" msgstr ""
"Використовувати крупний розмір зображень попереднього перегляду у діалогах " "Використовувати крупний розмір зображень попереднього перегляду у діалогах "
"вибору файла" "вибору файла"
#: ../data/yad.gschema.xml.in.h:16 #: ../data/yad.gschema.xml.in.h:14
msgid "Ignore unknown command-line options" msgid "Ignore unknown command-line options"
msgstr "Ігнорувати невідомі аргументи" msgstr "Ігнорувати невідомі аргументи"
#: ../data/yad.gschema.xml.in.h:17 #: ../data/yad.gschema.xml.in.h:15
msgid "Enable debug mode with information about deprecated features" msgid "Enable debug mode with information about deprecated features"
msgstr "Дозволити режим налагодження з інформуванням про застарілі функції" msgstr "Дозволити режим налагодження з інформуванням про застарілі функції"
#~ msgid "FONT" #: ../data/yad.gschema.xml.in.h:16
#~ msgstr "НАЗВА_ШРИФТУ" msgid "Default color theme for text-info dialog"
msgstr "Кольорова тема у текстовому діалозі за умовчанням"
#: ../data/yad.gschema.xml.in.h:19
msgid "Enable line marks mode"
msgstr "Дозволити режим позначки строк"
#: ../data/yad.gschema.xml.in.h:20
msgid "Default color for first type of text marks in text-info dialog"
msgstr "Колір позначок першого типу у текстовому діалозі за умовчанням"
#: ../data/yad.gschema.xml.in.h:21
msgid "Default color for second type of text marks in text-info dialog"
msgstr "Колір позначок другого типу у текстовому діалозі за умовчанням"
#: ../data/yad.gschema.xml.in.h:22
msgid "Set right margin at position"
msgstr "Встановити праву межу у позиції"
#: ../data/yad.gschema.xml.in.h:23
msgid "Highlight matching brackets"
msgstr "Виділяти відповідні дужки"
#: ../data/yad.gschema.xml.in.h:24
msgid "Use autoindent"
msgstr "Використовувати автовирівнювання"
#: ../data/yad.gschema.xml.in.h:25
msgid "Smart Home/End behavior"
msgstr "Поведінка розумного Home/End"
#: ../data/yad.gschema.xml.in.h:26
msgid "Default tabulation width"
msgstr "Ширина табуляції за замовчанням"
#: ../data/yad.gschema.xml.in.h:27
msgid "Default indentation width"
msgstr "Ширина вирівнювання за замовчанням"
#: ../data/yad.gschema.xml.in.h:28
msgid "Show space characters"
msgstr "Відображати пробельні сімволи"
#: ../data/yad.gschema.xml.in.h:29
msgid "Insert spaces instead of tabs"
msgstr "Вставляти пробіл замість табуляції"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment