Skip to content

docs(ru): fix typos and technical inaccuracies in RADIUS constants#1147

Merged
saundefined merged 1 commit intophp:masterfrom
democod:fix-reference-radius-constants
Feb 6, 2026
Merged

docs(ru): fix typos and technical inaccuracies in RADIUS constants#1147
saundefined merged 1 commit intophp:masterfrom
democod:fix-reference-radius-constants

Conversation

@democod
Copy link
Contributor

@democod democod commented Feb 1, 2026

RU: Исправление технических ошибок, опечаток и стилистическая синхронизация констант RADIUS

Этот PR приводит документацию констант RADIUS в соответствие с английским оригиналом, исправляя критические технические неточности и опечатки.

Основные изменения:

  • Технические исправления функций: Исправлены неверные названия функций для установки атрибутов. Заменена radius_put_addr на radius_put_int для целочисленных атрибутов (NAS-Port, Service-Type, MTU и др.) и на radius_put_attr для строковых (Filter-ID).
  • Синхронизация терминологии: - "Клиент" заменён на "пользователь" там, где в оригинале используется user.
    • В описании маршрутизации "посылка/ожидание" заменены на более точные технические термины "отправка/прослушивание" (send/listen).
  • Устранение избыточности: Из описания Framed-MTU удалено энциклопедическое определение термина, отсутствующее в оригинале, для соблюдения лаконичного стиля справочника.
  • Исправление опечаток: Исправлены повторяющиеся ошибки в словах "флаги", "атрибуты", "протоколов", а также пунктуация.
  • Улучшение разметки: Добавлены недостающие теги <type> и <function>, унифицированы вводные фразы перед списками констант для единообразия всего файла.

EN: Fix technical inaccuracies, typos and style in RADIUS constants documentation

This PR aligns the RADIUS constants documentation with the English source, fixing critical technical errors and typos.

Key Improvements:

  • Technical Function Fixes: Corrected invalid function names for setting attributes. Replaced radius_put_addr with radius_put_int for integer attributes (NAS-Port, Service-Type, MTU, etc.) and with radius_put_attr for string attributes (Filter-ID).
  • Terminology Alignment: - Replaced "client" with "user" where the source specifies user.
    • Updated routing descriptions: replaced "sending/waiting" with professional networking terms "send/listen".
  • Redundancy Removal: Removed the encyclopedic definition of MTU from the Framed-MTU section to match the concise style of the source documentation.
  • Typo Fixes: Corrected recurring Russian typos in "flags", "attributes", "protocols", and fixed minor punctuation issues.
  • Markup & Consistency: Added missing <type> and <function> tags and standardized introductory phrases for constant lists to ensure file-wide consistency.

- Corrected 'radius_put_addr' to 'radius_put_int' for integer attributes (NAS-Port, MTU, etc.).
- Fixed 'radius_put_addr' to 'radius_put_attr' for Filter-ID string attribute.
- Fixed typos: "фалги" -> "флаги", "аттриубты" -> "атрибуты", "протоклов" -> "протоколов".
- Aligned RADIUS_ACCESS_REQUEST requirements with English source (should -> рекомендуется).
- Improved DocBook markup by adding missing <type> and <function> tags.
@democod democod requested a review from a team as a code owner February 1, 2026 19:24
Copy link
Member

@saundefined saundefined left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Спасибо!

/cc @mmalferov

@saundefined saundefined merged commit 231bd66 into php:master Feb 6, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants