Changes between Version 1 and Version 2 of Ru:Styles


Ignore:
Timestamp:
2017-11-23T11:13:45+01:00 (8 years ago)
Author:
ak099
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Ru:Styles

    v1 v2  
    1 [[TranslatedPages(revision=140,outdated=Перевод не завершён)]]
     1[[TranslatedPages(revision=141,outdated=Перевод не завершён)]]
    22[[PageOutline(2-10,Содержание)]]
    33= Стили отрисовки карты в JOSM =
     
    77Имеются ''базовые стили'' (например, [source:trunk/styles/standard/elemstyles.mapcss Стандартный стиль JOSM] или [source:trunk/styles/standard/potlatch2.mapcss Potlatch 2]), которые охватывают широкий диапазон объектов. Их можно комбинировать с ''дополнительными стилями'', изменяющими более специфичные детали. Смотрите [#Availablestyleslist список доступных стилей] ниже.
    88
    9 Further customization is possible via [#AdvancedPreferences style options] or by [#CreateStyle creating your own style].
     9Дальнейшее изменение возможно через [#AdvancedPreferences параметры стиля] или [#CreateStyle создание собственного стиля].
    1010
    11 == Choose styles ==#ChooseStyles
     11== Выбор стилей ==#ChooseStyles
    1212
    13 JOSM has ''three lists'' of ''map styles:'' available styles (all styles from the style repository) → active styles (your favourites) → ☑ chosen styles (actually used for the map painting).
     13JOSM содержит ''три списка'' ''стилей отрисовки карты:'' доступные стили (все стили из хранилища стилей) → активные стили (выбранные вами) → ☑ выбранные стили (те, которые действительно используете в работе).
    1414
    15 JOSM comes with some styles being in the "active styles" list by default. You can choose styles from this list of "active styles" to be actually used for the map painting by clicking the check box (☑) at the desired style's line
    16 * in the [Help/Dialog/MapPaint map paint style dialog] or
    17 * in the [Help/Menu/View "View" menu] ( → "Map paint styles") or
    18 * (less comfortable) in the Map Paint Styles Preferences (see section below)
     15Некоторые стили в JOSM по умолчанию уже добавлены в список "активных стилей". Вы можете выбрать стили из этого списка для реального использования при рисовании карты, установив флажок (☑) рядом с названием нужного стиля:
     16* в диалоговой панели [wiki:Ru:Help/Dialog/MapPaint Стили отрисовки карты], или
     17* в меню [wiki:Ru:Help/Menu/View «Вид»] ( → «Стили отрисовки карты»), или
     18* (менее удобно) в настройках стилей отрисовки карты (см. секцию ниже)
    1919
    20 Note that, unless you are working with add-on styles, likely you want to have only one style ☑ checked at a time.
     20Обратите внимание, что, если вы не работаете с дополнительными стилями, то скорее всего у вас установлен флажок ☑ лишь для одного стиля.
    2121
    22 === Activating more styles ===
    23 [[Image(addstyle.gif, right, 250px, title=animation of how to activate and choose an example style)]] 
     22=== Активация дополнительных стилей ===
     23[[Image(wiki:Styles:addstyle.gif, right, 250px, title=анимация: как активировать и выбрать стиль)]] 
    2424
    25 ''Instructions:''
    26 1. open the [Help/Preferences/Map#MapPaintStyles Map Paint Styles Preferences] by either
    27    * clicking the [[Image(source:trunk/images/dialogs/mappaintpreference.png,middle)]] [Help/Dialog/MapPaint#MapStyleSettings Settings] button in the map style dialog (shown in the animation) or
    28    * via [Help/Menu/View "View" menu] → "Map paint styles" → "Map paint preferences" or
    29    * (less comfortable) via the general preferences window ([Help/Menu/Edit Menu Edit] → [Help/Action/Preferences Preferences] → [[Image(source:trunk/images/preferences/map.png,20,middle)]] [Help/Preferences/Map Map Settings] (3rd button on the left) → Map Paint Styles (2nd tab))
    30 1. select a style in the list of "available styles" (left side)
    31 1. activate it by clicking the [[Image(source:trunk/images/preferences/activate-right.png,middle)]] blue right arrow button (in the centre)
    32 1. exit and confirm by clicking the OK button
     25''Инструкции:''
     261. Откройте [wiki:Ru:Help/Preferences/Map#MapPaintStyles Настройки стилей отрисовки карты] одним из следующих способов:
     27   * нажмите кнопку [[Image(source:trunk/images/dialogs/mappaintpreference.png,middle)]] [wiki:Ru:Help/Dialog/MapPaint#MapStyleSettings Открыть настройки] в диалоговой панели «Стили отрисовки карты» (показано в анимации)
     28   * через [wiki:Ru:Help/Menu/View меню «Вид»] → «Стили отрисовки карты» → «Настройки отрисовки карты»
     29   * (менее удобно) через основное окно настроек: меню ([wiki:Ru:Help/Menu/Edit Правка] → [wiki:Ru:Help/Action/Preferences Настройки] → [[Image(source:trunk/images/preferences/map.png,20,middle)]] [wiki:Ru:Help/Preferences/Map Настройки карты] (3-я кнопка сверху) → Стили отрисовки карты (2-я вкладка))
     301. Выберите стиль в списке «Доступные стили» (слева)
     311. Активируйте его, нажав кнопку с синей стрелкой [[Image(source:trunk/images/preferences/activate-right.png,middle)]] (в центре)
     321. Подтвердите и выйдите, нажав кнопку OK
    3333
    34 ''Example:'' Let's assume that you want to add [osmwiki:Key:maxspeed maxspeed=*] tags to OSM, then you probably will make use of the style [wiki:Styles/Maxspeed Maxspeed] (which displays the value of maxspeed on roads with different colors). The screencast/animation on the right side (click to enlarge) shows how to add this style to your list of "active styles".
     34''Пример:'' Предположим, что вы хотите добавлять теги [osmwiki:Key:maxspeed maxspeed=*] в OSM. Тогда вы, вероятно найдёте полезным стиль [wiki:Styles/Maxspeed Maxspeed] (который отображает  разными цветами значения максимально допустимой скорости на дорогах). Анимация справа (щёлкните для увеличения) показывает, как добавить этот стиль в ваш список активных стилей.
    3535
    36 ==== Adding own styles ====
    37 You can add own styles (from any URL/file) to the list of active styles – for example a style file which you have [#CreateStyle created yourself]. Just click the [[Image(source:trunk/images/dialogs/add.png,middle)]] plus sign on the right and enter either path and filename or URL of your style file.
     36==== Добавление собственных стилей ====
     37Вы можете добавить собственные стили (из любого URL/файла) в список активных стилей – например, стиль, который вы [#CreateStyle создали сами]. Просто нажмите кнопку с плюсом [[Image(source:trunk/images/dialogs/add.png,middle)]] справа и введите либо путь и имя файла, либо URL для вашего стиля.
    3838
    39 == Available styles list == #Availablestyleslist
     39== Список доступных стилей == #Availablestyleslist
    4040
    41 [[Styles(en|styles|short description|author|description|version|More details)]]
     41[[Styles(ru|Стили|Краткое описание|Автор|Описание|Версия|Подробности)]]
    4242
    43 == Create your own style ==#CreateStyle
    44 You don't like the standard style? Change it to your own liking:
     43== Создание собственного стиля ==#CreateStyle
     44Не нравится стандартный стиль? Измените его по своему вкусу:
    4545
    46 * In the [Help/Dialog/MapPaint map paint style dialog], right click one of the styles and select [[Image(source:/trunk/images/copy.png,middle)]] "save as...". A copy will be added to the list of styles. You can open the file in a text editor and reload after doing some changes.
    47 * Or create a style from scratch and add it in the JOSM mappaint preferences.
     46* В диалоговой панели [wiki:Ru:Help/Dialog/MapPaint Стили отрисовки карты], щёлкните правой кнопкой на стиле и выберите [[Image(source:/trunk/images/copy.png,middle)]] "Сохранить как...". Копия стиля будет добавлена в список стилей. Фал можно открыть в текстовом редакторе и перезагрузить после внесения каких-либо изменений.
     47* Или создайте стиль «с нуля» и добавьте его в настройки отрисовки карты JOSM.
    4848
    49 JOSM supports styles in the MapCSS format. It is a style language similar to [https://en.wikipedia.org/wiki/Cascading_Style_Sheets CSS] originally developed for Potlatch 2.
    50  * General information can be found in the [osmwiki:Category:MapCSS osm wiki].
    51  * A [wiki:Help/Styles/MapCSSTutorial Short tutorial] should get you started.
    52  * The [wiki:Help/Styles/MapCSSImplementation JOSM implementation reference] lists the supported features in more detail.
     49JOSM поддерживает стили в формате MapCSS. Это язык стилей, подобный [https://en.wikipedia.org/wiki/Cascading_Style_Sheets CSS], который изначально был разработан для Potlatch 2.
     50 * Общую информацию можно найти в [osmwiki:Category:MapCSS OSM wiki].
     51 * [wiki:Help/Styles/MapCSSTutorial Краткое руководство] поможет вам начать.
     52 * [wiki:Help/Styles/MapCSSImplementation Справочник по реализации в JOSM] перечисляет поддерживаемые функции с дополнительными подробностями.
    5353
    5454== Make your style available to other users ==