Skip to content

Instantly share code, notes, and snippets.

@maz-1
Created January 23, 2017 11:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save maz-1/96fc534b20f36454212fe0726139d4e2 to your computer and use it in GitHub Desktop.
Save maz-1/96fc534b20f36454212fe0726139d4e2 to your computer and use it in GitHub Desktop.
Fix kde-servicemenus-rootactions i18n support
diff -Naur a/Root_Actions_2.9/rootactions-servicemenu.pl b/Root_Actions_2.9/rootactions-servicemenu.pl
--- a/Root_Actions_2.9/rootactions-servicemenu.pl 2017-01-23 19:01:50.962827697 +0800
+++ b/Root_Actions_2.9/rootactions-servicemenu.pl 2017-01-23 19:02:34.582792120 +0800
@@ -896,7 +896,8 @@
$KDELANG = $ENV{LANG};
+ $KDELANG =~ s/\..*//;
}
chomp($KDELANGSHT = substr("$KDELANG",0,2));
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment