Skip to content

Commit

Permalink
Norwegian translation added
Browse files Browse the repository at this point in the history
* Added Norwegian translation
* Renamed se-SE to sv-SE
  • Loading branch information
David Rudie committed Jul 18, 2015
1 parent 06c9f7a commit 69bc1cd
Show file tree
Hide file tree
Showing 5 changed files with 126 additions and 4 deletions.
3 changes: 3 additions & 0 deletions AUTHORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,6 @@ Contributors
* Erik Jan Meijer (Eegee)
* Updated Dutch translations
* Fix for VS project paths with spaces

* gummi
* Norwegian translation
8 changes: 5 additions & 3 deletions Snip/ResgenAllTheThings.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,12 @@ set fileToResgen[1]="%sourceDir%Resources\Strings.de-AT"
set fileToResgen[2]="%sourceDir%Resources\Strings.de-CH"
set fileToResgen[3]="%sourceDir%Resources\Strings.de-DE"
set fileToResgen[4]="%sourceDir%Resources\Strings.fr-FR"
set fileToResgen[5]="%sourceDir%Resources\Strings.nl-NL"
set fileToResgen[6]="%sourceDir%Resources\Strings.se-SE"
set fileToResgen[5]="%sourceDir%Resources\Strings.nb-NO"
set fileToResgen[6]="%sourceDir%Resources\Strings.nl-NL"
set fileToResgen[7]="%sourceDir%Resources\Strings.sv-SE"

%resgenPath% /compile !fileToResgen[0]!.txt !fileToResgen[1]!.txt !fileToResgen[2]!.txt !fileToResgen[3]!.txt !fileToResgen[4]!.txt !fileToResgen[5]!.txt !fileToResgen[6]!.txt

%resgenPath% /compile !fileToResgen[0]!.txt !fileToResgen[1]!.txt !fileToResgen[2]!.txt !fileToResgen[3]!.txt !fileToResgen[4]!.txt !fileToResgen[5]!.txt !fileToResgen[6]!.txt !fileToResgen[7]!.txt

rem for /l %%n in (0,1,6) do (
rem copy /Y !fileToResgen[%%n]!.resources "bin\Debug\Resources"
Expand Down
116 changes: 116 additions & 0 deletions Snip/Resources/Strings.nb-NO.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
#############
# Snip Form #
#############

; Main application name.
SnipForm=Snip

; Supported media players. These probably don't need translated unless they
; actually have a different name in other countries.
Spotify=Spotify
iTunes=iTunes
Winamp=Winamp
foobar2000=foobar2000
VLC=VLC

; This text is saved to the Snip.txt file when the user switches media players
; from the right-click context menu.
SwitchedToSpotify=Byttet til Spotify
SwitchedToiTunes=Byttet til iTunes
SwitchedToWinamp=Byttet til Winamp
SwitchedTofoobar2000=Byttet til foobar2000
SwitchedToVLC=Byttet til VLC

; This text is saved to the Snip.txt file when Snip itself is running but Snip
; does not detect the selected media player as running.
SpotifyIsNotRunning=Spotify kjører ikke
iTunesNotRunning=iTunes kjører ikke
WinampIsNotRunning=Winamp kjører ikke
foobar2000IsNotRunning=foobar2000 kjører ikke
VLCIsNotRunning=VLC kjører ikke

; This text is saved to the Snip.txt file when no track is playing in the
; selected media file or when the user stops/pauses a playing track.
NoTrackPlaying=Inget spor spilles

; This text is displayed on the right-click context menu and, when clicked,
; will open up the "Set Output Format" form where the user can customize how
; the text will look when saved to any of the text files.
SetOutputFormat=Sett outputformat

; This text is displayed on the right-click context menu and, when enabled,
; will save the artist information and song information to separate text files
; on the harddrive.
SaveInformationSeparately=Lagre informasjon separat

; This text is displayed on the right-click context menu and, when enabled,
; will download and save album artwork for the currently playing track to the
; harddrive.
SaveAlbumArtwork=Lagre albumsbilde

; This text is displayed on the right-click context menu and, when enabled,
; will save the artwork to a subdirectory using the trackid information
; provided by Spotify as the filename. Each track will save its own album
; artwork and the next time that track is played it will use the saved file
; instead of redownloading it each time.
KeepSpotifyAlbumArtwork=Behold Spotifys albumsbilde

; These texts are displayed under a sub-menu of "Keep Spotify Album Artwork"
; and it refers to the image resolution of the artwork to be downloaded.
ImageResolutionTiny=Mini
ImageResolutionSmall=Liten
ImageResolutionMedium=Middels
ImageResolutionLarge=Stor

; This text is displayed on the right-click context menu and, when enabled,
; will create a file called Snip_History.txt where it will append each track
; played to the end of the file, effectively creating a play history.
SaveTrackHistory=Lagre sporhistorikk

; This text is displayed on the right-click context menu and, when enabled,
; will cause Snip.txt to be emptied out when no track is playing. If this
; option is disabled then the text from "NoTrackPlaying" will be saved to
; Snip.txt.
EmptyFile=Tøm fil dersom inget spor spilles

; This text is displayed on the right-click context menu and, when enabled,
; will cause Snip to register global hotkeys that can be used to control the
; selected media player from anywhere.
EnableHotkeys=Aktiver hurtigtaster

; This text is displayed on the right-click context menu and, when clicked,
; will exit the application.
ExitApplication=Avslutt

; This text is displayed in a MessageBox pop-up when there is a COM exception
; caused by trying to load the iTunes COM library.
iTunesException=Vennligst avslutt iTunes og velg det på nytt i Snip.

######################
# Output Format Form #
######################

; This text is displayed as the title of the Output Format Form.
SetOutputFormatForm=Sett outputformat

; These texts refer to setting how specific output looks when saved to any of
; the text files. The $t, $a, and $l variables will be filled in with the
; track, artist, and album information of the currently playing track.
SetTrackFormat=Sett sporformat ($t):
SetSeparatorFormat=Sett skilletegnsformat:
SetArtistFormat=Sett artistformat ($a):
SetAlbumFormat=Sett albumsformat ($l):

; This text is displayed on the buttons within this form. Clicking the
; Defaults button will restore the output format settings to their default
; appearance. Clicking the Save button will save the user-set appearance.
ButtonDefaults=Standardinstillinger
ButtonSave=Lagre

; These will most likely not need to be translated. However, if your locale
; uses different dashes or quotation marks then you can alternatively change
; them here.
TrackFormat=“$t”
SeparatorFormat=―
ArtistFormat=$a
AlbumFormat=$l
File renamed without changes.
3 changes: 2 additions & 1 deletion Snip/Snip.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,8 @@
</BootstrapperPackage>
</ItemGroup>
<ItemGroup>
<Content Include="Resources\Strings.se-SE.txt" />
<Content Include="Resources\Strings.nb-NO.txt" />
<Content Include="Resources\Strings.sv-SE.txt" />
<Content Include="Resources\Strings.txt" />
<Content Include="Resources\Strings.fr-FR.txt" />
<Content Include="Resources\Strings.nl-NL.txt" />
Expand Down

0 comments on commit 69bc1cd

Please sign in to comment.