Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/fresh-kings-allow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"lingo.dev": minor
---

preserve newlines, whitespaces while formatting
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
pnpm-lock.yaml
.changeset/
packages/cli/demo/
34 changes: 17 additions & 17 deletions packages/cli/demo/xcode-xcstrings/Localizable.xcstrings
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
{
"version": "1.0",
"sourceLanguage": "en",
"strings": {
"complex_format": {
"localizations": {
"en": {
"stringUnit": {
"state": "translated",
"value": "User %1$@ has %2$lld points and $%3$.2f balance"
"sourceLanguage" : "en",
"strings" : {
"complex_format" : {
"extractionState" : "manual",
"localizations" : {
"ar" : {
"stringUnit" : {
"state" : "translated",
"value" : "المستخدم %1$@ لديه %2$lld نقطة ورصيد $%3$.2f"
}
},
"ar": {
"stringUnit": {
"state": "translated",
"value": "المستخدم %1$@ لديه %2$lld نقطة ورصيد $%3$.2f"
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "User %1$@ has %2$lld points and $%3$.2f balance"
}
}
},
"extractionState": "manual"
}
}
}
}
},
"version" : "1.0"
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
12 changes: 6 additions & 6 deletions packages/cli/src/cli/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ import { InteractiveCommand } from "interactive-commander";
import figlet from "figlet";
import { vice } from "gradient-string";

import authCmd from "./cli/auth";
import initCmd from "./cli/init";
import configCmd from "./cli/show";
import i18nCmd from "./cli/i18n";
import lockfileCmd from "./cli/lockfile";
import cleanupCmd from "./cli/cleanup";
import authCmd from "./cmd/auth";
import initCmd from "./cmd/init";
import configCmd from "./cmd/show";
import i18nCmd from "./cmd/i18n";
import lockfileCmd from "./cmd/lockfile";
import cleanupCmd from "./cmd/cleanup";

import packageJson from "../../package.json";

Expand Down
Loading