{"id":60,"date":"2016-12-31T16:57:36","date_gmt":"2016-12-31T13:57:36","guid":{"rendered":"http:\/\/sanana.kiev.ua\/?p=60"},"modified":"2016-12-31T16:58:23","modified_gmt":"2016-12-31T13:58:23","slug":"fvwm-%d0%b8-%d0%bf%d0%b5%d1%80%d0%b5%d0%b2%d0%be%d0%b4%d1%8b-gettext","status":"publish","type":"post","link":"https:\/\/sanana.kiev.ua\/index.php\/archives\/60","title":{"rendered":"FVWM \u0438 \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u044b gettext"},"content":{"rendered":"<p>\u0432 <strong>fvwm<\/strong> \u0435\u0441\u0442\u044c \u0445\u043e\u0440\u043e\u0448\u0430\u044f \u0448\u0442\u0443\u043a\u0430 &#8211; \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u0430\u044f \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 <strong>gettext<\/strong>. \u0432\u0441\u0435 \u0441\u0440\u043e\u043a\u0438 \u043e\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0435 \u043a\u0430\u043a <code>$[gt.String]<\/code> \u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0438\u043c\u044b\u043c\u0438. \u043e\u0434\u043d\u0430 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430, \u043a\u0430\u043a \u044d\u0442\u043e \u0432\u0441\u0435 \u0438\u0437\u0432\u043b\u0435\u0447\u044c \u0438 \u0437\u0430\u043f\u0438\u0445\u0430\u0442\u044c \u0432 .po \u0444\u0430\u0439\u043b. \u0440\u0443\u043a\u0430\u043c\u0438 &#8211; \u043d\u0435\u0441\u043f\u043e\u0440\u0442\u0438\u0432\u043d\u043e, \u043f\u0438\u0441\u0430\u0442\u044c \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u0443\u044e \u0442\u0443\u0437\u043b\u0438\u043d\u043a\u0443 &#8211; \u043a\u0430\u043a-\u0442\u043e \u0447\u0440\u0435\u0437\u043c\u0435\u0440\u043d\u043e. \u043d\u0430\u0438\u0431\u043e\u043b\u0435\u0435 \u043e\u043f\u0442\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 &#8211; \u0432\u043d\u0435\u0434\u0440\u0438\u0442\u044c \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0443 \u044d\u0442\u043e\u0433\u043e \u0434\u0435\u043b\u0430 \u0432 \u043a\u0430\u043a\u043e\u0439-\u043d\u0438\u0431\u0443\u0434\u044c \u0438\u0437 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0445 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u043e\u0432.<\/p>\n<p>\u044f \u0432\u044b\u0431\u0440\u0430\u043b \u043f\u0430\u043a\u0435\u0442 <a href=\"https:\/\/freedesktop.org\/wiki\/Software\/intltool\/\" target=\"_blank\">intltool<\/a>. \u0432\u0435\u0437\u0434\u0435 \u0435\u0433\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e, \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d \u043e\u043d \u043d\u0430 <em>perl<\/em>-\u0435, \u0447\u0442\u043e \u0432\u0435\u0441\u044c\u043c\u0430 \u043b\u0435\u043f\u043e, \u0438 \u0434\u043b\u044f \u043f\u043e\u0434\u043e\u0431\u043d\u044b\u0445 \u0437\u0430\u0434\u0430\u0447 \u0441\u0430\u043c\u043e\u0435 \u043e\u043d\u043e. \u043f\u0430\u0442\u0447\u0438\u043a \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0441\u044f \u043d\u0430 \u0443\u0434\u0438\u0432\u043b\u0435\u043d\u0438\u0435 \u043f\u0440\u043e\u0441\u0442\u0435\u043d\u044c\u043a\u0438\u043c<\/p>\n<p><!--more--><\/p>\n<pre style=\"color: #d0d0d0; background-color: #1c1c1c; font-size: 10pt; font-family: 'Courier New',monospace;\">diff -urNp intltool-0.51.0-orig\/doc\/intltool-extract.8 intltool-0.51.0\/doc\/intltool-extract.8\r\n<span style=\"color: #87de8c;\">--- intltool-0.51.0-orig\/doc\/intltool-extract.8\t2015-03-09 03:39:54.000000000 +0200<\/span>\r\n<span style=\"color: #87afdf;\">+++ intltool-0.51.0\/doc\/intltool-extract.8\t2016-12-30 07:53:53.464226270 +0200<\/span>\r\n@@ -56,6 +56,8 @@ Specify the type of source file. Current\r\n \"gettext\/xml\" (Generic XML file)\r\n .br\r\n \"gettext\/qtdesigner\" (Qt Designer .ui files)\r\n<span style=\"color: #87afdf;\">+.br<\/span>\r\n<span style=\"color: #87afdf;\">+\"gettext\/fvwm\" (FVWM config files)<\/span>\r\n .IP \"\\fB\\-v\\fR\" 4\r\n .PD 0\r\n .IP \"\\fB\\-\\-version\\fR\" 4\r\ndiff -urNp intltool-0.51.0-orig\/intltool-extract.in intltool-0.51.0\/intltool-extract.in\r\n<span style=\"color: #87de8c;\">--- intltool-0.51.0-orig\/intltool-extract.in\t2015-03-09 03:39:54.000000000 +0200<\/span>\r\n<span style=\"color: #87afdf;\">+++ intltool-0.51.0\/intltool-extract.in\t2016-12-30 07:48:22.537167142 +0200<\/span>\r\n@@ -163,7 +163,7 @@ XML files. Read manpage (man ${PROGRAM})\r\n \r\n       --type=TYPE   Specify the file type of FILENAME. Currently supports:\r\n                     \"gettext\/glade\", \"gettext\/ini\", \"gettext\/keys\"\r\n<span style=\"color: #87de8c;\">-                    \"gettext\/rfc822deb\", \"gettext\/schemas\",<\/span>\r\n<span style=\"color: #87afdf;\">+                    \"gettext\/rfc822deb\", \"gettext\/schemas\", \"gettext\/fvwm\",<\/span>\r\n                     \"gettext\/gsettings\", \"gettext\/xml\", \"gettext\/quoted\",\r\n                     \"gettext\/quotedxml\", \"gettext\/tlk\", \"gettext\/qtdesigner\"\r\n   -l, --local       Writes output into current working directory\r\n@@ -226,6 +226,7 @@ sub convert {\r\n     &amp;type_quotedxml if $gettext_type eq \"quotedxml\";\r\n     &amp;type_tlk if $gettext_type eq \"tlk\";\r\n     &amp;type_qtdesigner if $gettext_type eq \"qtdesigner\";\r\n<span style=\"color: #87afdf;\">+    &amp;type_fvwm if $gettext_type eq \"fvwm\";<\/span>\r\n }\r\n \r\n sub entity_decode_minimal\r\n@@ -290,6 +291,13 @@ sub type_keys {\r\n         add_message($1);\r\n     }\r\n }\r\n<span style=\"color: #87afdf;\">+<\/span>\r\n<span style=\"color: #87afdf;\">+sub type_fvwm {<\/span>\r\n<span style=\"color: #87afdf;\">+    ### For fvwm config files<\/span>\r\n<span style=\"color: #87afdf;\">+    while ($input =~ \/\\$\\[gt\\.([^\\]]+)\\]\/g) {<\/span>\r\n<span style=\"color: #87afdf;\">+        add_message($1);<\/span>\r\n<span style=\"color: #87afdf;\">+    }<\/span>\r\n<span style=\"color: #87afdf;\">+}<\/span>\r\n \r\n sub type_xml {\r\n     ### For generic translatable XML files ###\r\ndiff -urNp intltool-0.51.0-orig\/intltool-update.in intltool-0.51.0\/intltool-update.in\r\n<span style=\"color: #87de8c;\">--- intltool-0.51.0-orig\/intltool-update.in\t2015-03-09 03:39:54.000000000 +0200<\/span>\r\n<span style=\"color: #87afdf;\">+++ intltool-0.51.0\/intltool-update.in\t2016-12-30 07:53:18.020721582 +0200<\/span>\r\n@@ -88,7 +88,7 @@ my $tlk_support =\r\n \"tlk(?:\\\\.in)+\";        # Bioware Aurora Talk Table Format\r\n \r\n my $buildin_gettext_support =\r\n<span style=\"color: #87de8c;\">-\"c|y|cs|cc|cpp|c\\\\+\\\\+|h|hh|gob|py|scm(?:\\\\.in)*\";<\/span>\r\n<span style=\"color: #87afdf;\">+\"c|y|cs|cc|cpp|c\\\\+\\\\+|h|hh|gob|py|fvwm|scm(?:\\\\.in)*\";<\/span>\r\n \r\n ## Always flush buffer when printing\r\n $| = 1;\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u0432 fvwm \u0435\u0441\u0442\u044c \u0445\u043e\u0440\u043e\u0448\u0430\u044f \u0448\u0442\u0443\u043a\u0430 &#8211; \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u0430\u044f \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 gettext. \u0432\u0441\u0435 \u0441\u0440\u043e\u043a\u0438 \u043e\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0435 \u043a\u0430\u043a $[gt.String] \u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0438\u043c\u044b\u043c\u0438. \u043e\u0434\u043d\u0430 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430, \u043a\u0430\u043a \u044d\u0442\u043e \u0432\u0441\u0435 \u0438\u0437\u0432\u043b\u0435\u0447\u044c \u0438 \u0437\u0430\u043f\u0438\u0445\u0430\u0442\u044c \u0432 .po \u0444\u0430\u0439\u043b. \u0440\u0443\u043a\u0430\u043c\u0438 &#8211; \u043d\u0435\u0441\u043f\u043e\u0440\u0442\u0438\u0432\u043d\u043e, \u043f\u0438\u0441\u0430\u0442\u044c \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u0443\u044e \u0442\u0443\u0437\u043b\u0438\u043d\u043a\u0443 &#8211; \u043a\u0430\u043a-\u0442\u043e \u0447\u0440\u0435\u0437\u043c\u0435\u0440\u043d\u043e. \u043d\u0430\u0438\u0431\u043e\u043b\u0435\u0435 \u043e\u043f\u0442\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 &#8211; \u0432\u043d\u0435\u0434\u0440\u0438\u0442\u044c \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0443 \u044d\u0442\u043e\u0433\u043e \u0434\u0435\u043b\u0430 \u0432 \u043a\u0430\u043a\u043e\u0439-\u043d\u0438\u0431\u0443\u0434\u044c \u0438\u0437 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0445 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u043e\u0432. \u044f \u0432\u044b\u0431\u0440\u0430\u043b \u043f\u0430\u043a\u0435\u0442 intltool. \u0432\u0435\u0437\u0434\u0435 \u0435\u0433\u043e &hellip; <a href=\"https:\/\/sanana.kiev.ua\/index.php\/archives\/60\" class=\"more-link\">\u041f\u0440\u043e\u0434\u043e\u0432\u0436\u0438\u0442\u0438 \u0447\u0438\u0442\u0430\u043d\u043d\u044f<span class=\"screen-reader-text\"> &#8220;FVWM \u0438 \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u044b gettext&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,5],"tags":[8,10],"class_list":["post-60","post","type-post","status-publish","format-standard","hentry","category-desktop","category-tipstricks","tag-fvwm","tag-gettext"],"_links":{"self":[{"href":"https:\/\/sanana.kiev.ua\/index.php\/wp-json\/wp\/v2\/posts\/60","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sanana.kiev.ua\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sanana.kiev.ua\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sanana.kiev.ua\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sanana.kiev.ua\/index.php\/wp-json\/wp\/v2\/comments?post=60"}],"version-history":[{"count":2,"href":"https:\/\/sanana.kiev.ua\/index.php\/wp-json\/wp\/v2\/posts\/60\/revisions"}],"predecessor-version":[{"id":62,"href":"https:\/\/sanana.kiev.ua\/index.php\/wp-json\/wp\/v2\/posts\/60\/revisions\/62"}],"wp:attachment":[{"href":"https:\/\/sanana.kiev.ua\/index.php\/wp-json\/wp\/v2\/media?parent=60"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sanana.kiev.ua\/index.php\/wp-json\/wp\/v2\/categories?post=60"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sanana.kiev.ua\/index.php\/wp-json\/wp\/v2\/tags?post=60"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}