Skip to content

Instantly share code, notes, and snippets.

View takeit's full-sized avatar
🏠
Working from home

Rafał Muszyński takeit

🏠
Working from home
View GitHub Profile
@takeit
takeit / article_types.pl.yml
Last active December 22, 2015 10:39
Output file converted by Lingohub.
---
$1 article type $2: $1 typ artykułu $2
$1 comments for article type $1: $1 komentarzy do typu artykułu $2
$1 comments for article type $2: $1 komentarzy do typu artykułu $2
$1 of $2: $1 z $2
(!) Do NOT merge $1: (1) NIE łącz $1
(Duplicate warning:
): (Ostrzeżenie o duplikacji.)
(No merge warning:
): (Ostrzeżenie o braku łączenia.)
@takeit
takeit / article_types.yml
Created September 6, 2013 07:21
This is the source file.
'No such article type': 'No such article type'
'Multi-line Text': 'Multi-line Text'
'Filter saved': 'Filter saved'
'Filter not saved': 'Filter not saved'
'Not a color': 'Not a color'
'No such field': 'No such field'
'Color saved': 'Color saved'
'Color not saved': 'Color not saved'
'Topic created': 'Topic created'
'The topic name is already in use by another topic.': 'The topic name is already in use by another topic.'
---
A total of $1 articles were deleted: A total of $1 articles were deleted.
Add new translation: Add new translation
Are you sure you want to change the issue $1 status from $2 to $3?: Are you sure you want to change the issue $1 status from $2 to $3?
Are you sure you want to delete the issue $1?: Are you sure you want to delete the issue $1?
Change issue details: Change issue details
Click here to publish this issue: Click here to publish this issue
Copy previous issue: Copy previous issue
Copy structure from issue number $1: Copy structure from issue number $1
Copy the entire structure in all languages from the previous issue except for content: Copy the entire structure in all languages from the previous issue except for content.
@takeit
takeit / issues.yml
Created September 12, 2013 10:20
source file
'so that default templates can be assigned to the issue.': 'so that default templates can be assigned to the issue.'
'Once this is done, the issue can be published': 'Once this is done, the issue can be published'
'This issue cannot be previewed. Please make sure the publication has a theme assigned.': 'This issue cannot be previewed. Please make sure the publication has a theme assigned.'
'This issue cannot be previewed. Please make sure it has the front template selected.': 'This issue cannot be previewed. Please make sure it has the front template selected.'
'Publish all articles:': 'Publish all articles:'
'Publish all articles': 'Publish all articles'
'Force publishing of all articles. If set to No, only articles with Publish with Issue status will be published.': 'Force publishing of all articles. If set to No, only articles with Publish with Issue status will be published.'
default: default
'The publishing/unpublishing can not be set the same time': 'The publishing/unpublishing can not be set the same t
@takeit
takeit / articles.en.yml
Created September 12, 2013 13:47
File after fixed line breaks after the '.' char..
---
$1 articles successfully imported: $1 articles successfully imported.
$1 toggled: $1 toggled.
! '---Select article type---': ! '---Select article type---'
A section must be created for the selected language but you do not have the right to create a section: A section must be created for the selected language but you do not have the right to create a section.
A section must be created for the selected language. Please enter the section name and URL name.: A section must be created for the selected language. Please enter the section name and URL name.
Actions updated: Actions updated.
Add another author: Add another author
Add list: Add list
Add to list: Add to list
@takeit
takeit / articles.en-original.yml
Last active December 22, 2015 22:09
Orginal articles.en.yml file
'Edit metadata': 'Edit metadata'
Rating: Rating
'Enable Rating': 'Enable Rating'
'Blog management': 'Blog management'
'View article': 'View article'
'Select a list': 'Select a list'
'Remove list': 'Remove list'
'Please select a list': 'Please select a list'
Playlist: Playlist
'List updated.': 'List updated.'
'Display newsfeed images': 'Display newsfeed images'
'Mark image': 'Mark image'
'Add selected images to slideshow': 'Add selected images to slideshow'
'Sorry that image is too small. Image needs to be at least %dx%d.': 'Sorry that image is too small. Image needs to be at least %dx%d.'
'Slideshow rendition': 'Slideshow rendition'
'Renditions reloaded': 'Renditions reloaded'
'Reload renditions': 'Reload renditions'
'Edit images': 'Edit images'
'Specify image url if you want to load it.': 'Specify image url if you want to load it.'
'Items: ': 'Items: '
---
Add New Image: Neues Bild hinzufügen
Add caption: Bildlegende hinzufügen
Add selected images to slideshow: Der Slideshow ausgewählte Bilder hinzufügen
Add video: Video hinzufügen
Add video url (e.g. http://vimeo.com/25083275 for Vimeo, http://youtu.be/1XsPVO61e9w for YouTube): 'Video
URL hinzufügen (z.B. http://vimeo.com/25083275 für Vimeo, http://youtu.be/1XsPVO61e9w
für YouTube) '
Attach & Place: Anhängen & platzieren
Attach Existing Image: Vorhandenes Bild anhängen
<VirtualHost *:80>
ServerName newscoop.dev
DocumentRoot %TRAVIS_BUILD_DIR%
SetEnv APPLICATION_ENV "development"
<Directory "%TRAVIS_BUILD_DIR%">
Options Indexes FollowSymLinks MultiViews
DirectoryIndex index.php
AllowOverride all
Order deny,allow
<?php
//Symfony2 controllers translator container
$translator = $this->get('translator');
//non Symfony2 controllers
$translator = \Zend_Registry::get('container')->getService('translator');
//translating string
$translator->trans('newscoop.preferences.error.cache',
array('%cache%' => $cache_engine), 'system_pref'