It is currently May 1st, 2024, 6:30 am
Enigma Gcal Language
-
- Posts: 7
- Joined: December 3rd, 2011, 4:50 pm
Enigma Gcal Language
Can Someone please help me, I am using Gcal on Enigma, and I have one problem, the dates on gcal is showing me on my language, i want it to be english. how do i do it?
You do not have the required permissions to view the files attached to this post.
-
- Posts: 271
- Joined: February 16th, 2011, 12:46 am
- Location: California
Re: Enigma Gcal Language
In the measure that returns the days, use substitutes, like:
Substitute="Sab":"Sat", "Dom":"Sun", "Lun":"Mon", "Mar":"Tue"... etc.
Do the same for the measure returning months, though I think the only sub you need is April, right?
Substitute="Abr":"Apr"
Hope it helps, cheers.
//JoBu
Substitute="Sab":"Sat", "Dom":"Sun", "Lun":"Mon", "Mar":"Tue"... etc.
Do the same for the measure returning months, though I think the only sub you need is April, right?
Substitute="Abr":"Apr"
Hope it helps, cheers.
//JoBu
-
- Posts: 7
- Joined: December 3rd, 2011, 4:50 pm
Re: Enigma Gcal Language
Thanks! But where do i put it though?JoBu wrote:In the measure that returns the days, use substitutes, like:
Substitute="Sab":"Sat", "Dom":"Sun", "Lun":"Mon", "Mar":"Tue"... etc.
Do the same for the measure returning months, though I think the only sub you need is April, right?
Substitute="Abr":"Apr"
Hope it helps, cheers.
//JoBu
Code: Select all
;---------------------------------------------------------------------
; ENIGMA GCAL
[Rainmeter]
Author=Kaelri
AppVersion=2001000
LeftMouseDoubleClickAction=!Execute [!WriteKeyValue Variables Variant1 #Variant2#][!WriteKeyValue Variables Variant2 #Variant3#][!WriteKeyValue Variables Variant3 #Variant4#][!WriteKeyValue Variables Variant4 #Variant5#][!WriteKeyValue Variables Variant5 #Variant1#][!Refresh]
[Variables]
@include=#SKINSPATH#Enigma\Resources\Variables\UserVariables.inc
ItemTitle1=Loading...
ItemDate1=
;---------------------------------------------------------------------
; STYLES
@include2=#SKINSPATH#Enigma\Resources\Styles\#Stylesheet#\Variables.inc
@include3=#SKINSPATH#Enigma\Resources\Styles\#Stylesheet#\TaskbarCommon.inc
SkinWidthMultiplier=2.5
Variant1=Normal
Variant2=Mini
Variant3=Tiny
Variant4=Icon
Variant5=IconRight
;---------------------------------------------------------------------
; MEASURES
[MeasureFeed]
Measure=Plugin
Plugin=Plugins\WebParser.dll
UpdateRate=600
Url=#GoogleCalendar1#?max-results=4&futureevents=true&singleevents=true&orderby=starttime&sortorder=a
RegExp=(?siU)(.*)$
DecodeCharacterReference=1
Substitute=#WebParserSubstitute#
FinishAction=!CommandMeasure "MeasureScriptReader" "Update()"
[MeasureScriptReader]
Measure=Script
ScriptFile="#SKINSPATH#Enigma\Resources\Measures\Reader.lua"
Disabled=1
FeedMeasureName=MeasureFeed
;---------------------------------------------------------------------
; METERS
[Background]
Meter=Image
MeterStyle=Style#Variant1#Background
[Icon]
Meter=IMAGE
MeterStyle=Style#Variant1#Icon | StyleGcalIcon
[What]
Meter=STRING
MeterStyle=Style#Variant1#Text
Text=#ItemTitle1#
LeftMouseUpAction=!Execute ["#ItemLink1#"]
DynamicVariables=1
[When]
Meter=STRING
MeterStyle=Style#Variant1#Label
Text=#ItemDate1#
DynamicVariables=1
;---------------------------------------------------------------------
; METADATA
[Metadata]
Name=Enigma Gcal
Config=Enigma | Taskbar | Reader | Gcal
Description=This skin shows the next upcoming event in your primary Google Calendar feed. | · Thanks to miniority for the revelation I needed to make this skin.
Instructions=· Double-click to switch to the next variant. | · Middle-click to refresh. | · Load Enigma\Options.ini to change options for this skin.
Version=3.1
Tags=Calendar | Taskbar | Google
License=Creative Commons Attribution-Non-Commercial-Share Alike 3.0
Preview=#SKINSPATH#Enigma\Resources\Images\Preview.png
-
- Posts: 271
- Joined: February 16th, 2011, 12:46 am
- Location: California
Re: Enigma Gcal Language
Sorry, I forgot to add that. Also, I didn't realize it was a lua script... try adding the Substitute line in the [When] section, and if that doesn't work, try adding it to the Measure that has the RegExp in it... along with the other substitute.
So, if [When] doesn't work, then try it like this:
[MeasureFeed]
Measure=Plugin
Plugin=Plugins\WebParser.dll
UpdateRate=600
Url=#GoogleCalendar1#?max-results=4&futureevents=true&singleevents=true&orderby=starttime&sortorder=a
RegExp=(?siU)(.*)$
DecodeCharacterReference=1
Substitute=#WebParserSubstitute#, "Lun":"Mon", "Mar":"Tue", ...
FinishAction=!CommandMeasure "MeasureScriptReader" "Update()"
You may even be able to open UserVariables.inc and add the substitutes to WebParserSubstitute - just make sure you don't mess with anything already in the substitute.
I wonder if changing your language settings in google calendar would make the change you want automatically?
To test, if you want to, do:
1. Sign in to Google Calendar at http://www.google.com/calendar (use the web browser on your computer, not a mobile browser).
2. Click Settings from the top of any Google Calendar page.
3. Select the desired language from the 'Language' drop-down menu.
4. Click Save.
So, if [When] doesn't work, then try it like this:
[MeasureFeed]
Measure=Plugin
Plugin=Plugins\WebParser.dll
UpdateRate=600
Url=#GoogleCalendar1#?max-results=4&futureevents=true&singleevents=true&orderby=starttime&sortorder=a
RegExp=(?siU)(.*)$
DecodeCharacterReference=1
Substitute=#WebParserSubstitute#, "Lun":"Mon", "Mar":"Tue", ...
FinishAction=!CommandMeasure "MeasureScriptReader" "Update()"
You may even be able to open UserVariables.inc and add the substitutes to WebParserSubstitute - just make sure you don't mess with anything already in the substitute.
I wonder if changing your language settings in google calendar would make the change you want automatically?
To test, if you want to, do:
1. Sign in to Google Calendar at http://www.google.com/calendar (use the web browser on your computer, not a mobile browser).
2. Click Settings from the top of any Google Calendar page.
3. Select the desired language from the 'Language' drop-down menu.
4. Click Save.
-
- Posts: 7
- Joined: December 3rd, 2011, 4:50 pm
Re: Enigma Gcal Language
Tried everything, It didnt work, maybe I missed something