Jump to content

HWMonitorSMC2.app internalization


vector sigma
 Share

79 posts in this topic

Recommended Posts

  • 2 weeks later...
On 7/24/2019 at 8:19 PM, Andrey1970 said:

Added "GT" = "Package IGPU"

ru.lproj.zip

en.lproj.zip

Thanks and sorry for the late. I've done all in code so no need for translations, and GT (as Package IGPU) is under the Integrated card, excluding the SMC key if already found by Intel Power Gadget. r218.

@jinbingmao, there was something to change in Chinese as far I remembar??

  • Like 1
Link to comment
Share on other sites

9 hours ago, vector sigma said:

谢谢,对不起,迟到了。我已完成所有代码,因此不需要翻译,GT(作为Package IGPU)位于Integrated卡下,不包括SMC密钥(如果Intel Power Gadget已找到)。R218。

@jinbingmao,到目前为止,我记得有什么东西可以改变吗?

“target speed”=“目标速度”

  • Thanks 1
Link to comment
Share on other sites

51 minutes ago, Slice said:

Hi @vector sigma,

Where is ru localization for HWSensors3.pkg should be located?

You can, English and Iitalian are up and running. Make a copy of:

../hwsensors3/package/Resources/en.lproj

in:

../hwsensors3/package/Resources/ru.lproj

and translate each file.

 

P.S. if you added a kext probably you have to add it in makepkg to specify a group:

 

lpcExt=(
F718x
ITEIT87x
PC8739x
W836x
SMIMonitor <-------------
)

otherwise will be added as alone (can also be ok)

 

EDIT

 

ok, we need a description for SMIMonitor, please provide one.

Edited by vector sigma
Link to comment
Share on other sites

  • 4 months later...
On 12/11/2019 at 1:21 PM, Sepphiroth said:

Thanks! Due to some old stuff in the source code I think you keep the wrong files. Can you keep the time to add missing translations from the attached files?

Localizable.strings.zip

Preferences.strings.zip

 

Also, please revise this:

"Proximity" = "Temperatura";

I think this is wrong because "Proximity" stands for the proximity sensor which is soldered on the motherboards near, in proximity, of the CPU. Simply "Temperatura" says nothing. :)

Link to comment
Share on other sites

  • 1 month later...
5 minutes ago, Andrey1970 said:

@vector sigma

Update please ru.lproj.zip

It is invalid. It expect a format argument because this version can show multi cpu packages. I admit is not clear but it should be something to say:

 

Core AVG (package 0)

vs

Core AVG (package 1)

Was "package"... se here. Now I remembar why :angel:

I was rushed to change

Link to comment
Share on other sites

@Andrey1970 sorry, I have to modify the project because it is not right in case of multi CPU Systems. What I need is to have this:

 

when only one CPU Package:

"Cores Temperature AVG" = "Cores Temperature AVG"; // IA Temperature AVG

"Cores Temperature MIN" = "Cores Temperature MIN"; // IA Temperature MIN

"Cores Temperature MAX" = "Cores Temperature MAX"; // IA Temperature MAX

"Cores AVG" = "Cores avg"; // Cores frequency AVG

"Cores MIN" = "Cores min"; // Cores frequency MIN

"Cores MAX" = "Cores max"; // Cores frequency MAX

"Cores REQ" = "Cores req"; // Cores frequency REQ (requested by OS)

"Frequency MIN" = "Frequency min"; // Frequency MIN, IGPU

"Frequency MAX" = "Frequency max"; // Frequency MAX, IGPU

"Frequency REQ" = "Frequency req"; // Frequency REQ (requested by OS), IGPU

 

when more then one CPU Package:

"Cores (Package %d) Temperature AVG" = "Cores (Package %d) Temperature AVG"; // IA Temperature AVG

"Cores (Package %d) Temperature MIN" = "Cores (Package %d) Temperature MIN"; // IA Temperature MIN

"Cores (Package %d) Temperature MAX" = "Cores (Package %d) Temperature MAX"; // IA Temperature MAX

"Cores (Package %d) AVG" = "Cores (Package %d) avg"; // Cores frequency AVG

"Cores (Package %d) MIN" = "Cores (Package %d) min"; // Cores frequency MIN

"Cores (Package %d) MAX" = "Cores (Package %d) max"; // Cores frequency MAX

"Cores (Package %d) REQ" = "Cores (Package %d) req"; // Cores frequency REQ (requested by OS)

"Frequency (Package %d) MIN" = "Frequency (Package %d) min"; // Frequency MIN, IGPU

"Frequency (Package %d) MAX" = "Frequency (Package %d) max"; // Frequency MAX, IGPU

"Frequency (Package %d) REQ" = "Frequency (Package %d) req"; // Frequency REQ (requested by OS), IGPU

 

and maybe we can make Package to be (Pkg)..

Edited by vector sigma
  • Thanks 1
Link to comment
Share on other sites

13 minutes ago, vector sigma said:

