Changeset 4799

Show
Ignore:
Timestamp:
05/27/07 23:49:26 (2 years ago)
Author:
morris
Message:

Use NSInteger and NSUInteger everywhere

Make sure we use l in %d and %u format specifiers since they will be long on 64-bit

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • WiredClient/trunk/English.lproj/Localizable.strings

    r4760 r4799  
    1313 
    1414/* Stats message */ 
    15 "%@ downloaded, %@/s max download speed, %@ uploaded, %@/s max upload speed, %@ chat, %@ online, %u %@ received, %u %@ sent" = "%1$@ downloaded, %2$@/s max download speed, %3$@ uploaded, %4$@/s max upload speed, %5$@ chat, %6$@ online, %7$u %8$@ received, %9$u %10$@ sent"; 
     15"%@ downloaded, %@/s max download speed, %@ uploaded, %@/s max upload speed, %@ chat, %@ online, %lu %@ received, %lu %@ sent" = "%1$@ downloaded, %2$@/s max download speed, %3$@ uploaded, %4$@/s max upload speed, %5$@ chat, %6$@ online, %7$lu %8$@ received, %9$lu %10$@ sent"; 
    1616 
    1717/* Private chat decline message (nick) */ 
     
    6262 
    6363/* Cipher description (name, bits) */ 
    64 "%@/%u bits" = "%1$@/%2$u bits"; 
     64"%@/%lu bits" = "%1$@/%2$lu bits"; 
    6565 
    6666/* Certificate description (name, bits, hostname) */ 
    67 "%@/%u bits, %@" = "%1$@/%2$u bits, %3$@"; 
     67"%@/%lu bits, %@" = "%1$@/%2$lu bits, %3$@"; 
    6868 
    6969/* Chat message, Wired style (nick, message) */ 
     
    7171 
    7272/* Search info (items, 'item(s)', total) */ 
    73 "%d %@, %@ total" = "%1$d %2$@, %3$@ total"; 
     73"%lu %@, %@ total" = "%1$lu %2$@, %3$@ total"; 
    7474 
    7575/* Files info (count, 'item(s)', size, available) */ 
    76 "%d %@, %@ total, %@ available" = "%1$d %2$@, %3$@ total, %4$@ available"; 
     76"%lu %@, %@ total, %@ available" = "%1$lu %2$@, %3$@ total, %4$@ available"; 
    7777 
    7878/* Accounts status (users, 'user(s)', groups, 'group(s)') */ 
    79 "%d %@, %d %@" = "%1$d %2$@, %3$d %4$@"; 
     79"%lu %@, %lu %@" = "%1$lu %2$@, %3$lu %4$@"; 
    8080 
    8181/* File info folder size (count, 'item(s)' 
     
    8484 
    8585/* Dock status (connections, 'connection(s)') */ 
    86 "%u %@" = "%1$u %2$@"; 
     86"%lu %@" = "%1$lu %2$@"; 
    8787 
    8888/* Transfer status (files, transferred, size, speed, time) */ 
    89 "%u of %u files, %@ of %@, %@/s, %@" = "%1$u of %2$u files, %3$@ of %4$@, %5$@/s, %6$@"; 
     89"%lu of %lu files, %@ of %@, %@/s, %@" = "%1$lu of %2$lu files, %3$@ of %4$@, %5$@/s, %6$@"; 
    9090 
    9191/* Chat message, IRC style (nick, message) */ 
     
    112112 
    113113/* Wired Protocol unknown error description (code, message) */ 
    114 "An unknown server error occured. The message we got back was: \"%d %@\"." = "An unknown server error occured. The message we got back was: \"%1$d %2$@\"."; 
     114"An unknown server error occured. The message we got back was: \"%u %@\"." = "An unknown server error occured. The message we got back was: \"%1$u %2$@\"."; 
    115115 
    116116/* Smiley */ 
     
    125125/* Delete file dialog title (count) 
    126126   Delete account dialog title (count) */ 
    127 "Are you sure you want to delete %u items?" = "Are you sure you want to delete %u items?"; 
     127"Are you sure you want to delete %lu items?" = "Are you sure you want to delete %lu items?"; 
    128128 
    129129/* Delete bookmark dialog title (bookmark) 
     
    151151"bits" = "bits"; 
    152152 
    153 /* Description of Bonjour tracker (servers, 'server(s)' */ 
    154 "Bonjour local service discovery %C %d %@" = "Bonjour local service discovery %1$C %2$d %3$@"; 
     153/* Description of Bonjour tracker ('-', servers, 'server(s)' */ 
     154"Bonjour local service discovery %C %lu %@" = "Bonjour local service discovery %1$C %2$lu %3$@"; 
    155155 
    156156/* Bookmarks toolbar item */ 
     
    335335 
    336336/* Transfer finished (files, transferred, speed, time) */ 
    337 "Finished %u files, %@, average %@/s, took %@" = "Finished %1$u files, %2$@, average %3$@/s, took %4$@"; 
     337"Finished %lu files, %@, average %@/s, took %@" = "Finished %1$lu files, %2$@, average %3$@/s, took %4$@"; 
    338338 
    339339/* Error */ 
     
    405405 
    406406/* Transfer listing (files, 'file(s)' */ 
    407 "Listing directory... %u %@" = "Listing directory... %1$u %2$@"; 
     407"Listing directory... %lu %@" = "Listing directory... %1$lu %2$@"; 
    408408 
    409409/* Description of server via Bonjour tracker */ 
     
    484484 
    485485/* Transfer queued (position) */ 
    486 "Queued at position %u" = "Queued at position %u"; 
     486"Queued at position %lu" = "Queued at position %lu"; 
    487487 
    488488/* Disconnected chat message */ 
     
    556556 
    557557/* Transfer stopped (files, transferred, size) */ 
    558 "Stopped at %u of %u files, %@ of %@" = "Stopped at %1$u of %2$u files, %3$@ of %4$@"; 
     558"Stopped at %lu of %lu files, %@ of %@" = "Stopped at %1$lu of %2$lu files, %3$@ of %4$@"; 
    559559 
    560560/* Transfer stopping */ 
     
    583583 
    584584/* Error (number) */ 
    585 "The folder contains %u files with resource forks, which are not handled by Wired. Only the data parts will be uploaded, possibly resulting in corrupted files. Please use an archiver to ensure the files will be uploaded correctly." = "The folder contains %u files with resource forks, which are not handled by Wired. Only the data parts will be uploaded, possibly resulting in corrupted files. Please use an archiver to ensure the files will be uploaded correctly."; 
     585"The folder contains %lu files with resource forks, which are not handled by Wired. Only the data parts will be uploaded, possibly resulting in corrupted files. Please use an archiver to ensure the files will be uploaded correctly." = "The folder contains %lu files with resource forks, which are not handled by Wired. Only the data parts will be uploaded, possibly resulting in corrupted files. Please use an archiver to ensure the files will be uploaded correctly."; 
    586586 
    587587/* Wired Protocol error 503 description */ 
  • WiredClient/trunk/French.lproj/Localizable.strings

    r4459 r4799  
    1212 
    1313/* Stats message */ 
    14 "%@ downloaded, %@/s max download speed, %@ uploaded, %@/s max upload speed, %@ chat, %@ online, %u %@ received, %u %@ sent" = "%1$@ téléchargé, à une vitesse maximum %2$@/s, %3$@ envoyé, à une vitesse maximum %4$@/s, %5$@ discussion, %6$@ en ligne, %7$u %8$@ reçu, %9$u %10$@ envoyé"; 
     14"%@ downloaded, %@/s max download speed, %@ uploaded, %@/s max upload speed, %@ chat, %@ online, %lu %@ received, %lu %@ sent" = "%1$@ téléchargé, à une vitesse maximum %2$@/s, %3$@ envoyé, à une vitesse maximum %4$@/s, %5$@ discussion, %6$@ en ligne, %7$lu %8$@ reçu, %9$lu %10$@ envoyé"; 
    1515 
    1616/* Private chat decline message (nick) */ 
     
    6262 
    6363/* Cipher description (name, bits) */ 
    64 "%@/%u bits" = "%1$@/%2$u bits"; 
     64"%@/%lu bits" = "%1$@/%2$lu bits"; 
    6565 
    6666/* Certificate description (name, bits, hostname) */ 
    67 "%@/%u bits, %@" = "%1$@/%2$u bits, %3$@"; 
     67"%@/%lu bits, %@" = "%1$@/%2$lu bits, %3$@"; 
    6868 
    6969/* Chat message, Wired style (nick, message) */ 
     
    7171 
    7272/* Search info (items, 'item(s)', total) */ 
    73 "%d %@, %@ total" = "%1$d %2$@, %3$@ totalisé"; 
     73"%lu %@, %@ total" = "%1$lu %2$@, %3$@ totalisé"; 
    7474 
    7575/* Files info (count, 'item(s)', size, available) */ 
    76 "%d %@, %@ total, %@ available" = "%1$d %2$@, %3$@ totalisé, %4$@ disponible"; 
     76"%lu %@, %@ total, %@ available" = "%1$lu %2$@, %3$@ totalisé, %4$@ disponible"; 
    7777 
    7878/* Accounts status (users, 'user(s)', groups, 'group(s)') */ 
    79 "%d %@, %d %@" = "%1$d %2$@, %3$d %4$@"; 
     79"%lu %@, %lu %@" = "%1$lu %2$@, %3$lu %4$@"; 
    8080 
    8181/* File info folder size (count, 'item(s)' 
     
    8484 
    8585/* Dock status (connections, 'connection(s)') */ 
    86 "%u %@" = "%1$u %2$@"; 
     86"%lu %@" = "%1$lu %2$@"; 
    8787 
    8888/* Transfer status (files, transferred, size, speed, time) */ 
    89 "%u of %u files, %@ of %@, %@/s, %@" = "%1$u of %2$u fichiers, %3$@ de %4$@, %5$@/s, %6$@"; 
     89"%lu of %lu files, %@ of %@, %@/s, %@" = "%1$lu of %2$lu fichiers, %3$@ de %4$@, %5$@/s, %6$@"; 
    9090 
    9191/* Chat message, IRC style (nick, message) */ 
     
    112112 
    113113/* Wired Protocol unknown error description (code, message) */ 
    114 "An unknown server error occured. The message we got back was: \"%d %@\"." = "Une erreur serveur est survenue. Le message reçu était: \"%1$d %2$@\"."; 
     114"An unknown server error occured. The message we got back was: \"%u %@\"." = "Une erreur serveur est survenue. Le message reçu était: \"%1$u %2$@\"."; 
    115115 
    116116/* Smiley */ 
     
    125125/* Delete file dialog title (count) 
    126126   Delete account dialog title (count) */ 
    127 "Are you sure you want to delete %u items?" = "Confirmez-vous effacer %u objets?"; 
     127"Are you sure you want to delete %lu items?" = "Confirmez-vous effacer %lu objets?"; 
    128128 
    129129/* Delete bookmark dialog title (bookmark) 
     
    151151"bits" = "bits"; 
    152152 
    153 /* Description of Bonjour tracker (servers, 'server(s)' */ 
    154 "Bonjour local service discovery %C %d %@" = "Réseau local Bonjour détécté %1$C %2$d %3$@"; 
     153/* Description of Bonjour tracker ('-', servers, 'server(s)' */ 
     154"Bonjour local service discovery %C %lu %@" = "Réseau local Bonjour détécté %1$C %2$lu %3$@"; 
    155155 
    156156/* Bookmarks toolbar item */ 
     
    319319 
    320320/* Transfer finished (files, transferred, speed, time) */ 
    321 "Finished %u files, %@, average %@/s, took %@" = "Achevé %1$u fichiers, %2$@, à environ %3$@/s, restant %4$@"; 
     321"Finished %lu files, %@, average %@/s, took %@" = "Achevé %1$lu fichiers, %2$@, à environ %3$@/s, restant %4$@"; 
    322322 
    323323/* Error */ 
     
    386386 
    387387/* Transfer listing (files, 'file(s)' */ 
    388 "Listing directory... %u %@" = "Afficher répertoire... %1$u %2$@"; 
     388"Listing directory... %lu %@" = "Afficher répertoire... %1$lu %2$@"; 
    389389 
    390390/* Description of server via Bonjour tracker */ 
     
    459459 
    460460/* Transfer queued (position) */ 
    461 "Queued at position %u" = "En attente à la position %u"; 
     461"Queued at position %lu" = "En attente à la position %lu"; 
    462462 
    463463/* Disconnected chat message */ 
     
    531531 
    532532/* Transfer stopped (files, transferred, size) */ 
    533 "Stopped at %u of %u files, %@ of %@" = "Arrêté à %1$u de %2$u fichiers, %3$@ de %4$@"; 
     533"Stopped at %lu of %lu files, %@ of %@" = "Arrêté à %1$lu de %2$lu fichiers, %3$@ de %4$@"; 
    534534 
    535535/* Transfer stopping */ 
     
    558558 
    559559/* Error (number) */ 
    560 "The folder contains %u files with resource forks, which are not handled by Wired. Only the data parts will be uploaded, possibly resulting in corrupted files. Please use an archiver to ensure the files will be uploaded correctly." = "Le dossier comprend %u fichiers non reconnus par Wired. Les données seront envoyées sans information complémentaire, pouvant causer la corruption du fichier. Utilisez de préférence une archive du dossier pour garantir son intégrité."; 
     560"The folder contains %lu files with resource forks, which are not handled by Wired. Only the data parts will be uploaded, possibly resulting in corrupted files. Please use an archiver to ensure the files will be uploaded correctly." = "Le dossier comprend %lu fichiers non reconnus par Wired. Les données seront envoyées sans information complémentaire, pouvant causer la corruption du fichier. Utilisez de préférence une archive du dossier pour garantir son intégrité."; 
    561561 
    562562/* Wired Protocol error 503 description */ 
  • WiredClient/trunk/German.lproj/Localizable.strings

    r4771 r4799  
    1313 
    1414/* Stats message */ 
    15 "%@ downloaded, %@/s max download speed, %@ uploaded, %@/s max upload speed, %@ chat, %@ online, %u %@ received, %u %@ sent" = "%1$@ heruntergeladen, %2$@/s höchste Geschwindigkeit, %3$@ heraufgeladen, %4$@/s höchste Geschwindigkeit, %5$@ Forumsnachrichten, %6$@ verbunden, %7$u %8$@ empfangen, %9$u %10$@ gesendet"; 
     15"%@ downloaded, %@/s max download speed, %@ uploaded, %@/s max upload speed, %@ chat, %@ online, %lu %@ received, %lu %@ sent" = "%1$@ heruntergeladen, %2$@/s höchste Geschwindigkeit, %3$@ heraufgeladen, %4$@/s höchste Geschwindigkeit, %5$@ Forumsnachrichten, %6$@ verbunden, %7$lu %8$@ empfangen, %9$lu %10$@ gesendet"; 
    1616 
    1717/* Private chat decline message (nick) */ 
     
    6262 
    6363/* Cipher description (name, bits) */ 
    64 "%@/%u bits" = "%1$@/%2$u Bits"; 
     64"%@/%lu bits" = "%1$@/%2$lu Bits"; 
    6565 
    6666/* Certificate description (name, bits, hostname) */ 
    67 "%@/%u bits, %@" = "%1$@/%2$u Bits, %3$@"; 
     67"%@/%lu bits, %@" = "%1$@/%2$lu Bits, %3$@"; 
    6868 
    6969/* Chat message, Wired style (nick, message) */ 
     
    7171 
    7272/* Search info (items, 'item(s)', total) */ 
    73 "%d %@, %@ total" = "%1$d %2$@, %3$@ gesamt"; 
     73"%lu %@, %@ total" = "%1$lu %2$@, %3$@ gesamt"; 
    7474 
    7575/* Files info (count, 'item(s)', size, available) */ 
    76 "%d %@, %@ total, %@ available" = "%1$d %2$@, %3$@ gesamt, %4$@ verfügbar"; 
     76"%lu %@, %@ total, %@ available" = "%1$lu %2$@, %3$@ gesamt, %4$@ verfügbar"; 
    7777 
    7878/* Accounts status (users, 'user(s)', groups, 'group(s)') */ 
    79 "%d %@, %d %@" = "%1$d %2$@, %3$d %4$@"; 
     79"%lu %@, %lu %@" = "%1$lu %2$@, %3$lu %4$@"; 
    8080 
    8181/* File info folder size (count, 'item(s)' 
     
    8484 
    8585/* Dock status (connections, 'connection(s)') */ 
    86 "%u %@" = "%1$u %2$@"; 
     86"%lu %@" = "%1$lu %2$@"; 
    8787 
    8888/* Transfer status (files, transferred, size, speed, time) */ 
    89 "%u of %u files, %@ of %@, %@/s, %@" = "%1$u von %2$u Dateien, %3$@ of %4$@, %5$@/s, %6$@"; 
     89"%lu of %lu files, %@ of %@, %@/s, %@" = "%1$lu von %2$lu Dateien, %3$@ of %4$@, %5$@/s, %6$@"; 
    9090 
    9191/* Chat message, IRC style (nick, message) */ 
     
    112112 
    113113/* Wired Protocol unknown error description (code, message) */ 
    114 "An unknown server error occured. The message we got back was: \"%d %@\"." = "Ein unbekannter Server-Fehler ist aufgetreten. Nachricht: \"%1$d %2$@\"."; 
     114"An unknown server error occured. The message we got back was: \"%u %@\"." = "Ein unbekannter Server-Fehler ist aufgetreten. Nachricht: \"%1$u %2$@\"."; 
    115115 
    116116/* Smiley */ 
     
    125125/* Delete file dialog title (count) 
    126126   Delete account dialog title (count) */ 
    127 "Are you sure you want to delete %u items?" = "Sollen wirklich %u Objekte gelöscht werden?"; 
     127"Are you sure you want to delete %lu items?" = "Sollen wirklich %lu Objekte gelöscht werden?"; 
    128128 
    129129/* Delete bookmark dialog title (bookmark) 
     
    151151"bits" = "Bits"; 
    152152 
    153 /* Description of Bonjour tracker (servers, 'server(s)' */ 
    154 "Bonjour local service discovery %C %d %@" = "Bonjour-Suche %1$C %2$d %3$@"; 
     153/* Description of Bonjour tracker ('-', servers, 'server(s)' */ 
     154"Bonjour local service discovery %C %lu %@" = "Bonjour-Suche %1$C %2$lu %3$@"; 
    155155 
    156156/* Bookmarks toolbar item */ 
     
    335335 
    336336/* Transfer finished (files, transferred, speed, time) */ 
    337 "Finished %u files, %@, average %@/s, took %@" = "%1$u Dateien beendet, %2$@, durchschn. %3$@/s, %4$@ benötigt"; 
     337"Finished %lu files, %@, average %@/s, took %@" = "%1$lu Dateien beendet, %2$@, durchschn. %3$@/s, %4$@ benötigt"; 
    338338 
    339339/* Error */ 
     
    405405 
    406406/* Transfer listing (files, 'file(s)' */ 
    407 "Listing directory... %u %@" = "Verzeichnis auflisten... %1$u %2$@"; 
     407"Listing directory... %lu %@" = "Verzeichnis auflisten... %1$lu %2$@"; 
    408408 
    409409/* Description of server via Bonjour tracker */ 
     
    484484 
    485485/* Transfer queued (position) */ 
    486 "Queued at position %u" = "Wartend an Stelle %u"; 
     486"Queued at position %lu" = "Wartend an Stelle %lu"; 
    487487 
    488488/* Disconnected chat message */ 
     
    556556 
    557557/* Transfer stopped (files, transferred, size) */ 
    558 "Stopped at %u of %u files, %@ of %@" = "Angehalten bei %1$u von %2$u Dateien, %3$@ von %4$@"; 
     558"Stopped at %lu of %lu files, %@ of %@" = "Angehalten bei %1$lu von %2$lu Dateien, %3$@ von %4$@"; 
    559559 
    560560/* Transfer stopping */ 
     
    583583 
    584584/* Error (number) */ 
    585 "The folder contains %u files with resource forks, which are not handled by Wired. Only the data parts will be uploaded, possibly resulting in corrupted files. Please use an archiver to ensure the files will be uploaded correctly." = "Der Ordner enthält %u Dateien mit resource forks, nicht von Wired bearbeitet werden. Nur der Daten-Teil wird heraufgeladen, was wahrscheinlich in defekten Dateien resultiert. Bitte benutze ein Archivierungsprogramm, um die Dateien heraufzuladen."; 
     585"The folder contains %lu files with resource forks, which are not handled by Wired. Only the data parts will be uploaded, possibly resulting in corrupted files. Please use an archiver to ensure the files will be uploaded correctly." = "Der Ordner enthält %lu Dateien mit resource forks, nicht von Wired bearbeitet werden. Nur der Daten-Teil wird heraufgeladen, was wahrscheinlich in defekten Dateien resultiert. Bitte benutze ein Archivierungsprogramm, um die Dateien heraufzuladen."; 
    586586 
    587587/* Wired Protocol error 503 description */ 
  • WiredClient/trunk/Japanese.lproj/Localizable.strings

    r4769 r4799  
    1313 
    1414/* Stats message */ 
    15 "%@ downloaded, %@/s max download speed, %@ uploaded, %@/s max upload speed, %@ chat, %@ online, %u %@ received, %u %@ sent" = "%1$@ をダウンロード済み, %2$@/s の最大ダウンロード速度, %3$@ をアップロード済み, %4$@/s の最大アップロード速度, %5$@ のチャット, %6$@ のオンライン期間, %7$u %8$@ を受信済み, %9$u %10$@ を送信済み"; 
     15"%@ downloaded, %@/s max download speed, %@ uploaded, %@/s max upload speed, %@ chat, %@ online, %lu %@ received, %lu %@ sent" = "%1$@ をダウンロード済み, %2$@/s の最大ダウンロード速度, %3$@ をアップロード済み, %4$@/s の最大アップロード速度, %5$@ のチャット, %6$@ のオンライン期間, %7$lu %8$@ を受信済み, %9$lu %10$@ を送信済み"; 
    1616 
    1717/* Private chat decline message (nick) */ 
     
    6565 
    6666/* Cipher description (name, bits) */ 
    67 "%@/%u bits" = "%1$@/%2$u bits"; 
     67"%@/%lu bits" = "%1$@/%2$lu bits"; 
    6868 
    6969/* Certificate description (name, bits, hostname) */ 
    70 "%@/%u bits, %@" = "%1$@/%2$u bits, %3$@"; 
     70"%@/%lu bits, %@" = "%1$@/%2$lu bits, %3$@"; 
    7171 
    7272/* Chat message, Wired style (nick, message) */ 
     
    7474 
    7575/* Search info (items, 'item(s)', total) */ 
    76 "%d %@, %@ total" = "合計: %1$d %2$@で %3$@"; 
     76"%lu %@, %@ total" = "合計: %1$lu %2$@で %3$@"; 
    7777 
    7878/* Files info (count, 'item(s)', size, available) */ 
    79 "%d %@, %@ total, %@ available" = "合計: %1$d %2$@で %3$@ (%4$@ の空き)"; 
     79"%lu %@, %@ total, %@ available" = "合計: %1$lu %2$@で %3$@ (%4$@ の空き)"; 
    8080 
    8181/* Accounts status (users, 'user(s)', groups, 'group(s)') */ 
    82 "%d %@, %d %@" = "%1$d %2$@, %3$d %4$@"; 
     82"%lu %@, %lu %@" = "%1$lu %2$@, %3$lu %4$@"; 
    8383 
    8484/* File info folder size (count, 'item(s)' 
     
    8787 
    8888/* Dock status (connections, 'connection(s)') */ 
    89 "%u %@" = "%1$u %2$@"; 
     89"%lu %@" = "%1$lu %2$@"; 
    9090 
    9191/* Transfer status (files, transferred, size, speed, time) */ 
    92 "%u of %u files, %@ of %@, %@/s, %@" = "%2$u 項目中の %1$u 番目, %4$@ 中の %3$@ を完了 , %5$@/s, %6$@"; 
     92"%lu of %lu files, %@ of %@, %@/s, %@" = "%2$lu 項目中の %1$lu 番目, %4$@ 中の %3$@ を完了 , %5$@/s, %6$@"; 
    9393 
    9494/* Chat message, IRC style (nick, message) */ 
     
    115115 
    116116/* Wired Protocol unknown error description (code, message) */ 
    117 "An unknown server error occured. The message we got back was: \"%d %@\"." = "未知のサーバエラーが起きました。戻ってきたメッセージは“%1$d %2$@”です。"; 
     117"An unknown server error occured. The message we got back was: \"%u %@\"." = "未知のサーバエラーが起きました。戻ってきたメッセージは“%1$u %2$@”です。"; 
    118118 
    119119/* Smiley */ 
     
    128128/* Delete file dialog title (count) 
    129129   Delete account dialog title (count) */ 
    130 "Are you sure you want to delete %u items?" = "本当に %u 項目を削除しますか?"; 
     130"Are you sure you want to delete %lu items?" = "本当に %lu 項目を削除しますか?"; 
    131131 
    132132/* Delete bookmark dialog title (bookmark) 
     
    154154"bits" = "bits"; 
    155155 
    156 /* Description of Bonjour tracker (servers, 'server(s)' */ 
    157 "Bonjour local service discovery %C %d %@" = "Bonjour ローカルサービスを発見 %1$C %2$d %3$@"; 
     156/* Description of Bonjour tracker ('-', servers, 'server(s)' */ 
     157"Bonjour local service discovery %C %lu %@" = "Bonjour ローカルサービスを発見 %1$C %2$lu %3$@"; 
    158158 
    159159/* Bookmarks toolbar item */ 
     
    338338 
    339339/* Transfer finished (files, transferred, speed, time) */ 
    340 "Finished %u files, %@, average %@/s, took %@" = "%1$u 項目を転送, %2$@, %3$@/s の平均速度, %4$@ の所要時間"; 
     340"Finished %lu files, %@, average %@/s, took %@" = "%1$lu 項目を転送, %2$@, %3$@/s の平均速度, %4$@ の所要時間"; 
    341341 
    342342/* Error */ 
     
    408408 
    409409/* Transfer listing (files, 'file(s)' */ 
    410 "Listing directory... %u %@" = "ディレクトリ内容をリスト中... %1$u %2$@"; 
     410"Listing directory... %lu %@" = "ディレクトリ内容をリスト中... %1$lu %2$@"; 
    411411 
    412412/* Description of server via Bonjour tracker */ 
     
    487487 
    488488/* Transfer queued (position) */ 
    489 "Queued at position %u" = "%u 番目のキューに入っています"; 
     489"Queued at position %lu" = "%lu 番目のキューに入っています"; 
    490490 
    491491/* Disconnected chat message */ 
     
    559559 
    560560/* Transfer stopped (files, transferred, size) */ 
    561 "Stopped at %u of %u files, %@ of %@" = "%2$u 項目の %1$u 番目(%4$@ 中の %3$@)で中断しました"; 
     561"Stopped at %lu of %lu files, %@ of %@" = "%2$lu 項目の %1$lu 番目(%4$@ 中の %3$@)で中断しました"; 
    562562 
    563563/* Transfer stopping */ 
     
    586586 
    587587/* Error (path) */ 
    588 "The folder contains %u files with resource forks, which are not handled by Wired. Only the data parts will be uploaded, possibly resulting in corrupted files. Please use an archiver to ensure the files will be uploaded correctly." = "そのフォルダは Wired が扱うことのできないリソースフォークを持ったファイルを %u 項目含んでいます。データ部分のみがアップロードされるので、多分それらのファイルが不完全なものになります。オリジナルのままのファイルをアップロードするにはアーカイブにしてください。"; 
     588"The folder contains %lu files with resource forks, which are not handled by Wired. Only the data parts will be uploaded, possibly resulting in corrupted files. Please use an archiver to ensure the files will be uploaded correctly." = "そのフォルダは Wired が扱うことのできないリソースフォークを持ったファイルを %lu 項目含んでいます。データ部分のみがアップロードされるので、多分それらのファイルが不完全なものになります。オリジナルのままのファイルをアップロードするにはアーカイブにしてください。"; 
    589589 
    590590/* Wired Protocol error 503 description */ 
  • WiredClient/trunk/WCAboutWindow.m

    r4439 r4799  
    5050        NSScreen                                        *screen, *last = NULL; 
    5151        NSRect                                          viewRect, leftRect, rightRect; 
    52         int                                                   width = 0, height; 
     52        CGFloat                                               width = 0, height; 
    5353 
    5454        enumerator = [[NSScreen screens] objectEnumerator]; 
     
    7070 
    7171        // --- set window size 
    72         height = width / 11
     72        height = width / 11.0
    7373        viewRect = [[NSScreen mainScreen] frame]; 
    7474        viewRect.origin.x = 0; 
  • WiredClient/trunk/WCAccount.h

    r4439 r4799  
    7272- (BOOL)banUsers; 
    7373- (BOOL)cannotBeKicked; 
    74 - (unsigned int)downloadSpeedLimit; 
    75 - (unsigned int)uploadSpeedLimit; 
    76 - (unsigned int)downloadLimit; 
    77 - (unsigned int)uploadLimit; 
     74- (NSUInteger)downloadSpeedLimit; 
     75- (NSUInteger)uploadSpeedLimit; 
     76- (NSUInteger)downloadLimit; 
     77- (NSUInteger)uploadLimit; 
    7878- (BOOL)setTopic; 
    7979 
  • WiredClient/trunk/WCAccount.m

    r4439 r4799  
    334334 
    335335 
    336 - (unsigned int)downloadSpeedLimit { 
    337         return [[_privileges safeObjectAtIndex:18] unsignedIntValue]; 
    338 } 
    339  
    340  
    341  
    342 - (unsigned int)uploadSpeedLimit { 
    343         return [[_privileges safeObjectAtIndex:19] unsignedIntValue]; 
    344 } 
    345  
    346  
    347  
    348 - (unsigned int)downloadLimit { 
    349         return [[_privileges safeObjectAtIndex:20] unsignedIntValue]; 
    350 } 
    351  
    352  
    353  
    354 - (unsigned int)uploadLimit { 
    355         return [[_privileges safeObjectAtIndex:21] unsignedIntValue]; 
     336- (NSUInteger)downloadSpeedLimit { 
     337        return [[_privileges safeObjectAtIndex:18] unsignedIntegerValue]; 
     338} 
     339 
     340 
     341 
     342- (NSUInteger)uploadSpeedLimit { 
     343        return [[_privileges safeObjectAtIndex:19] unsignedIntegerValue]; 
     344} 
     345 
     346 
     347 
     348- (NSUInteger)downloadLimit { 
     349        return [[_privileges safeObjectAtIndex:20] unsignedIntegerValue]; 
     350} 
     351 
     352 
     353 
     354- (NSUInteger)uploadLimit { 
     355        return [[_privileges safeObjectAtIndex:21] unsignedIntegerValue]; 
    356356} 
    357357 
  • WiredClient/trunk/WCAccountEditor.m

    r4775 r4799  
    397397                                                         [_banUsersButton stringValue], 
    398398                                                         [_cannotBeKickedButton stringValue], 
    399                                                          [NSNumber numberWithInt:[_downloadSpeedTextField intValue] * 1024], 
    400                                                          [NSNumber numberWithInt:[_uploadSpeedTextField intValue] * 1024], 
    401                                                          [NSNumber numberWithInt:[_account downloadLimit]], 
    402                                                          [NSNumber numberWithInt:[_account uploadLimit]], 
     399                                                         [NSNumber numberWithUnsignedInteger:[_downloadSpeedTextField intValue] * 1024], 
     400                                                         [NSNumber numberWithUnsignedInteger:[_uploadSpeedTextField intValue] * 1024], 
     401                                                         [NSNumber numberWithUnsignedInteger:[_account downloadLimit]], 
     402                                                         [NSNumber numberWithUnsignedInteger:[_account uploadLimit]], 
    403403                                                         [_setTopicButton stringValue], 
    404404                                                         NULL]]; 
     
    426426                                                         [_banUsersButton stringValue], 
    427427                                                         [_cannotBeKickedButton stringValue], 
    428                                                          [NSNumber numberWithInt:[_downloadSpeedTextField intValue] * 1024], 
    429                                                          [NSNumber numberWithInt:[_uploadSpeedTextField intValue] * 1024], 
    430                                                          [NSNumber numberWithInt:[_account downloadLimit]], 
    431                                                          [NSNumber numberWithInt:[_account uploadLimit]], 
     428                                                         [NSNumber numberWithUnsignedInteger:[_downloadSpeedTextField intValue] * 1024], 
     429                                                         [NSNumber numberWithUnsignedInteger:[_uploadSpeedTextField intValue] * 1024], 
     430                                                         [NSNumber numberWithUnsignedInteger:[_account downloadLimit]], 
     431                                                         [NSNumber numberWithUnsignedInteger:[_account uploadLimit]], 
    432432                                                         [_setTopicButton stringValue], 
    433433                                                         NULL]]; 
     
    482482                                                         [_banUsersButton stringValue], 
    483483                                                         [_cannotBeKickedButton stringValue], 
    484                                                          [NSNumber numberWithInt:[_downloadSpeedTextField intValue] * 1024], 
    485                                                          [NSNumber numberWithInt:[_uploadSpeedTextField intValue] * 1024], 
    486                                                          [NSNumber numberWithInt:[_account downloadLimit]], 
    487                                                          [NSNumber numberWithInt:[_account uploadLimit]], 
     484                                                         [NSNumber numberWithUnsignedInteger:[_downloadSpeedTextField intValue] * 1024], 
     485                                                         [NSNumber numberWithUnsignedInteger:[_uploadSpeedTextField intValue] * 1024], 
     486                                                         [NSNumber numberWithUnsignedInteger:[_account downloadLimit]], 
     487                                                         [NSNumber numberWithUnsignedInteger:[_account uploadLimit]], 
    488488                                                         [_setTopicButton stringValue], 
    489489                                                         NULL]]; 
     
    510510                                                         [_banUsersButton stringValue], 
    511511                                                         [_cannotBeKickedButton stringValue], 
    512                                                          [NSNumber numberWithInt:[_downloadSpeedTextField intValue] * 1024], 
    513                                                          [NSNumber numberWithInt:[_uploadSpeedTextField intValue] * 1024], 
    514                                                          [NSNumber numberWithInt:[_account downloadLimit]], 
    515                                                          [NSNumber numberWithInt:[_account uploadLimit]], 
     512                                                         [NSNumber numberWithUnsignedInteger:[_downloadSpeedTextField intValue] * 1024], 
     513                                                         [NSNumber numberWithUnsignedInteger:[_uploadSpeedTextField intValue] * 1024], 
     514                                                         [NSNumber numberWithUnsignedInteger:[_account downloadLimit]], 
     515                                                         [NSNumber numberWithUnsignedInteger:[_account uploadLimit]], 
    516516                                                         [_setTopicButton stringValue], 
    517517                                                         NULL]]; 
  • WiredClient/trunk/WCAccounts.h

    r4439 r4799  
    4343        NSMutableArray                                          *_allAccounts, *_shownAccounts; 
    4444        NSImage                                                         *_userImage, *_groupImage; 
    45         int                                                                   _users, _groups; 
     45        NSUInteger                                                    _users, _groups; 
    4646 
    4747        BOOL                                                            _received; 
  • WiredClient/trunk/WCAccounts.m

    r4775 r4799  
    3939- (void)_validate; 
    4040 
    41 - (WCAccount *)_accountAtIndex:(unsigned int)index; 
     41- (WCAccount *)_accountAtIndex:(NSUInteger)index; 
    4242- (WCAccount *)_selectedAccount; 
    4343- (NSArray *)_selectedAccounts; 
     
    9898- (void)_updateStatus { 
    9999        [_statusTextField setStringValue:[NSSWF: 
    100                 NSLS(@"%d %@, %d %@", "Accounts status (users, 'user(s)', groups, 'group(s)')"), 
     100                NSLS(@"%lu %@, %lu %@", "Accounts status (users, 'user(s)', groups, 'group(s)')"), 
    101101                _users, 
    102102                _users == 1 
     
    113113- (void)_validate { 
    114114        WCAccount       *account; 
    115         int                   row; 
     115        NSInteger     row; 
    116116        BOOL            connected; 
    117117 
     
    136136#pragma mark - 
    137137 
    138 - (WCAccount *)_accountAtIndex:(unsigned int)index { 
    139         unsigned int          i; 
     138- (WCAccount *)_accountAtIndex:(NSUInteger)index { 
     139        NSUInteger            i; 
    140140         
    141141        i = ([_accountsTableView sortOrder] == WISortDescending) 
     
    149149 
    150150- (WCAccount *)_selectedAccount { 
    151         int           row; 
     151        NSInteger             row; 
    152152 
    153153        row = [_accountsTableView selectedRow]; 
     
    170170 
    171171        while((row = [enumerator nextObject])) 
    172                 [array addObject:[self _accountAtIndex:[row intValue]]]; 
     172                [array addObject:[self _accountAtIndex:[row unsignedIntValue]]]; 
    173173 
    174174        return array; 
     
    467467        } else { 
    468468                title = [NSSWF: 
    469                         NSLS(@"Are you sure you want to delete %u items?", @"Delete account dialog title (count)"), 
     469                        NSLS(@"Are you sure you want to delete %lu items?", @"Delete account dialog title (count)"), 
    470470                        [_accountsTableView numberOfSelectedRows]]; 
    471471        } 
     
    513513#pragma mark - 
    514514 
    515 - (int)numberOfRowsInTableView:(NSTableView *)sender
     515- (NSInteger)numberOfRowsInTableView:(NSTableView *)tableView
    516516        return [_shownAccounts count]; 
    517517} 
     
    519519 
    520520 
    521 - (id)tableView:(NSTableView *)sender objectValueForTableColumn:(NSTableColumn *)tableColumn row:(int)row { 
     521- (id)tableView:(NSTableView *)tableView objectValueForTableColumn:(NSTableColumn *)tableColumn row:(NSInteger)row { 
    522522        WCAccount       *account; 
    523523 
     
    559559 
    560560 
    561 - (NSString *)tableView:(NSTableView *)tableView stringValueForRow:(int)row { 
     561- (NSString *)tableView:(NSTableView *)tableView stringValueForRow:(NSInteger)row { 
    562562        return [[self _accountAtIndex:row] name]; 
    563563} 
  • WiredClient/trunk/WCApplicationController.h

    r4751 r4799  
    3838        NSMutableDictionary                                     *_smileys; 
    3939        NSArray                                                         *_sortedSmileys; 
    40         unsigned int                                          _unread; 
     40        NSUInteger                                                    _unread; 
    4141} 
    4242 
  • WiredClient/trunk/WCApplicationController.m

    r4793 r4799  
    205205        NSString                *equivalent; 
    206206        NSMenuItem              *item; 
    207         int                           i = 1; 
     207        NSUInteger            i = 1; 
    208208 
    209209        while((item = (NSMenuItem *) [_bookmarksMenu itemWithTag:0])) 
     
    218218 
    219219        while((bookmark = [enumerator nextObject])) { 
    220                 equivalent = i < 10 ? [NSSWF:@"%d", i] : @""; 
     220                equivalent = i < 10 ? [NSSWF:@"%lu", i] : @""; 
    221221 
    222222                item = [[NSMenuItem alloc] initWithTitle:[bookmark objectForKey:WCBookmarksName] 
  • WiredClient/trunk/WCCache.h

    r4751 r4799  
    2828 
    2929@interface WCCache : WIObject { 
    30         unsigned int                          _capacity; 
     30        NSUInteger                                    _capacity; 
    3131        NSMutableDictionary                     *_files; 
    3232        NSMutableDictionary                     *_fileIcons; 
     
    3939- (id)initWithCapacity:(NSUInteger)capacity; 
    4040 
    41 - (void)setFiles:(NSArray *)files free:(unsigned long long)free forPath:(NSString *)path; 
     41- (void)setFiles:(NSArray *)files free:(WIFileOffset)free forPath:(NSString *)path; 
    4242- (void)removeFilesForPath:(NSString *)path; 
    43 - (NSArray *)filesForPath:(NSString *)path free:(unsigned long long *)free; 
     43- (NSArray *)filesForPath:(N