Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(73)

Side by Side Diff: chrome/browser/resources/chromeos/login/screen_locally_managed_user_creation.js

Issue 17494004: Update Managed user strings for ChromeOS (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** 5 /**
6 * @fileoverview Locally managed user creation flow screen. 6 * @fileoverview Locally managed user creation flow screen.
7 */ 7 */
8 8
9 login.createScreen('LocallyManagedUserCreationScreen', 9 login.createScreen('LocallyManagedUserCreationScreen',
10 'managed-user-creation', function() { 10 'managed-user-creation', function() {
(...skipping 789 matching lines...) Expand 10 before | Expand all | Expand 10 after
800 return; 800 return;
801 } 801 }
802 chrome.send('abortLocalManagedUserCreation'); 802 chrome.send('abortLocalManagedUserCreation');
803 }, 803 },
804 804
805 updateText_: function() { 805 updateText_: function() {
806 var managerId = this.context_.managerId; 806 var managerId = this.context_.managerId;
807 this.updateElementText_('created-1-text-1', 807 this.updateElementText_('created-1-text-1',
808 'createManagedUserCreated1Text1', 808 'createManagedUserCreated1Text1',
809 this.context_.managedName); 809 this.context_.managedName);
810 this.updateElementText_('created-1-text-2',
811 'createManagedUserCreated1Text2',
812 this.context_.managedName, loadTimeData.getStringF('managementURL'));
ygorshenin1 2013/06/20 15:48:35 What is the argument for the format?
Denis Kuznetsov (DE-MUC) 2013/06/20 16:22:36 Fixed that.
810 this.updateElementText_('created-1-text-3', 813 this.updateElementText_('created-1-text-3',
811 'createManagedUserCreated1Text3', 814 'createManagedUserCreated1Text3',
812 managerId); 815 managerId);
813 this.updateElementText_('created-3-text-2', 816 this.updateElementText_('created-3-text-2',
814 'createManagedUserCreated3Text2', 817 'createManagedUserCreated3Text2',
815 loadTimeData.getStringF('managementURL'), 818 loadTimeData.getStringF('managementURL'),
816 managerId); 819 managerId);
817 this.updateElementText_('created-3-text-3', 820 this.updateElementText_('created-3-text-3',
818 'createManagedUserCreated3Text3', 821 'createManagedUserCreated3Text3',
819 managerId); 822 managerId);
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
860 this.setVisiblePage_('error'); 863 this.setVisiblePage_('error');
861 }, 864 },
862 865
863 showManagerPasswordError: function() { 866 showManagerPasswordError: function() {
864 this.disabled = false; 867 this.disabled = false;
865 this.showSelectedManagerPasswordError_(); 868 this.showSelectedManagerPasswordError_();
866 } 869 }
867 }; 870 };
868 }); 871 });
869 872
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698