Skip to content

Commit

Permalink
Lokalise cleanup mode (#70)
Browse files Browse the repository at this point in the history
  • Loading branch information
michgauz authored Dec 2, 2024
1 parent d5a0244 commit f71654a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ object Lokalise {
lang: String,
content: String,
replaceModified: Boolean = true,
cleanupMode: Boolean = true,
) {
val project_ = project ?: KintaEnv.getOrFail(KintaEnv.Var.LOKALISE_PROJECT)

Expand All @@ -49,6 +50,7 @@ object Lokalise {
filename = resource,
lang_iso = lang,
replace_modified = replaceModified,
cleanup_mode = cleanupMode,
)

requestUpload(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ data class LkUploadPayload(
val filename: String,
val lang_iso: String,
val replace_modified: Boolean,
val cleanup_mode: Boolean,
)

enum class EmptyExport { BASE, EMPTY, NULL, SKIP }

0 comments on commit f71654a

Please sign in to comment.