@Andrey1970 sorry, I have to modify the project because it is not right in case of multi CPU Systems. What I need is to have this:

 

when only one CPU Package:

"Cores Temperature AVG" = "Cores Temperature AVG"; // IA Temperature AVG

"Cores Temperature MIN" = "Cores Temperature MIN"; // IA Temperature MIN

"Cores Temperature MAX" = "Cores Temperature MAX"; // IA Temperature MAX

"Cores AVG" = "Cores %d avg"; // Cores frequency AVG

"Cores MIN" = "Cores %d min"; // Cores frequency MIN

"Cores MAX" = "Cores %d max"; // Cores frequency MAX

"Cores REQ" = "Cores %d req"; // Cores frequency REQ (requested by OS)

"Frequency MIN" = "Frequency min"; // Frequency MIN, IGPU

"Frequency MAX" = "Frequency max"; // Frequency MAX, IGPU

"Frequency REQ" = "Frequency req"; // Frequency REQ (requested by OS), IGPU

 

when more then one CPU Package:

"Cores (Package %d) Temperature AVG" = "Cores (Package %d) Temperature AVG"; // IA Temperature AVG

"Cores (Package %d) Temperature MIN" = "Cores (Package %d) Temperature MIN"; // IA Temperature MIN

"Cores (Package %d) Temperature MAX" = "Cores (Package %d) Temperature MAX"; // IA Temperature MAX

"Cores (Package %d) AVG" = "Cores (Package %d) avg"; // Cores frequency AVG

"Cores (Package %d) MIN" = "Cores (Package %d) min"; // Cores frequency MIN

"Cores (Package %d) MAX" = "Cores (Package %d) max"; // Cores frequency MAX

"Cores (Package %d) REQ" = "Cores (Package %d) req"; // Cores frequency REQ (requested by OS)

"Frequency (Package %d) MIN" = "Frequency (Package %d) min"; // Frequency MIN, IGPU

"Frequency (Package %d) MAX" = "Frequency (Package %d) max"; // Frequency MAX, IGPU

"Frequency (Package %d) REQ" = "Frequency (Package %d) req"; // Frequency REQ (requested by OS), IGPU

 

and maybe we can make Package to be (Pkg)..

 

 

It would be good not to show it in when only one CPU

2125491382_2020-01-3000_31_42.png.a5cc5cce9f91673ca3f05404871e0b81.png

Link to comment
Share on other sites

27 minutes ago, vector sigma said:

If I'm not mistaken, multi CPU Systems must have cpu that are exactly the same model, right? .. and with no IGPU.., no?

Guys, I want to switch from 'Core' to 'IA'. It's ok for you?

Yes, identical.

Yes, without igpu.

Yes, but can better not IA, and as simply CPU.

 

It seems somewhere there was information that IPG on Mac doesn't support a multi cpu.

Edited by Andrey1970
Link to comment
Share on other sites

18 minutes ago, Andrey1970 said:

 

It seems somewhere there was information that IPG on Mac doesn't support a multi cpu.

The IntelPowerGadget.framework is built for macOS and have multi CPU support.

/*@function PG_GetNumPackages
* @abstract Gets the number of Intel processor packages on this system.
* @param numPackages Pointer that will be updated with the number of Intel processor packages on this system.
* @result True on success, false on failure. */
bool PG_GetNumPackages(int* numPackages);

Can't be mistaken. If there are no macs with dual cpu..... then Intel is going to make hackintoshers happy Lol.. or something is coming...

18 minutes ago, Andrey1970 said:

Yes, but can better not IA, and as simply CPU.

IA will be in the source code only, but CPU it's not correct when you have to distinguish between the entire package vs the core part. So "Core" is still the winner.

 

P.S. the IntelPowerGadget.framework print a message that says that old headers are deprecated and in the near future will be removed. The last one, which we're using, is the one with multi CPU package support...

 

EDIT

I'll do that tomorrow..

Edited by vector sigma
Link to comment
Share on other sites

5 minutes ago, vector sigma said:

The IntelPowerGadget.framework is built for macOS and have multi CPU support.

 

But I know that IPU not install on such CPU, even if one CPU. For example Soket-2011. 

But it is possible to copy manually: app, kext and framework.

Link to comment
Share on other sites

11 minutes ago, Andrey1970 said:

 

But I know that IPU not install on such CPU, even if one CPU. For example Soket-2011. 

But it is possible to copy manually: app, kext and framework.

IPU can't, but if you manually copy binaries, HWMonitorSMC2.app has no such limitation:

if cpuVendor == "GenuineIntel" {
   let family : Int = System.sysctlbynameInt("machdep.cpu.family")
   let model : Int = System.sysctlbynameInt("machdep.cpu.model")
        
   if family == 6 && model >= 42 /* Xeon supported: && model != 44 && model != 46 && model != 47 */ {
       ...
   }
   ...

but then, I'm pretty sure Intel built a big hackintosh :hysterical:

Edited by vector sigma
  • Haha 2
Link to comment
Share on other sites

 Share

×
×
  • Create New...