feat(wallpapers): add image crop support and i18n strings
Adds per-image image-crop support with persistent settings. Rendering adapts to crop mode, zoom and position per image. Locales the UI strings and notifications; app name updated. - Cropping workflow with per-image crop state and rendering - Localizes strings and notifications for en and de - Introduces set_image_crop command and its permission schema
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
# Automatically generated - DO NOT EDIT!
|
||||
|
||||
"$schema" = "../../schemas/schema.json"
|
||||
|
||||
[[permission]]
|
||||
identifier = "allow-set-image-crop"
|
||||
description = "Enables the set_image_crop command without any pre-configured scope."
|
||||
commands.allow = ["set_image_crop"]
|
||||
|
||||
[[permission]]
|
||||
identifier = "deny-set-image-crop"
|
||||
description = "Denies the set_image_crop command without any pre-configured scope."
|
||||
commands.deny = ["set_image_crop"]
|
||||
@@ -8,6 +8,7 @@ Allow the LockScreenWallpaper app to manage its wallpaper collection
|
||||
- `allow-get-gallery`
|
||||
- `allow-select-images`
|
||||
- `allow-delete-image`
|
||||
- `allow-set-image-crop`
|
||||
- `allow-set-setting`
|
||||
- `allow-next-wallpaper`
|
||||
|
||||
@@ -153,6 +154,32 @@ Denies the select_images command without any pre-configured scope.
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
`wallpaper:allow-set-image-crop`
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Enables the set_image_crop command without any pre-configured scope.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
`wallpaper:deny-set-image-crop`
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Denies the set_image_crop command without any pre-configured scope.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
`wallpaper:allow-set-setting`
|
||||
|
||||
</td>
|
||||
|
||||
@@ -354,6 +354,18 @@
|
||||
"const": "deny-select-images",
|
||||
"markdownDescription": "Denies the select_images command without any pre-configured scope."
|
||||
},
|
||||
{
|
||||
"description": "Enables the set_image_crop command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
"const": "allow-set-image-crop",
|
||||
"markdownDescription": "Enables the set_image_crop command without any pre-configured scope."
|
||||
},
|
||||
{
|
||||
"description": "Denies the set_image_crop command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
"const": "deny-set-image-crop",
|
||||
"markdownDescription": "Denies the set_image_crop command without any pre-configured scope."
|
||||
},
|
||||
{
|
||||
"description": "Enables the set_setting command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
@@ -367,10 +379,10 @@
|
||||
"markdownDescription": "Denies the set_setting command without any pre-configured scope."
|
||||
},
|
||||
{
|
||||
"description": "Allow the LockScreenWallpaper app to manage its wallpaper collection\n#### This default permission set includes:\n\n- `allow-get-state`\n- `allow-get-gallery`\n- `allow-select-images`\n- `allow-delete-image`\n- `allow-set-setting`\n- `allow-next-wallpaper`",
|
||||
"description": "Allow the LockScreenWallpaper app to manage its wallpaper collection\n#### This default permission set includes:\n\n- `allow-get-state`\n- `allow-get-gallery`\n- `allow-select-images`\n- `allow-delete-image`\n- `allow-set-image-crop`\n- `allow-set-setting`\n- `allow-next-wallpaper`",
|
||||
"type": "string",
|
||||
"const": "default",
|
||||
"markdownDescription": "Allow the LockScreenWallpaper app to manage its wallpaper collection\n#### This default permission set includes:\n\n- `allow-get-state`\n- `allow-get-gallery`\n- `allow-select-images`\n- `allow-delete-image`\n- `allow-set-setting`\n- `allow-next-wallpaper`"
|
||||
"markdownDescription": "Allow the LockScreenWallpaper app to manage its wallpaper collection\n#### This default permission set includes:\n\n- `allow-get-state`\n- `allow-get-gallery`\n- `allow-select-images`\n- `allow-delete-image`\n- `allow-set-image-crop`\n- `allow-set-setting`\n- `allow-next-wallpaper`"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user