Skip to content

Commit

Permalink
## 0.7.3
Browse files Browse the repository at this point in the history
### Fixed
- Fixed Hero animation conflict during image preview
- Fixed translation issues
### Added
- More translations
  • Loading branch information
chendoxiu committed Dec 13, 2024
1 parent 1fce627 commit 6f74954
Show file tree
Hide file tree
Showing 42 changed files with 6,427 additions and 4,840 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Changelog

## 0.7.3

### Fixed

- Fixed Hero animation conflict during image preview
- Fixed translation issues

### Added

- More translations

## 0.7.2

### Added
Expand Down
6 changes: 1 addition & 5 deletions lib/apis/models/drive.dart
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ class DriveFileModel extends DriveModel {
String? comment;
Properties? properties;
String? thumbnailUrl;
UniqueKey? hero;

DriveFileModel({
this.blurhash,
Expand All @@ -34,15 +33,14 @@ class DriveFileModel extends DriveModel {
this.properties,
this.thumbnailUrl,
this.comment,
required this.hero,
required super.id,
required super.name,
required super.createdAt,
});

@override
String toString() {
return 'DriveFileModel{blurhash: $blurhash, type: $type, url: $url, createdAt: $createdAt, size: $size, isSensitive: $isSensitive, name: $name, comment: $comment, id: $id, properties: $properties, thumbnailUrl: $thumbnailUrl, hero: $hero}';
return 'DriveFileModel{blurhash: $blurhash, type: $type, url: $url, createdAt: $createdAt, size: $size, isSensitive: $isSensitive, name: $name, comment: $comment, id: $id, properties: $properties, thumbnailUrl: $thumbnailUrl}';
}

factory DriveFileModel.fromMap(dynamic map) {
Expand All @@ -59,7 +57,6 @@ class DriveFileModel extends DriveModel {
isSensitive: map['isSensitive'] ?? false,
thumbnailUrl: map['thumbnailUrl'],
comment: map['comment'],
hero: UniqueKey(),
);
}

Expand Down Expand Up @@ -107,7 +104,6 @@ class DriveFileModel extends DriveModel {
id: id ?? this.id,
properties: properties ?? this.properties,
thumbnailUrl: thumbnailUrl ?? this.thumbnailUrl,
hero: hero ?? this.hero,
comment: comment ?? this.comment,
);
}
Expand Down
6 changes: 1 addition & 5 deletions lib/apis/models/note.dart
Original file line number Diff line number Diff line change
Expand Up @@ -153,11 +153,7 @@ class NoteModel {
createdAt: createdAt ?? this.createdAt,
cw: cw ?? this.cw,
emojis: emojis ?? this.emojis,
files: files ??
this
.files
.map((element) => element.copyWith(hero: UniqueKey()))
.toList(),
files: files ?? this.files,
localOnly: localOnly ?? this.localOnly,
reactionAcceptance: reactionAcceptance ?? this.reactionAcceptance,
reactionEmojis: reactionEmojis ?? this.reactionEmojis,
Expand Down
514 changes: 283 additions & 231 deletions lib/generated/intl/messages_ar_SA.dart

Large diffs are not rendered by default.

512 changes: 293 additions & 219 deletions lib/generated/intl/messages_cs_CZ.dart

Large diffs are not rendered by default.

505 changes: 286 additions & 219 deletions lib/generated/intl/messages_da_DK.dart

Large diffs are not rendered by default.

518 changes: 299 additions & 219 deletions lib/generated/intl/messages_de_DE.dart

Large diffs are not rendered by default.

525 changes: 306 additions & 219 deletions lib/generated/intl/messages_el_GR.dart

Large diffs are not rendered by default.

24 changes: 12 additions & 12 deletions lib/generated/intl/messages_en_US.dart
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class MessageLookup extends MessageLookupByLibrary {

static String m1(error) => "Failed to create\n\n ${error}";

static String m2(days) => "${days} Days ago";
static String m2(days) => "${days}d ago";

static String m3(thing) => "Should I delete ‘${thing}’?";

Expand All @@ -46,19 +46,19 @@ class MessageLookup extends MessageLookupByLibrary {

static String m10(error) => "Failed to send note\n\n${error}";

static String m11(hours) => "${hours}";
static String m11(hours) => "${hours}h Ago";

static String m12(server) => "Logging in ${server}";

static String m13(minutes) => "${minutes} Minutes ago";
static String m13(minutes) => "${minutes}m ago";

static String m14(months) => "${months} Months ago";
static String m14(months) => "${months}mo ago";

static String m15(language) => "Translation from ${language} ";
static String m15(language) => "Translation from ${language} \n";

static String m16(type) => "Unsupported notification types:${type}";

static String m17(seconds) => "${seconds} Seconds ago";
static String m17(seconds) => "${seconds}s ago";

static String m18(msg) => "Upload Failed\n ${msg}";

Expand All @@ -72,7 +72,7 @@ class MessageLookup extends MessageLookupByLibrary {

static String m23(datetime) => "Deadline after ${datetime}";

static String m24(years) => "${years} Years ago";
static String m24(years) => "${years}y ago";

final messages = _notInlinedMessages(_notInlinedMessages);
static Map<String, Function> _notInlinedMessages(_) => <String, Function>{
Expand All @@ -88,7 +88,7 @@ class MessageLookup extends MessageLookupByLibrary {
"back": MessageLookupByLibrary.simpleMessage("Back"),
"cancel": MessageLookupByLibrary.simpleMessage("Cancel"),
"cancelSensitive":
MessageLookupByLibrary.simpleMessage("Unmark as NSFW"),
MessageLookupByLibrary.simpleMessage("Cancel Mark as NSFW"),
"clip": MessageLookupByLibrary.simpleMessage("Clips"),
"clipCancelFavoriteText": MessageLookupByLibrary.simpleMessage(
"Really remove from favorites?"),
Expand Down Expand Up @@ -134,7 +134,7 @@ class MessageLookup extends MessageLookupByLibrary {
MessageLookupByLibrary.simpleMessage("Please input a new filename"),
"enterNewTitle":
MessageLookupByLibrary.simpleMessage("Please enter a new title"),
"enterUrl": MessageLookupByLibrary.simpleMessage("Please enter URL"),
"enterUrl": MessageLookupByLibrary.simpleMessage("Please Enter URL"),
"exceptionContentNull":
MessageLookupByLibrary.simpleMessage("Body cannot be empty."),
"exceptionCwNull":
Expand All @@ -144,7 +144,7 @@ class MessageLookup extends MessageLookupByLibrary {
"exploreHot": MessageLookupByLibrary.simpleMessage("Popular"),
"exploreUserHot": MessageLookupByLibrary.simpleMessage("Popular users"),
"exploreUserLast":
MessageLookupByLibrary.simpleMessage("Recently logged in users"),
MessageLookupByLibrary.simpleMessage("Newly login users"),
"exploreUserPined":
MessageLookupByLibrary.simpleMessage("Pinned users"),
"exploreUserUpdated":
Expand Down Expand Up @@ -273,7 +273,7 @@ class MessageLookup extends MessageLookupByLibrary {
MessageLookupByLibrary.simpleMessage("Non-sensitive only"),
"reactionAcceptingNoneSensitiveOrLocal":
MessageLookupByLibrary.simpleMessage(
"Non-sensitive only (Only likes from remote)"),
"Non-sensitive only(Only likes from remote)"),
"recipient": MessageLookupByLibrary.simpleMessage("Recipient"),
"refresh": MessageLookupByLibrary.simpleMessage("Refresh"),
"registration": MessageLookupByLibrary.simpleMessage("Registration"),
Expand Down Expand Up @@ -309,7 +309,7 @@ class MessageLookup extends MessageLookupByLibrary {
"share": MessageLookupByLibrary.simpleMessage("Share"),
"showConversation":
MessageLookupByLibrary.simpleMessage("View Conversation"),
"somebodyNote": MessageLookupByLibrary.simpleMessage("\'s Posts"),
"somebodyNote": MessageLookupByLibrary.simpleMessage(" \'s Posts"),
"timeline": MessageLookupByLibrary.simpleMessage("Timeline"),
"timelineGlobal": MessageLookupByLibrary.simpleMessage("Global"),
"timelineHome": MessageLookupByLibrary.simpleMessage("Home"),
Expand Down
Loading

0 comments on commit 6f74954

Please sign in to comment.