overleaf/services/web/frontend/js/ide/file-tree/util/fileOperationI18nNames.js
Timothée Alby 620b95fbe8 Merge pull request #2656 from overleaf/jpa-import-709
[misc] fileOperationI18nNames: drop blocking DOM access

GitOrigin-RevId: e6aab686fc8d4fe3b5515033b88548278c7bf7c0
2020-03-10 04:14:42 +00:00

11 lines
217 B
JavaScript

define([], function() {
if (window.fileActionI18n !== undefined) {
return window.fileActionI18n
}
return {
edited: 'edited',
renamed: 'renamed',
created: 'created',
deleted: 'deleted'
}
})