diff --git a/_posts/2016-06-05-aw-formatters-and-macros.md b/_posts/2016-06-05-aw-formatters-and-macros.md index a1885e9..3e888ae 100644 --- a/_posts/2016-06-05-aw-formatters-and-macros.md +++ b/_posts/2016-06-05-aw-formatters-and-macros.md @@ -41,11 +41,11 @@ Each formatter type has own behaviour and own settings and they are described below. Also there are system-wide settings which are stored in `/usr/share/awesomewidgets/formatters/`, system formatters will be overwritten by user defined ones, but formatter settings (i.e. `formatters.ini`) will be appended. -## `NoFormat` formatter +## NoFormat formatter Just puts value as string directly. It has no any special settings. -## `DateTime` formatter +## DateTime formatter Converts `QDateTime` object to string. @@ -55,7 +55,7 @@ Converts `QDateTime` object to string. Actually it is the same as `$ctime` tag and has the same configuration. -## `Float` formatter +## Float formatter Converts any number to string. @@ -70,7 +70,7 @@ Converts any number to string. Please note that actual formula is `X-AW-Multiplier * value + X-AW-Summand`. -## `List` formatter +## List formatter Coverts list of string objects to string. @@ -80,7 +80,7 @@ Coverts list of string objects to string. | X-AW-Separator | no | use this separator to join strings | (empty | | X-AW-Sort | no | boolean, sort or not list | false | -## `Script` formatter +## Script formatter Uses javascript code to convert value to string. Value will be passed as argument to fuction. diff --git a/ru/_posts/2016-06-05-aw-formatters-and-macros.md b/ru/_posts/2016-06-05-aw-formatters-and-macros.md index ba319ed..7ba1d52 100644 --- a/ru/_posts/2016-06-05-aw-formatters-and-macros.md +++ b/ru/_posts/2016-06-05-aw-formatters-and-macros.md @@ -43,11 +43,11 @@ cpu=myformatter системные форматеры будут перезаписаны пользовательскими, но настройки (то есть `formatters.ini`) будут просто дополнены. -## `NoFormat` форматер +## NoFormat форматер Просто значение конвертирует в строку. Не имеет никаких особых настроек. -## `DateTime` форматер +## DateTime форматер Конвертирует `QDateTime` объект в строку. @@ -57,7 +57,7 @@ cpu=myformatter Действует аналогично `$ctime` и имеет аналогичную конфигурацию. -## `Float` форматер +## Float форматер Конвертирует любое число в строку. @@ -72,7 +72,7 @@ cpu=myformatter Конечное значение будет получено по формуле `X-AW-Multiplier * value + X-AW-Summand`. -## `List` форматер +## List форматер Конвертирует список строк в строку @@ -82,7 +82,7 @@ cpu=myformatter | X-AW-Separator | нет | использовать разделитель для объединения | (пусто) | | X-AW-Sort | нет | сортировать или нет список | false | -## `Script` форматер +## Script форматер Использует javascript код для конвертации значения в строку. Значение будет передано как аргумент в функцию.