Skip to content

Add support for Logo -> Generated Avatar preset - #444

Merged
TRC-Loop merged 4 commits into
peltonapp:mainfrom
rr74w9zwdm-svg:add-bimi-only
Sep 22, 2026
Merged

TRC-Loop merged 4 commits into
peltonapp:mainfrom
rr74w9zwdm-svg:add-bimi-only

Conversation

@rr74w9zwdm-svg

@rr74w9zwdm-svg rr74w9zwdm-svg commented Sep 22, 2026

Copy link
Copy Markdown
Contributor

Closes #442

  1. Changed files in the lib/locales directorry to add bimiOnly option in various languages.

  2. Added 'bimi' option in SettingsPanel.svelte.

  3. Added new case for 'bimi' in bind_avatar.go.

  4. Modifed comments to include 'bimi' in both bind_settings.go and types.ts.

A note:

For the Chinese version, I have researched to find this as the valid way to write it '仅Logo'. This way is to align with the other 'logo' written in original form and the letter '仅' means 'only'.

This could be a temporary solution till the rest is translated to Chinese.

@rr74w9zwdm-svg rr74w9zwdm-svg changed the title Add support for Logo only preset Add support for Logo -> Generated Avatar preset Sep 22, 2026
Added the missing 'only' in Arabic.

Signed-off-by: rr74w9zwdm-svg <rr74w9zwdm@privaterelay.appleid.com>
@TRC-Loop TRC-Loop added this to the v2026.4.4 milestone Sep 22, 2026
@TRC-Loop TRC-Loop added the area: frontend Svelte/UI code label Sep 22, 2026
The Chinese catalog used 'settingsPanel.avatarSource.bimi' instead of
'settingsPanel.avatarSource.bimiOnly', so check-locales flagged the
string as missing/extra and the frontend check failed.

Signed-off-by: Arne <arne@gmrze.net>
The new "bimi" case in SenderPhotos returned a.orderedPhotos(email,
"bimi") on its own, one value short of the (photos, error) the
function signature promises, so the package failed to build.

Signed-off-by: Arne <arne@gmrze.net>
@TRC-Loop

Copy link
Copy Markdown
Member

Great work, and I really appreciated the note about the Chinese translation, that's exactly the kind of care we want here. Found two small things blocking CI (a zh-CN key mismatch and a missing error return in SenderPhotos), fixed both and pushed to your branch. Ready to merge on my end!

@TRC-Loop
TRC-Loop merged commit a9d7283 into peltonapp:main Sep 22, 2026
8 of 9 checks passed
@rr74w9zwdm-svg

rr74w9zwdm-svg commented Sep 23, 2026

Copy link
Copy Markdown
Contributor Author

Oh wow, never knew the errors were there!

Thanks for letting me know, really appreciate guiding me through the issue. I am happy to do more contributions on the repo.

Have a nice day!

@rr74w9zwdm-svg
rr74w9zwdm-svg deleted the add-bimi-only branch September 23, 2026 03:47
@rr74w9zwdm-svg

Copy link
Copy Markdown
Contributor Author

I am currently working on the Italian language support. Since its almost 2 months old, has it been claimed by someone yet?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: frontend Svelte/UI code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Logo -> Generated Avatar Preset

2 participants