mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 11:20:57 -06:00
21 lines
392 B
Ruby
21 lines
392 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
module ImportExport
|
||
|
class TranslationOverridesExporter < BaseExporter
|
||
|
def initialize()
|
||
|
@export_data = { translation_overrides: [] }
|
||
|
end
|
||
|
|
||
|
def perform
|
||
|
puts "Exporting all translation overrides...", ""
|
||
|
export_translation_overrides
|
||
|
|
||
|
self
|
||
|
end
|
||
|
|
||
|
def default_filename_prefix
|
||
|
"translation-overrides"
|
||
|
end
|
||
|
end
|
||
|
end
|