Before upgrade to 9.63, I have customize the Home button to Close.
It is working well till I upgraded to 9.63. Now it is displaying Home , instead of Close. No matter what values I changed to for whichever labels, it is not displaying the translated labels.
Thank you
(function() {
'use strict';
angular
.module('app')
.config(['$translateProvider', 'calendarOptions', function ($translateProvider, calendarOptions) {
//English language and substitutions
$translateProvider.translations('en', {
//These are name value pairs. Customize the values only (the item after the colon)
'Home': "Close"
'Calendars': "Calendars",
'Filters': "Filters",
'Settings': "Settings",
Label and Translation not working after upgrade to 9.63
4 posts
• Page 1 of 1
Posts: 36
Joined: Tue Mar 31, 2009 2:14 am Location: SINGAPORE |
|
Posts: 2764
Joined: Thu Nov 20, 2003 11:01 am |
Hi there,
I think this is because you're missing the comma after Close; it should look like... //These are name value pairs. Customize the values only (the item after the colon) 'Home': "Close", 'Calendars': "Calendars", 'Filters': "Filters", Note that I sometime have to apply the changes more than once to force the cache to clear; that or close and reopen the file after making translation changes. Hope that helps, John John Sindelar
SeedCode |
Posts: 36
Joined: Tue Mar 31, 2009 2:14 am Location: SINGAPORE |
Merry Christmas,
I did have the comma after the close. But I found the source of the problem. Let me try to explain It is caused by the slanting double code. When I changed the label from "Home" to "Close", I accidentally deleted the closing double quote . I then inserted the double quote from the keyboard. Problem was this double quote is a "slanting" double quote. This was the problem. The double quote must be "vertical". Cheers
|
Posts: 2764
Joined: Thu Nov 20, 2003 11:01 am |
Excellent! Thanks for the screenshot.
John Sindelar
SeedCode |
4 posts
• Page 1 of 1
Return to DayBack Calendar for FileMaker
Who is online
Users browsing this forum: No registered users and 3 guests