[vlc-devel] [PATCH 3/3] i18n: last.fm as correct global name

Michał Trzebiatowski michtrz at gmail.com
Wed Nov 29 03:01:54 CET 2017


Signed-off-by: Michał Trzebiatowski <michtrz at gmail.com>
---
 modules/gui/macosx/VLCSimplePrefsController.m | 6 +++---
 modules/gui/qt/ui/sprefs_audio.ui             | 2 +-
 modules/misc/audioscrobbler.c                 | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/modules/gui/macosx/VLCSimplePrefsController.m b/modules/gui/macosx/VLCSimplePrefsController.m
index 59d2372..4174d4f 100644
--- a/modules/gui/macosx/VLCSimplePrefsController.m
+++ b/modules/gui/macosx/VLCSimplePrefsController.m
@@ -261,7 +261,7 @@ create_toolbar_item(NSString *itemIdent, NSString *name, NSString *desc, NSStrin
     [_audio_enableCheckbox setTitle: _NS("Enable audio")];
     [_audio_generalBox setTitle: _NS("General Audio")];
     [_audio_langLabel setStringValue: _NS("Preferred Audio language")];
-    [_audio_lastCheckbox setTitle: _NS("Enable Last.fm submissions")];
+    [_audio_lastCheckbox setTitle: _NS("Enable last.fm submissions")];
     [_audio_lastpwdLabel setStringValue: _NS("Password")];
     [_audio_lastuserLabel setStringValue: _NS("Username")];
     [_audio_visualLabel setStringValue: _NS("Visualization")];
@@ -616,7 +616,7 @@ static inline const char * __config_GetLabel(vlc_object_t *p_this, const char *p
 
     [self setupButton:_audio_visualPopup forModuleList: "audio-visual"];
 
-    /* Last.FM is optional */
+    /* last.fm is optional */
     if (module_exists("audioscrobbler")) {
         [self setupField:_audio_lastuserTextField forOption:"lastfm-username"];
         [self setupField:_audio_lastpwdSecureTextField forOption:"lastfm-password"];
@@ -945,7 +945,7 @@ static inline void save_string_list(intf_thread_t * p_intf, id object, const cha
 
         SaveModuleList(_audio_visualPopup, "audio-visual");
 
-        /* Last.FM is optional */
+        /* last.fm is optional */
         if (module_exists("audioscrobbler")) {
             [_audio_lastCheckbox setEnabled: YES];
             if ([_audio_lastCheckbox state] == NSOnState)
diff --git a/modules/gui/qt/ui/sprefs_audio.ui b/modules/gui/qt/ui/sprefs_audio.ui
index 3551d34..aab1ef0 100644
--- a/modules/gui/qt/ui/sprefs_audio.ui
+++ b/modules/gui/qt/ui/sprefs_audio.ui
@@ -557,7 +557,7 @@
          <item row="1" column="0" colspan="2">
           <widget class="QCheckBox" name="lastfm">
            <property name="text">
-            <string>Submit played tracks stats to Last.fm</string>
+            <string>Submit played tracks stats to last.fm</string>
            </property>
           </widget>
          </item>
diff --git a/modules/misc/audioscrobbler.c b/modules/misc/audioscrobbler.c
index 133829a..a15ba02 100644
--- a/modules/misc/audioscrobbler.c
+++ b/modules/misc/audioscrobbler.c
@@ -22,7 +22,7 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
-/* Last.fm Submissions protocol version: 1.2
+/* last.fm Submissions protocol version: 1.2
  * http://www.last.fm/api/submissions
  *
  * TODO:    Update to new API? http://www.last.fm/api/scrobbling
@@ -711,7 +711,7 @@ static void *Run(void *data)
                 case VLC_ENOVAR:
                     /* username not set */
                     vlc_dialog_display_error(p_intf,
-                        _("Last.fm username not set"),
+                        _("last.fm username not set"),
                         "%s", _("Please set a username or disable the "
                         "audioscrobbler plugin, and restart VLC.\n"
                         "Visit http://www.last.fm/join/ to get an account."));
-- 
2.10.0.windows.1



More information about the vlc-devel mailing list