Quote
Dorian
Contributors:
It would be good to know who is doing what.
I will do the German locale.
I found that using the main.kmm updated by desga2 on the 28.11.2010 will allow me to switch the language to German permanently. I did not find out why.
But I suggest we use all his 1.6 kmm and menus as basis for the current work. There is no reason to reinvent the wheel.
He updated e.g. mtypes.kmm to use kmprefs pref.xul item.
# K-Meleon Macros (http://kmeleon.sourceforge.net/wiki/index.php?id=MacroLanguage)
# ---------- mtypes Extension (MIME Type Editor) -------------------------------------------------------------------
#
# Dependencies : main.kmm (OpenURL)
# Resources : -
# Preferences : -
#
# ------------------------------------------------------------------------------------------------------------------
mtypes{
macroinfo=_("Change file type settings");
$OpenURL="chrome://kmprefs/content/pref.xul?filetypes"; &OpenURL_InNewWindow;
#$OpenURL="chrome://kmprefs/content/pref-filetypes.xul"; &OpenURL_InNewWindow;
#macros(kmPrefs(filetypes));
#$OpenURL="chrome://mtypes/content/pref/pref.xul"; &OpenURL_InNewWindow;
}
# ----- PRIVATE
_mtypes_BuildMenu{
# edit menu
setmenu(Preferences,macro,"MIME T&ypes...",mtypes);
}
$OnInit=$OnInit."_mtypes_BuildMenu;";
# ------------------------------------------------------------------------------------------------------------------
$macroModules=$macroModules."mtypes;";
desga2 also updated the search engines and weeded out dead ones. I posted his work and some engines I added since in a thread recently. Maybe I should re-post so that all users can help to weed out dead engines and suggest new ones.
The minimalist FF installer is good enough for me. It saves valuable time to reuse it. The portable install option needs a warning, that You need writing privileges if it is used on HDD.
Else some DAUs will use it without privileges and then they will complain that KM does not start or that it does not update its settings.
And You should maybe include this kmm by JamesD and desga2 with macros.
# K-Meleon Macros (http://kmeleon.sourceforge.net/wiki/index.php?id=MacroLanguage)
#
# File name: troubleshooting.kmm
#
# ---------- To check for user write priviledge on current profile -----
#
# Dependencies : main.kmm
# Resources : priviledge.ini, priviledge.htm, large-alert.png
# Version : 0.3 10/30/10
# Author : JamesD & desga2 modifications
# ----------------------------------------------------------------------
_Priviledge_RunCode {
macroinfo=_("Check KM profile write priviledge");
$_Priviledge_Path = getfolder(ProfileFolder);
$_Priviledge_Section = "Profile";
$_Priviledge_Key = "Current" ;
$_Priviledge_End = index($_Priviledge_Path,".");
$_Priviledge_Start = $_Priviledge_End - 1;
while($_Priviledge_Start < $_Priviledge_End) {
$_Priviledge_Char = substr($_Priviledge_Path,$_Priviledge_Start,1);
if ($_Priviledge_Char != "\\") {
$_Priviledge_Start=$_Priviledge_Start-1;
} else {
$_Priviledge_Value = substr($_Priviledge_Path,$_Priviledge_Start + 1, 8);
$_Priviledge_Start = $_Priviledge_End +1;
}
}
$_Priviledge_Path = $_Priviledge_Path . "\\Priviledge.ini";
iniwrite($_Priviledge_Section, $_Priviledge_Key, $_Priviledge_Value, $_Priviledge_Path);
macros(_Priviledge_Validate);
}
_Priviledge_Validate {
# Value remains after delete because iniread is reading cached info in registry
$_Priviledge_Value2 = iniread("","","","");
$_Priviledge_Value2 = iniread($_Priviledge_Section, $_Priviledge_Key, $_Priviledge_Value2, $_Priviledge_Path);
if ($_Priviledge_Value != $_Priviledge_Value2) {
$_Priviledge_WarnPath="about:mozilla";
opennew($_Priviledge_WarnPath);
} else {
exec("cmd /c ERASE \"".$_Priviledge_Path."\"");
exec("command /c ERASE \"".$_Priviledge_Path."\"");
statusbar(_("KM profile priviledge checked successfully"));
alert(_("KM profile priviledge checked successfully."), _("Check Priviledge"), INFO);
}
}
_Troubleshooting_BuildMenu {
setmenu(KMDocs, popup, _("Troubleshooting"), -1);
setmenu(_("Troubleshooting"), macro, _("Check Priviledge"), _Priviledge_RunCode);
}
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
$OnInit=$OnInit."_Troubleshooting_BuildMenu;";
$macroModules=$macroModules."Troubleshooting;";
The English.nlf of the installer needs to be in the locale package so that it can be translated.
sessions.dll and read me.html of locale are currently French not English.
Maybe change that.
p.s. siria and I are the only active German speakers left. Maybe she will help with the translation (she is a far better translator than me) but I doubt it since she could only possibly use K-Meleon if the K-Meleon exe and kplugin.dll were compiled with VC 8. She is still on Win98. No idea whether the Firefox SDK needed for VC8 can be still build from Mozilla sources. I have not tried yet.
Quote
George Hall
The toolbar.cfg in the skin AuraAlpha(Large) has a bug which iocon the "Save Page as" is a black box.
The function below is the problem or more exactly the line mainbardead.bmp[5]
&Save Page As...(24,24){
Save{
ID_FILE_SAVE_AS
&Save Page As...
mainbarhot.bmp[5]
mainbarcold.bmp[5]
mainbardead.bmp[5]
}
}
The function below is what the function for "Save Page as" shoiuld look like from K-Meleon 74Beta did nit display that black icon.
&Save Page As...(24,24){
Save{
ID_FILE_SAVE_AS
&Save Page As...
mainbarhot.bmp[5]
mainbarcold.bmp[5]
mainbarcold.bmp[5]
}
}
The way should have wrote that function when you updated it in toolbars.cfg
&Save Page As...(24,24){
Save{
ID_FILE_SAVE_AS
&Save Page As...
mainbarhot.bmp[5]
mainbarcold.bmp[5]
}
}
To fix the problme of the line mainbarcold.bmp[5] being used twice.
Yes I know. It is my fault that mainbardead.bmp has only 3 icons. And that an icon that does not exist is in the code. I fixed this years ago in the skin I use.
But never remembered that the official version must have the same bug.
The fix in my used skin is:
&Save Page As...(24,24){
Save{
ID_FILE_SAVE_AS
&Save Page As...
mainbarhot.bmp[5]
mainbarcold.bmp[5]
mainbarcold.bmp[5]
}
}
Or You can create a mainbardead.bmp that has the fifth icon.
Quote
George Hall
Quote
George Hall
K-Meleon 74 Beta2 does not run at all when the profiles are stored in the K-Meleon 74 Program Folder in the "C:\Program Files (x86)" folder unless you run kmeleon.exe as an administrator or run it Windows XP Service Pack 3 compatabilty mode.
kmeleon.exe only running "Administrator Mode" or "Compatibility Mode" when wed store profiles in the K-Mleoen 74 Beta2 Program Folder is something that needs to be fixed.
I found why kmeleon.exe K-Meleon 74 Beta2 would not launch as portbale version.
The kmeleon.exe will not launch if their is no profile already in K-Meleon Program Folder.
However, it will not load that profile unlesss kmeleon.exe runs as administrator, uses Windows XP Serice Pack 3, or setturity settings of the K-Meleon 74 Beta2 Folser unless you give full control to your adminstrator User Name or full control to everyone to allow to load that profile.
The profile can be created in that folder by K-Meleon 74 Beta 2 if one of three things above are enabled.
Naturally. The portable install on HDD will either not start or not update its settings on Windows 7+ if You do not grant writing privileges to that folder or more accurately to its ./profiles... folder. & It will only start if a profile is present because You installed it as administrator but then it cannot update or change anything in it. This behavior is owed to the security features of Windows 7.
It is baically the same on any NT based Windows if You work in user not administrator mode. But it is particularly burdensome on Windows 7 and Windows 8. Because all OS settings are harder to change.
That is IMHO no bug of K-Meleon and it does not need to be fixed. We all should instead go to Seattle / MS headquarters & demonstrate for special liberties / privileges for free software.
Edited 3 time(s). Last edit at 02/10/2014 01:08PM by guenter.