Skip to content

Commit

Permalink
fix: Make "Dock Size" header translatable
Browse files Browse the repository at this point in the history
Addresses #47.
  • Loading branch information
ids1024 authored and mmstick committed Jul 28, 2021
1 parent 43820e9 commit 880980f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions i18n/en/pop_desktop_widget.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ dock-intelligently-hide-description = Dock hides when any window overlaps the do
dock-launcher = Show Launcher Icon in Dock
dock-mounted-drives = Show Mounted Drives
dock-options = Dock Options
dock-size = Dock Size
dock-position = Position on the Desktop
dock-show-on-display = Show Dock on Display
dock-visibility = Dock Visibility
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,7 @@ fn dock_visibility<C: ContainerExt>(container: &C) {

fn dock_size<C: ContainerExt>(container: &C) {
if let Some(settings) = settings::new_checked("org.gnome.shell.extensions.dash-to-dock") {
let list_box = settings_list_box(container, "Dock Size");
let list_box = settings_list_box(container, &fl!("dock-size"));

let mut description: String = [&fl!("size-small"), " (36px)"].concat();
let radio_small = radio_row(&list_box, &description, None);
Expand Down

0 comments on commit 880980f

Please sign in to comment.