Skip to content

Commit

Permalink
update buffering translation
Browse files Browse the repository at this point in the history
  • Loading branch information
lhc70000 committed May 7, 2017
1 parent a851061 commit d79a55c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion iina/MainWindowController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -1735,7 +1735,7 @@ class MainWindowController: NSWindowController, NSWindowDelegate {
let speedStr = FileSize.format(playerCore.info.cacheSpeed, unit: .b)
let bufferingState = playerCore.info.bufferingState
bufferIndicatorView.isHidden = false
bufferProgressLabel.stringValue = String(format: NSLocalizedString("main.buffering_indicator", comment:"Buffering... %s%%"), bufferingState)
bufferProgressLabel.stringValue = String(format: NSLocalizedString("main.buffering_indicator", comment:"Buffering... %d%%"), bufferingState)
bufferDetailLabel.stringValue = "\(usedStr)/\(sizeStr) (\(speedStr)/s)"
} else {
bufferIndicatorView.isHidden = true
Expand Down
2 changes: 1 addition & 1 deletion iina/zh-Hant.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"keymapping.message" = "按任意鍵";

/* Buffering... %s%% */
"main.buffering_indicator" = "緩衝中... %@%%";
"main.buffering_indicator" = "緩衝中... %d%%";

/* Audio Delay: */
"menu.audio_delay" = "音訊延遲: %.2f秒";
Expand Down

0 comments on commit d79a55c

Please sign in to comment.