Skip to content

Commit 0559eaf

Browse files
committed
[ Edit ]
1 parent fda5201 commit 0559eaf

File tree

5 files changed

+19
-18
lines changed

5 files changed

+19
-18
lines changed

lib/src/commands/start_command/start_command.dart

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -190,24 +190,24 @@ class StartCommand extends Command<int> {
190190
}
191191
}
192192

193-
void _writeResultToFiles({
194-
required Map<String, JsonContentMap> res,
195-
required Directory outputDir,
196-
}) {
197-
final progress = logger.customProgress('Writing results to files..');
193+
// void _writeResultToFiles({
194+
// required Map<String, JsonContentMap> res,
195+
// required Directory outputDir,
196+
// }) {
197+
// final progress = logger.customProgress('Writing results to files..');
198198

199-
res.forEach((key, value) {
200-
final file = File('${outputDir.path}/$key.json');
199+
// res.forEach((key, value) {
200+
// final file = File('${outputDir.path}/$key.json');
201201

202-
if (!file.existsSync()) {
203-
file.createSync(recursive: true);
204-
}
202+
// if (!file.existsSync()) {
203+
// file.createSync(recursive: true);
204+
// }
205205

206-
progress.update('Writing $key.json');
206+
// progress.update('Writing $key.json');
207207

208-
file.writeAsStringSync(value.toPrettyJson());
209-
});
210-
}
208+
// file.writeAsStringSync(value.toPrettyJson());
209+
// });
210+
// }
211211

212212
Future<void> _writeNewLocalizationFiles({
213213
required List<LangOutput> outputList,

lib/src/etc/models/user_info.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import 'package:equatable/equatable.dart';
22
import 'package:langsync/src/etc/extensions.dart';
3-
import 'package:langsync/src/etc/models/Localization_doc.dart';
3+
import 'package:langsync/src/etc/models/localization_doc.dart';
44

55
class UserInfo extends Equatable {
66
const UserInfo({

lib/src/etc/networking/client.dart

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ class NetClient extends NetClientBoilerPlate {
2020
required Iterable<String> langs,
2121
required String apiKey,
2222
required String operationId,
23-
required int? languageLocalizationMaxDelay, required String? instruction, bool includeOutput = false,
23+
required int? languageLocalizationMaxDelay,
24+
required String? instruction,
25+
bool includeOutput = false,
2426
}) {
2527
return sseStreamReq<List<LangSyncServerSSE>>(
2628
'/process-translation',

lib/src/etc/utils.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import 'dart:io';
22
import 'dart:math';
33

4-
54
final utils = Utils();
65

76
class Utils {

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: langsync
2-
description: A Very Good Project created by Very Good CLI.
2+
description: an AI powered localization tool for any platform and language.
33
version: 0.9.5
44
homepage: https://langsync.app
55
repository: https://github.com/LangSync/cli

0 commit comments

Comments
 (0)