gitlocalize / feedback

:mega: We love feedback :sparkles:
20 stars 8 forks source link

Erase quote in a long text #97

Closed ava57r closed 3 years ago

ava57r commented 3 years ago

https://gitlocalize.com/repo/4579/ru/rustbook-en/src/ch05-03-method-syntax.md

I dropped file in a github repo and return only en original.

After that GL found conflict

original

> ### Where’s the `->` Operator?
>
> In C and C++, two different operators are used for calling methods: you use
> `.` if you’re calling a method on the object directly and `->` if you’re
> calling the method on a pointer to the object and need to dereference the
> pointer first. In other words, if `object` is a pointer,
> `object->something()` is similar to `(*object).something()`.
>
> Rust doesn’t have an equivalent to the `->` operator; instead, Rust has a
> feature called *automatic referencing and dereferencing*. Calling methods is
> one of the few places in Rust that has this behavior.
>
> Here’s how it works: when you call a method with `object.something()`, Rust
> automatically adds in `&`, `&mut`, or `*` so `object` matches the signature of
> the method. In other words, the following are the same:
>
<!-- CAN'T EXTRACT SEE BUG TODO -->

GL translation

> ### Где используется оператор `->`?
> В языках C++, используются два различных оператора для вызова методов: используется `.`, если вызывается метод непосредственно у экземпляра структуры и используется `->`, если вызывается метод у ссылки на объект. Другими словами, если `object` является ссылкой, то вызовы метода `object->something()` и ` (*object).something()` являются аналогичными.
> Rust не имеет эквивалента оператора `->`, наоборот в Rust есть функциональность называемая *автоматическое обращение по ссылке и разыменование* (automatic referencing and dereferencing). Вызов методов является одним из немногих мест в Rust, в котором есть такое поведение.
> Вот как это работает: когда вы вызываете метод `object.something()`, Rust автоматически добавляет `&`, `&mut` или  `*`, таким образом, чтобы `object` соответствовал сигнатуре метода. Другими словами, следующий код является одинаковым:

<!-- CAN'T EXTRACT SEE BUG TODO -->

Paragraphs were erase. There is only one paragraph.

svasilenkov commented 3 years ago

@ava57r Thanks for reporting this. We'll fix it as soon as find the cause of the problem.

svasilenkov commented 3 years ago

@ava57r The problem has been fixed. Could you please try the following:

  1. Create Review Request.
  2. Create Pull Request.
  3. Merge Pull Request.

After performing these steps the file should have Synced status and in the translation file at GitHub should be empty line between the paragraphs you have mentioned in the description.

ava57r commented 3 years ago

It works. Thank you!