overleaf/services/web/locales
M Fahru 0648b8aa6c Implement deleted file restore for history react (#12753)
* Add strikethrough to deleted file tree item in history file tree

* Add "restore file" button on toolbar if the selected file have a `removed` operation.

* Implement "restore file" functionality on removed file:

- Refactor the `Selection` object in history context value since we need the `deletedAtV` data which currently is not passed through the state.
- Refactor and clean up file tree type system to support passing through the whole `FileDiff` object for getting the `deletedAtV` data which only appear on `removed` operation
- Implement `postJSON` with file restoration API and pass it on restore file onClick handler at toolbar

* Implement loading behaviour while restoring file is inflight:

- Add `loadingRestoreFile` to `LoadingState`
- Change restore file button to `Restoring...` when in loading state.

* Refactor:

- Rename `DiffOperation` to `FileOperation`
- Extract `isFileRemoved` and `isFileRenamed` to its own file
- Extract `Toolbar` components into small files

GitOrigin-RevId: 2e32ebd2165f73fc6533ff282a9c084162efd682
2023-04-28 08:04:59 +00:00
..
cs.json auto update translation 2023-04-26 08:05:16 +00:00
da.json auto update translation 2023-04-26 08:05:16 +00:00
de.json auto update translation 2023-04-26 08:05:16 +00:00
en.json Implement deleted file restore for history react (#12753) 2023-04-28 08:04:59 +00:00
es.json auto update translation 2023-04-26 08:05:16 +00:00
fi.json auto update translation 2023-04-26 08:05:16 +00:00
fr.json auto update translation 2023-04-26 08:05:16 +00:00
it.json auto update translation 2023-04-26 08:05:16 +00:00
ja.json auto update translation 2023-04-26 08:05:16 +00:00
ko.json auto update translation 2023-04-26 08:05:16 +00:00
nl.json auto update translation 2023-04-26 08:05:16 +00:00
no.json auto update translation 2023-04-26 08:05:16 +00:00
pl.json auto update translation 2023-04-26 08:05:16 +00:00
pt.json auto update translation 2023-04-26 08:05:16 +00:00
README.md Merge pull request #3163 from overleaf/as-jpa-i18n-cleanup 2020-09-18 02:04:41 +00:00
ru.json auto update translation 2023-04-26 08:05:16 +00:00
sv.json auto update translation 2023-04-26 08:05:16 +00:00
tr.json auto update translation 2023-04-26 08:05:16 +00:00
zh-CN.json auto update translation 2023-04-26 08:05:16 +00:00

Locales

These files are not to be edited by hand. OneSky is used to manage the locales.

Please contact us via support@overleaf.com if you want to contribute any changes.