app.registerLang({
	'site.title': 'mySchoolNotebook.com',
	'site.partners': 'Partners:',

	'format.dateTime': 'mm/dd/yyyy hh:MM:ss TT',
	'format.date': 'mm/dd/yyyy',

	'error.unknown': 'An unknown error occured. Sorry!',
	'error.sessionExpired': 'Your session has expired &ndash; you need to refresh it.',

	'extensions': 'Extensions',
	'extension.loading': 'Loading extensions&hellip;', 

	'settings': 'Setings',

	'link.team': 'Team',
	'link.support': 'User support',
	'link.tos': 'Terms of service',
	'link.pp': 'Privacy policy',
	'link.feedback': 'Send feedback',

	'premium.header-upgrade': '<strong>Upgrade</strong><br>to&nbsp;premium',
	'premium.upgrade': 'Upgrade to premium',
	'premium.extend': 'Extend your premium membership',
	'premium.expiresIn': 'Your premium membership expires in <%= days %> days.',
	
	'premium.upgrade-popover.title': 'This is a premium feature.',
	'premium.upgrade-popover.info': 'To use this feature, upgrade to the premium plan.',
	'premium.upgrade-popover.more-info': 'What else do I get by upgrading?',
	'premium.notebook.upgrade-popover.info': 'You have reached the maximum of 1 free notebook. To remove this limitation, upgrade to the <strong>premium</strong> plan.',
	'premium.accept_notebook_sharing.upgrade-popover.info': 'You have reached the maximum of 1 shared notebook. To remove this limitation, upgrade to the <strong>premium</strong> plan.',

	'sync': 'Synchronization',
	'sync.syncing': 'Synchronizing&hellip;',
	'sync.syncing.status': '<p>This operation can take up to several <strong>tens of seconds</strong> depending on amount of your data.</p>',
	'sync.lastDownload': 'Last download:',
	'sync.synced': 'All changes synced',
	'sync.uploadsLeft': 'Pending uploads: <%= left %>',
	'sync.uploading': '(<%= left %>) Uploading changes&hellip;',
	'sync.downloading': 'Downloading changes&hellip;',
	'sync.now': 'Sync now',

	'database.prepairing': 'Database preparation&hellip;', 
	'database.prepairing.status': '<p>This operation can take up to several <strong>tens of seconds</strong> depending on amount of newly created content.</p>',

	'session.signin': 'Log in',
	'session.re-signin': 'Refresh session',
	'session.signout': 'Log out',
	'session.register': 'Registration',
	'session.signin.error': 'We can\'t sign you in now.',
	'session.signout.error': 'We can\'t sign you out now.',
	
	'user.notExists': 'User not found',
	'user.fb.profile': 'Facebook profile',
	
	'notebook.create': 'New notebook',
	'notebook.create.emptyTitle': 'You must enter a name for your new notebook.',
	'notebook.emptyTitle': 'You must enter a name for your notebook.',
	'notebook.notExists': 'Notebook not found',
	'notebook.notPublic': 'This notebook is not publicly accessible.',
	'notebook.empty': 'There are no notes in this notebook.',
	'notebook.sharing': 'Sharing',
	'notebook.sharingOf': 'Sharing of the notebook &#132;<%= title %>&#147; <small>(<%= year %>)</small>',
	'notebook.sharing.connection': 'Internet connection',
	'notebook.sharing.connection.message': 'You need to be connected to the Internet to access and modify the sharing settings. Please, check your connection and try again.',
	'notebook.sharing.notReady': 'This notebook has not been stored on the server yet. Please, wait for the synchronization to finish and try again.',
	'notebook.sharing.cancel': 'Cancel sharing',
	'notebook.sharing.cancel.confirm': 'Do you really want to cancel sharing?',
	'notebook.sharing.cancel.offline': 'You need to be connected to the Internet to cancel sharing.',
	'notebook.sharing.noFriends': 'No friends to choose from',
	'notebook.sharing.empty': 'You are not sharing this notebook with anyone.',
	'notebook.sharing.allowContribution': 'Allow contribution',
	'notebook.sharing.saved': 'Saved',
	'notebook.publishing.didYouKnow': 'Did you know that you can make your notebooks public?',
	'notebook.publishing.intro': '<p>Public notebooks are viewable by anyone and they are even featured on your public profile and in search engines such as Google.</p>',
	'notebook.publishing.enable': 'Enable publishing',
	'notebook.publishing.disable': 'Disable publishing',
	'notebook.public': 'Public notebook',
	'notebook.delete.confirm': 'Do you really want to delete this notebook?',
	
	'notebook.none': 'No notebooks',
	'lesson.none': 'No content',

	'topic.create': 'Add a topic',
	'topic.defaultTitle': '(New topic)',
	'topic.emptyTitle': 'You must enter a name for your topic.',
	'topic.delete.confirm': 'Do you really want to delete the topic "<%= name %>"?',
	
	'lesson.create': 'Add a lesson',
	'lesson.saving': 'Saving&hellip;',
	'lesson.saved': 'Lesson saved: <%= date %>',
	'lesson.delete.confirm': 'Do you really want to delete this lesson?',
	
	'attachment.title_edit.help': 'Press <span class="strong">Enter</span> to <span class="strong">save</span>, press <span class="strong">escape</span> to <span class="strong">cancel</span>',
	'attachment.emptyTitle': 'You must enter a name for your attachment.',
	'attachment.delete.confirm': 'Do you really want to delete the attachment "<%= file_name %>"?',
	
	'button.no': 'No',
	'button.rename': 'Rename',
	'button.delete': 'Delete',
	'button.deleteNotebook': 'Delete notebook',
	'button.edit': 'Edit',
	'button.save': 'Save',
	'button.close': 'Save and close',
	'button.cancel': 'Cancel',
	'button.insert': 'Insert',
	'button.publish': 'Publish',
	'button.sharing': 'Sharing',
	'button.stopPublishing': 'Disable publishing',
	'button.cancelSharing': 'Cancel sharing',
	'button.show': 'Show',
	'button.download': 'Download',
	'button.print': 'Print',
	'button.export-pdf': 'Export to PDF',
	'button.upload-file': 'Upload a file',
	
	'title': 'Title',
	'professor': 'Teacher\'s name',
	
	'search': 'Search',
	'search.placeholder': 'Search query',

	'editor.inline.strong': 'Strong emphasis',
	'editor.inline.emphasised': 'Emphasis',
	'editor.inline.underlined': 'Underlined',
	'editor.inline.strike': 'Strikethrough',
	'editor.inline.subtext': 'Subscript',
	'editor.inline.supertext': 'Superscript',
	'editor.inline.highlight': 'Highlighter',
	'editor.inline.color': 'Color',
	'editor.block.text': 'Paragraph',
	'editor.block.h1': 'Heading 1',
	'editor.block.h2': 'Heading 2',
	'editor.block.h3': 'Heading 3',
	'editor.block.h4': 'Heading 4',
	'editor.block.code': 'Code',
	'editor.table': 'Table', 
	'editor.image': 'Image', 
	'editor.voice': 'Recording', 

	'requests.sharing': 'User ' +
		'<a href="<%= app.link("user:", { username: origin["users:username"] }) %>"><%= origin["users:realname"] %></a>' +
		' invited you to <%= origin["users:gender"] === "male" ? "his" : "her" %> notebook ' +
		'<a href="<%= app.link("notebook:", { id: subject.id }) %>"><%= subject[":title"] %></a>.'
});
