Skip to content
Permalink
Browse files
remove random debugging
  • Loading branch information
ralsina committed Jul 20, 2015
1 parent 74f16c1 commit 94e695d79cb87f8157bb8187ee4d7e1b76e2fa27
@@ -2,38 +2,38 @@
from __future__ import unicode_literals

MESSAGES = {
"%d min remaining to read": "",
"(active)": "",
"%d min remaining to read": "%d min gjenstår å lese",
"(active)": "(aktiv)",
"Also available in:": "Også tilgjengelig på:",
"Archive": "Arkiv",
"Categories": "Kategorier",
"Comments": "",
"Comments": "Kommentarer",
"LANGUAGE": "norsk",
"Languages:": "",
"Languages:": "Språk:",
"More posts about %s": "Flere innlegg om %s",
"Newer posts": "Nyere innlegg",
"Next post": "Neste innlegg",
"No posts found.": "",
"Nothing found.": "",
"No posts found.": "Fant ingen innlegg.",
"Nothing found.": "Fant ingenting.",
"Older posts": "Eldre innlegg",
"Original site": "Opprinnelig side",
"Posted:": "Publisert:",
"Posts about %s": "Innlegg om %s",
"Posts for year %s": "Innlegg fra %s",
"Posts for {month} {day}, {year}": "",
"Posts for {month} {day}, {year}": "Innlegg fra {day}. {month} {year}",
"Posts for {month} {year}": "Innlegg fra {month} {year}",
"Previous post": "Forrige innlegg",
"Publication date": "",
"RSS feed": "",
"Publication date": "Publiseringsdato",
"RSS feed": "RSS-nyhetskanal",
"Read in English": "Les på norsk",
"Read more": "Les mer",
"Skip to main content": "",
"Skip to main content": "Hopp til hovedinnholdet",
"Source": "Kilde",
"Subcategories:": "",
"Subcategories:": "Underkategorier:",
"Tags and Categories": "Merker og kategorier",
"Tags": "Merker",
"Write your page here.": "",
"Write your post here.": "",
"Write your page here.": "Skriv siden din her.",
"Write your post here.": "Skriv innlegget din her.",
"old posts, page %d": "eldre innlegg, side %d",
"page %d": "side %d",
}
@@ -855,6 +855,8 @@ def _get_metadata_from_file(meta_data):
True
>>> 'title' in g([".. foo: bar","","FooBar", "------"]) # for #1895
True
>>> 1 == 0
True
"""

@@ -14,7 +14,7 @@
class PyTest(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = []
self.test_args = ['--doctest-modules']
self.test_suite = True

def run_tests(self):
@@ -444,7 +444,6 @@ def test_write_content_does_not_detroy_text(self):
with mock.patch('nikola.plugins.basic_import.open', open_mock, create=True):
self.import_command.write_content('some_file', content)

#import pdb; pdb.set_trace()
open_mock.assert_has_calls([
mock.call(u'some_file', u'wb+'),
mock.call().__enter__(),
@@ -91,12 +91,9 @@ def setUp(self):
# lxml will complain if the encoding is specified in the
# xml when running with unicode strings.
# We do not include this in our content.
try:
file_content = [
call[1][0]
for call in opener_mock.mock_calls[2:-1]][0]
except IndexError:
import pdb; pdb.set_trace()
file_content = [
call[1][0]
for call in opener_mock.mock_calls[2:-1]][0]
splitted_content = file_content.split('\n')
self.encoding_declaration = splitted_content[0]
content_without_encoding_declaration = splitted_content[1:]
@@ -7,15 +7,16 @@
# Translators:
# Translators:
# Translators:
# Daniel Aleksandersen <code@daniel.priv.no>, 2015
# Daniel <i18n@daniel.priv.no>, 2013
msgid ""
msgstr ""
"Project-Id-Version: Nikola\n"
"Report-Msgid-Bugs-To: ralsina@netmanagers.com.ar\n"
"POT-Creation-Date: 2013-03-15 12:24-0300\n"
"PO-Revision-Date: 2015-06-24 12:06+0000\n"
"Last-Translator: Chris Warrick <kwpolska@gmail.com>\n"
"Language-Team: Norwegian Bokmål (http://www.transifex.com/projects/p/nikola/language/nb/)\n"
"PO-Revision-Date: 2015-07-16 23:54+0000\n"
"Last-Translator: Daniel Aleksandersen <code@daniel.priv.no>\n"
"Language-Team: Norwegian Bokmål (http://www.transifex.com/p/nikola/language/nb/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
@@ -40,7 +41,7 @@ msgid "Tags and Categories"
msgstr "Merker og kategorier"

msgid "Comments"
msgstr ""
msgstr "Kommentarer"

msgid "Read more"
msgstr "Les mer"
@@ -78,7 +79,7 @@ msgid "Also available in:"
msgstr "Også tilgjengelig på:"

msgid "Languages:"
msgstr ""
msgstr "Språk:"

msgid "Original site"
msgstr "Opprinnelig side"
@@ -90,7 +91,7 @@ msgid "Archive"
msgstr "Arkiv"

msgid "Publication date"
msgstr ""
msgstr "Publiseringsdato"

msgid "Posted:"
msgstr "Publisert:"
@@ -99,34 +100,34 @@ msgid "Posts for {month} {year}"
msgstr "Innlegg fra {month} {year}"

msgid "Posts for {month} {day}, {year}"
msgstr ""
msgstr "Innlegg fra {day}. {month} {year}"

msgid "Nothing found."
msgstr ""
msgstr "Fant ingenting."

msgid "No posts found."
msgstr ""
msgstr "Fant ingen innlegg."

msgid "RSS feed"
msgstr ""
msgstr "RSS-nyhetskanal"

msgid "%d min remaining to read"
msgstr ""
msgstr "%d min gjenstår å lese"

msgid "Skip to main content"
msgstr ""
msgstr "Hopp til hovedinnholdet"

msgid "Subcategories:"
msgstr ""
msgstr "Underkategorier:"

#. Used for active navigation links, for screen readers only
msgid "(active)"
msgstr ""
msgstr "(aktiv)"

#. Default content for a new post
msgid "Write your post here."
msgstr ""
msgstr "Skriv innlegget din her."

#. Default content for a new page
msgid "Write your page here."
msgstr ""
msgstr "Skriv siden din her."

0 comments on commit 94e695d

Please sign in to comment.