shilangyu

joined 4 years ago
MODERATOR OF
 

This release includes support for lemmy v0.15.0 and lemmur is finally translation-ready!

Lemmy devs are kindly hosting lemmur translation strings on their Weblate instance. Feel free to contribute strings there, we regularly sync string changes with Weblate.

We wanted to make sure that all the efforts that went into translating Lemmy do not go to waste and thus we ported to our Weblate as many translations as we could (~130 strings).

We use flutter's native file format for translations: ARB, which itself uses the ICU message syntax. In most cases you will be able to deduce the syntax based on the source string. Here are 3 important examples:

1. Placeholders

Hello there {name}! - placeholders are put in a pair of braces, it will be later replaced with an appropriate value.

2. Plurals

You have {amount} new {amount, plural, =0{messages} =1{message} =2{messages} few{messages} many{messages} other{message}} - plurals are checked against their quantifier and provide 6 possible forms to choose from. In English this example does not make much sense, since we could just provide the =1{message} and other{messages} case. other case always has to be specified, it acts as a fallback.

3. Selects

I will take a {distance_name, select, close{bus} far{train} veryFar{plane}}. - selects allow for arbitrary matching against some predefined cases. All cases should be the same as in the source string.

1
lemmur v0.7.0 (github.com)
submitted 3 years ago* (last edited 2 years ago) by [email protected] to c/[email protected]
 

In this release we have done quite a bit of internal refactoring which will hopefully result in a more stable and consistent experience as well as help us implement new features faster.

Notable new features include blocking and reporting. Also logging was adding, which will help us debug problems on users' end. Note: all logs are kept in memory and are not persisted nor sent anywhere.

Full changelog:

Added

  • Blocking of users and communities (from post and from comment)
  • Reporting posts and comments
  • Android theme-aware splash screen (thanks to @mimi89999)
  • Logging: local logs about some actions/errors. Can be accessed from settings > about lemmur > logs

Fixed

  • Fixed a bug where post would go out of sync with full version of the post
  • Fixed a bug where making a comment selectable would not always result in making the comment selectable
  • Full post will now open no matter where you press on the post card
  • Fixed overflows in various places

Changed

  • User banner photo now fits better on user profile
 

Lemmy 0.13.0 invalidated all authentication tokens meaning your current account will cause infinite spinners in lemmur. This has showed us that we should improve invalid auth handling, hence I have created a report for that: https://github.com/LemmurOrg/lemmur/issues/265

 

Please read this post as it explains some weirdnesses!

Other than Lemmy v0.11.0 support this release added the long awaited post/comment editing and support for all lemmy settings.

Editing
  • To edit a comment press the three dots next to your comment and select edit
  • To edit a post press the three dots next to your post and select edit. Be aware that if you edit a post, you will be redirected to a new page with the updated post, so going back will still show the old data. This is in part because of our design mistakes which can be fixed only if we rewrite bigger parts of our code (which is planned)
Settings

We can split settings into 2 categories:

  • Frontend settings (handled by the client)
  • Backend settings (handled by the server)

We decided to not implement frontend settings on an account basis. This means lemmur will not respect some settings set on your account, rather it will store them locally and will be active for all your accounts. So for example, if you want to turn off 'show avatars' then it will be off for all your accounts, you won't be able to turn it on for one account and then have it off on another one. This is because we decided it would be confusing for users and would result in not-always up to date settings in lemmur. Here is a complete list of frontend settings:

  • Default sort type
  • Default listing type
  • Language
  • Show avatars
  • Show scores

However, you can always import all of those settings from a specific account into lemmur by long pressing the target account in the accounts settings.

As always you can support the development:

Enjoy!

Full changelog

Added

  • Editing posts
  • Editing comments
  • Show avatars setting toggle
  • Show scores setting toggle
  • Default sort type setting
  • Default listing type setting
  • Import Lemmy settings: long press an account in account settings then choose the import option
  • Support lemmy v0.11.0

Fixed

  • Added deduplication in infinite scrolls
  • Fixed bug where creating post would crash after uploading a picture
 

Sadly, this release will log you out of all accounts once again. We are aware it is annoying and hope to reduce the amount of times it happens. On the bright side, this release includes support for password managers when logging in so it should be easier to restore all accounts.

In other news the keyboard experience throughout the app was improved (for example, before when writing a comment your keyboard would not capitalize letters in sentences) like showing correct keyboard types and providing native hints for your OS. You can also select text in places where you'd expect it to be possible.

also, this time this release actually fixes the thing we supposedly fixed in v0.4.1, sorry for that

Full changelog:

Changed

  • Enhanced keyboard experience
    • appropriate keyboard types are opened
    • correct capitalization
    • added text input hints for things like password managers
  • Account actions in settings are more obvious to access: long press an account/instance to see possible actions such as setting as default or removal
  • Disable commenting on locked posts

Added

  • When writing a comment, the parent text is now selectable
  • Text of a post is now selectable
  • Tapping outside of a text input hides the keyboard

Fixed

  • Actually fixed the thing that v0.4.1 supposedly fixed
 

As you may have noticed, v0.3.0 no longer works with some instances, this is because Lemmy released a new API. This release of lemmur moves to the new API. As with the v1 -> v2 API transition, I encourage you to nudge admins of your favorite instances to upgrade to support the newest API.

Full changelog:

Added

  • Share buttons on windows/linux now copy the data to the clipboard
  • Initial translations have been incorporated into lemmur. It is not yet possible to contribute translation strings

Changed

  • Transitioned to Lemmy API v3

Fixed

  • Quote blocks in posts and comments are now much prettier
  • Code blocks now have monospace font. As they should
  • Switching accounts in the profile tab now correctly reacts to the change
  • You can no longer add the same instance twice just by changing capitalization (thanks to ryg-git)