Closed Bug 1031893 Opened 10 years ago Closed 10 years ago

Неправильный перевод «Specified "type" attribute of»

Categories

(Mozilla Localizations :: ru / Russian, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Aleksej, Assigned: unghost)

Details

1. Открыть веб-консоль.
2. Перейти по http://jsfiddle.net/sergeyd63/UYKMy/1/

В веб-консоли:

en-US:
Specified "type" attribute of "video/mp4" is not supported. Load of media resource http://<адрес> failed.

ru:
Атрибут "type" указанный для "video/mp4" не поддерживается. Не удалось загрузить медиаресурс http://<адрес>.


video/mp4 — неподдерживаемое значение атрибута "type".

`grep -R "указанный для " *` находит 4 строки:

dom/chrome/dom/dom.properties:MediaLoadUnsupportedTypeAttribute = Атрибут "type" указанный для "%1$S" не поддерживается. Не удалось загрузить медиаресурс %2$S.
dom/chrome/dom/dom.properties:MediaLoadSourceMediaNotMatched = Атрибут "media" указанный для "%1$S" не соответствует окружению. Не удалось загрузить медиаресурс %2$S.
webapprt/webapprt/overrides/dom.properties:MediaLoadUnsupportedTypeAttribute = Атрибут "type" указанный для "%1$S" не поддерживается. Не удалось загрузить медиаресурс %2$S.
webapprt/webapprt/overrides/dom.properties:MediaLoadSourceMediaNotMatched = Атрибут "media" указанный для "%1$S" не соответствует окружению. Не удалось загрузить медиаресурс %2$S.
Verified FIXED for "type" with 2014-07-02-03-02-01-mozilla-central-firefox-33.0a1.ru.linux-x86_64.



Not sure it's much better for "media". "%1$S" still refers to the value of the media attribute, and is something called "a media query".  What is environment?  Can it be called the environment of the media attribute?


The new translation from comment 1:
    1.15 +MediaLoadSourceMediaNotMatched = "%1$S" — не соответствует окружению атрибута "media". Не удалось загрузить медиаресурс %2$S.


Assumed original from https://hg.mozilla.org/l10n-central/en-GB/file/255b5ccf4b8f/dom/chrome/dom/dom.properties#l99

   101 # LOCALIZATION NOTE: %1$S is the "media" attribute value of the <source> element. It is a media query. %2$S is the URL of the media resource which failed to load.
   102 MediaLoadSourceMediaNotMatched=Specified "media" attribute of "%1$S" does not match the environment. Load of media resource %2$S failed.
(In reply to [:Aleksej] from comment #2)
> Verified FIXED for "type" with
> Not sure it's much better for "media". "%1$S" still refers to the value of
> the media attribute, and is something called "a media query".  What is
> environment?  Can it be called the environment of the media attribute?
You'd better file a bug for en-US locale to improve its wording, if it's not clear. I can not improve Russian translation if en-US is wrong or vague.
You need to log in before you can comment on or make changes to this bug.